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.

TMS320F280049: How enable OTP PASSWORD secure feature using DCSM

Part Number: TMS320F280049

Hi Team,

  Last post for enable the FLASH Bank1 secure with DCSM worked with related .asm & .cmd file modification, but failed to use same procedure to do secure the OTP PASSWORD zone;  detailed description shown as attached fileDCSM-PSWDLOCK secure configuration issue.docx

  Last post link is shown as below:

  e2e.ti.com/.../768778 DCSM

  Could you kindly support on below item,

 

How to enable PSWDLOCK in OTP with DCSM feature which disabled unexpected OTP read operation from JTAG? Expect for your reply, thanks.

 

Best Regards

Benjamin

  • Benjamin,

    You need to program 3:0 field of Zx_PSWDLOCK location in OTP with value other than 0xF to lock the password. This feature is provided for user to have access to password even when device is secure so that incase they accidently program the password, they can check the password value and unlock the zone. Once Zx_PSWDLOCK location in OTP is programmed, passwords are not visible anymore.

    Following is snapshot from device TRM -

    Regards,

    Vivek Singh

  • Vivek,
    As described at attached, has changed the Z1-PSWDLOCK bits[0~3] of (1110), which followed the TRM description, but still failed, and also changed the .cmd file, which still failed.
    .asm file modification show as below:
    .sect "b0_dcsm_otp_z1_pswdlock"
    .long 0xFFFFFFFE ;Z1OTP_PSWDLOCK(also tried to other value, but still failed, as 0xFFFF1111);
    .long 0xFFFFFFFF ;Reserved
    .cmd file modification shown as below:
    b0_dcsm_otp_z1_pswdlock : > B0_DCSM_OTP_Z1_PSWDLOCK PAGE = 0

    Could you kindly effective advise for this issue? thanks.
  • Benjamin,

    Please program 0xFB7FFFFE & 0x7FFFFFFF for these location (like below). I see that there is any issue with example. I'll file a ticket to SW team to fix this issue.

    .sect "b0_dcsm_otp_z1_pswdlock"
    .long 0xFB7FFFFE ;Z1OTP_PSWDLOCK(also tried to other value, but still failed, as 0xFFFF1111);
    .long 0x7FFFFFFF ;Reserved

    Hope this fixes the issue.

    Regards,

    Vivek Singh
  • Hi Vivek,

      Verified this solution it works.  Noticed with lots of thanks.

    Best Regards

    Benjamin