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.

CCS/TMS320F280049: Stuck in boot rom with dcsm enabled and code booting from flash.

Part Number: TMS320F280049

Tool/software: Code Composer Studio

Hello, 
I have setup the DCSM module with all LSx RAM and all Flash Banks in Zone 1. After a reflash and device powerdown/powerup, my device seems to be stuck in the boot rom memory section. My software stack is in non-secure GS1, GS2. Boot pins and boot settings are default. 

Regards, 

Felipe 

  • Hi,

    How did you program the security setting on the device ? Via .out or flash plug-in ? Also what all field you have programmed ?

    Regards,

    Vivek Singh

  • Vivek, 

    I programmed the device using the flash plug-in on CCS Version: 8.3.0.00009 

    I programmed security settings  for Zone 1, Bank 0 in the below register/field locations in the given order

    First:

    B0-Z1OTP-LINKPOINTER1 = 0x1FFFFFFE

    B0-Z1OTP-LINKPOINTER2 = 0x1FFFFFFE

    B0-Z1OTP-LINKPOINTER3 = 0x1FFFFFFE

    Second:(I'm hiding my password with "X")

    Z1OTP_CSMPSWD0 = 0xXXXXXXXX

    Z1OTP_CSMPSWD1 = 0xDB7XXXXX

    Z1OTP_CSMPSWD2 = 0xXXXXXXXX

    Z1OTP_CSMPSWD3 = 0xXXXXXXXX

    Third: 

    B0 -Z1OTP-GRAMSECT = 0x55555555

    Z1OTP-GRAMRAM = 0xFFFF5555

    Fourth:

    Z1OTP-PSWDLOCK = 0xFB7FFFF0

    Z1OTP-CRCLOCK = 0x4BFFFFF0

  • Having offline discussion.

    Regards,

    Vivek Singh

  • Vivek,

     

    Thank you for the help. Below is a summary of the solution to the problem.

    It appears using the On-Chip Flash CCS tool in CCS Version: 8.3.0.00009  to program the  PSWDLOCK and CRCLOCK registers/OTP locations was causing the problem. On a fresh board, if I only performed steps 1 -3 in my first post, I did not have a boot issue. Since I did not yet want to upgrade to the improved CCS Verstion, my final work around involved using a .cmd and .asm file to program my DCSM OTP bits (steps 1-4 in my first post).

     

    Regards, 

    Felipe