This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: DCSM - Unable to Program Flash when only Emulation Code Security Logic (ESL) locked.

Part Number: TMS320F28379D

I am unable to program the flash when ESL is locked by programming a password at Z1_CSMPSWD0 & Z1-CSMPSWD1.  The remaining (CSMPSWD2 & CSMPSWD3) are left at 0xFFFFFFFF.

In section (2.13.1.6) of TRM (FLASH and OTP Erase/Program):

"Before programming any secure Flash sector, the user must either unlock the zone to which that particular sector belongs, using PMF or execute the Flash programming code from secure memory which belongs to the
same zone. The same is the case for erasing any secure Flash sector."

The way I interpret the above, there are two use cases:

1. Unlock the CSM by providing the correct password for Z1_CSMPSWD0 & Z1-CSMPSWD1

OR!!

2. if the secure memory is in the same zone, then NO need to unlock and programming of the flash is allowed as long as the flash routines are executing from the same zone.

I observe:

I cannot program the flash unless I unlock the CSM using the passwords for Z1_CSMPSWD0 & Z1-CSMPSWD1.  My flash programming routines are executing from LSRAM.

Am I missing something?