Part Number: TMS320F28377S
Tool/software: Code Composer Studio
I want to lock down some code on this processor. I followed the example of Blinky-DCSM and added an .asm file that locked my processor. This part worked. If I do not have the correct password in CCS7 I cannot see the code. If I add the correct password, I can step and see the code. However, now I can only run the code from CCS7 -- it will not boot and run on restart as it used to.
My asm file contains the following code without my password. (I intend to lock down FLASHD and RAMLS0 because my code starts in FLASHD and gets copies to RAMLS0 on boot. What am I doing wrong that stopped it from booting without CCS7 once secured? Regards
.sect "dcsm_otp_z1_linkpointer"
.long 0x1FFFFFFF ;Z1-LINKPOINTER1
.long 0xFFFFFFFF ;Reserved
.long 0x1FFFFFFF ;Z1-LINKPOINTER2
.long 0xFFFFFFFF ;Reserved
.long 0x1FFFFFFF ;Z1-LINKPOINTER3
.long 0xFFFFFFFF ;Reserved
.sect "dcsm_otp_z1_pswdlock"
.long 0x00000000 ;Z1-PSWDLOCK
.long 0xFFFFFFFF ;Reserved
.sect "dcsm_otp_z1_crclock"
.long 0xFFFFFFFF ;Z1-CRCLOCK
.long 0xFFFFFFFF ;Reserved
.sect "dcsm_otp_z1_bootctrl"
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z1-BOOTCTRL
.sect "dcsm_zsel_z1"
.long 0xFFFFFFFF ;Z1-EXEONLYRAM
.long 0xFFFFFFFF ;Z1-EXEONLYSECT
.long 0xFFFFFFFD ;Z1-GRABRAM
.long 0xFFFFFFBF ;Z1-GRABSECT