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.

TMS320F28386D: Unable to set full DCSM security configuration using Uniflash tool

Part Number: TMS320F28386D
Other Parts Discussed in Thread: UNIFLASH, SYSCONFIG

Tool/software:

My attempts to secure my device by configuring the DCSM using the Uniflash tool are failing and rendering my device inoperable.

The configuration basically consists in setting

  • Final zone select block
    • Zx-LINKPOINTER = 0x0 (final security configuration)
  • C1 flash sectors 0, 1, 2, 3 and 4 to be in zone 1. I'm in boot from flash mode (default boot at 0x80000) and this is where the system boots from 
  • CM flash sectors 0, 1, 2, 3 and 4 to be in zone 1. CM also boots from flash in these sectors (0x200000) after C1 releases it.
  • All other flash sectors unsecured
  • All other memories unsecured
  • Disable unlocking of JTAG, CSM1, CMS2
    • Z1JTAGPSWDH and Z1JTAGPSWDL = 0x0 (disable JTAG password)
    • JTAGLOCK (Z1OTP_JLM_ENABLE w) = 0xFFFF0000 (enable JTAG Lock module)
    • Disable unlocking of CSM1 (CSM1 password is all zeros)
    • Disable unlocking of CSM2 (CMS2 password is all zeros)
    • Z1-PSWDLOCK = 0xFB7FFFF0
    • Z2-PSWDLOCK = 0x1F7FFFF0

To apply these settings, I tried

  • setting the configuration by hitting "Program Zone 2" followed by "Program Zone 1" but that didn't work. "Program Zone 2" failed midsequence leaving my device in a unJTAGable state. 
  • creating a Standalone CLI with my settings and applying that to a fresh device. The device was flashed with the images specified but none of the security settings were applied.
  • creating a Standalone CLI with my settings only and applying that to a fresh device but nothing happened and I got a message saying that there was nothing to do.x

Am I using the correct tools to do what I'm trying to do?

Thanks,

Benjamin