Part Number: TMS320F28377D
Hello,
I'm trying to understand how DCSM works in TMS320F28377D. I used a new device and checked that all adreces from 0x78000 are at 0xFFFF values. Then I load a program with this setup (introducing password different than default ones):


The same for all flash sectors, secured by zone 1. So the corresponding .asm generated file is:
;----------------------------------------------------------------------
; Zone 1
;----------------------------------------------------------------------
.sect "dcsm_otp_z1_linkpointer"
.retain
.long 0x1FFFFFFF
.long 0xFFFFFFFF ;Reserved
.long 0x1FFFFFFF
.long 0xFFFFFFFF ;Reserved
.long 0x1FFFFFFF
.long 0xFFFFFFFF ;Reserved
.sect "dcsm_otp_z1_pswdlock"
.retain
.long 0xFFFFFFFF
.long 0xFFFFFFFF ;Reserved
.sect "dcsm_otp_z1_crclock"
.retain
.long 0xFFFFFFFF
.long 0xFFFFFFFF ;Reserved
;; .sect "dcsm_otp_z1_bootctrl"
;; .retain
;; .long 0xFFFFFFFF ;Reserved
;; .long 0x49550B5A
.sect "dcsm_zsel_z1"
.retain
.long 0x000000FF ;Z1-EXEONLYRAM
.long 0x00003FFF ;Z1-EXEONLYSECT
.long 0x10005555 ;Z1-GRABRAM
.long 0x05555555 ;Z1-GRABSECT
.long 0x--- (PASSWORDS)
.long 0x-----
.long 0x----
.long 0x----
I checked that doing this, then all these sectors of memory are secured, I can connect through JTAG but I can't read memory. My LINKPOINTER is 0x20. That's ok.
The problem is that now I wanted to lock passwords in order to make them not visible through any access. I wanted to do it by changing :

But when I try to load the program with this change in PSWDLOCK I have this error:
C28xx_CPU1: If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code. Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed.
C28xx_CPU1: Error during Flash programming (Flash algorithm returned error code). FMSTAT (STATCMD on some devices) value = 48. Operation Cancelled (0).
C28xx_CPU1: File Loader: Memory write failed: Unknown error
C28xx_CPU1: GEL: File: C:\Users\mserrataco\Documents\01 SOFTWARE\02_SW_BootloaderCAN_DualCore\cpu1\Debug_CPU1\bootloader_cpu_cpu1.out: Load failed.
In Flash Settings I set the actual LINKPOINTER at 0x20 and the custom passwords:

So these are my questions:
1. As enabling PSWDLOCK changes from 1 to 0 last four bits, I thought it was always programmable. Is that true?
2. If not, is it possible to make something to this device to secure this password or it is impossible from now?
Thank you