BG96 - Memory & Set Phone Functionality failure

Hello,
I have a test board with BG96 module on which I ran my program successfully. After some time, I made my own hardware and flashed the same firmware on the new module with QFlash.
During the test in my hardware, I get +CME ERROR: 23 (for a test command AT+CGSN) and +CME ERROR: 0 with AT+CFUN=1.
I know that +CME ERROR: 0 is related to Phone failure and +CME ERROR: 23 is related to Memory failure. But I don’t know how this error occurred and how should I fix it?

This is the terminal content:

RDY

APP RDY

ATI

Quectel

BG96

Revision: BG96MAR02A07M1G

OK

AT+QGMR

BG96MAR02A07M1G_01.019.01.019

OK

AT+CPIN?

+CPIN: READY

OK

AT+QCCID

+QCCID: 8949227002805216770F

OK

AT+CGSN

+CME ERROR: 23

AT+CFUN=1

+CME ERROR: 0

Thanks for any help

Hi @Saleh
Is possible to share you HD to us email for double check?