SPRUJ53B April 2024 – September 2024 TMS320F28P550SJ , TMS320F28P559SJ-Q1
Unlike earlier C2000™ devices, on this device ALL_1 value (0xFFFF FFFF, 0xFFFF FFFF, 0xFFFF FFFF, 0xFFFF FFFF) for CSM password for a zone does not unsecure the zone. Instead, if for any zone the CSM password values get loaded as ALL_1 from USER OTP, the device is in BLOCKED state. Due to this reason, TI programs a few bits in the second 32-bit password value (ZxOTP_CSMPSWD1) in every zone select block of each zone with value 0. The default value for this password location is chosen in a manner that the respective ECC value remains ALL_1. Due to this, the CSMPSWD1 value programmed by TI for every zone select block is different. See Table 5-3 for ZxOTP_CSMPSWD1 value, programmed by TI on every device. Since ECC is not programmed, the user is able to change this value by flipping the bits that are 1 to 0 but leaving the bits that are already programmed by TI as 0. BOOTROM code writes the default password value into the KEYx register to unlock the device as part of device initialization sequence.
If the password locations of a zone have all 128 bits as zeros (ALL_0), that zone becomes permanently secure (LOCKED state), regardless of the contents of the CSMKEYx registers, which means the zone cannot be unlocked using PMF, see the password match flow described in Section 5.7.2. Therefore, the user can never use ALL_0 as password. A password of ALL_0 prevents debug of secure code or reprogramming the Flash sectors. CSMKEYx registers are user-accessible registers that are used to unsecure the zones.
Zone Select Block | Zone1 USER OTP | Zone2 USER OTP | ||
---|---|---|---|---|
Address | Value | Address | Value | |
JLM_ENABLE (JTAGLOCK) |
0x0007 8006 | 0xFFFF 000F | NA | NA |
PSWDLOCK | 0x0007 8010 | 0xFB7F FFFF | 0x0007 8210 | 0x1F7F FFFF |
CRCLOCK | 0x0007 8012 | 0x7FFF FFFF | 0x0007 8212 | 0x3FFF FFFF |
JTAGPSWDH0 | 0x0007 8014 | 0x4BFF FFFF | NA | NA |
JTAGPSWDH1 | 0x0007 8016 | 0x3FFF FFFF | NA | NA |
Zone_Select_Block0 | 0x0007 8022 (CSMPSWD1) | 0x4D7F FFFF | 0x0007 8222 (CSMPSWD1) | 0x1F7F FFFF |
Zone_Select_Block0 | 0x0007 803E (JTAGPSWDL1) | 0x2BFF FFFF | NA | NA |
Zone_Select_Block1 | 0x0007 8042 (CSMPSWD1) | 0x5F7F FFFF | 0x0007 8242 (CSMPSWD1) | 0xE57F FFFF |
Zone_Select_Block1 | 0x0007 805E (JTAGPSWDL1) | 0x27FF FFFF | NA | NA |
Zone_Select_Block2 | 0x0007 8062 (CSMPSWD1) | 0x1DFF FFFF | 0x0007 8262 (CSMPSWD1) | 0x4FFF FFFF |
Zone_Select_Block2 | 0x0007 807E (JTAGPSWDL1) | 0x7B7F FFFF | NA | NA |
Zone_Select_Block3 | 0x0007 8082 (CSMPSWD1) | 0xAF7F FFFF | 0x0007 8282 (CSMPSWD1) | 0xE37F FFFF |
Zone_Select_Block3 | 0x0007 809E (JTAGPSWDL1) | 0xC9FF FFFF | NA | NA |
Zone_Select_Block4 | 0x0007 80A2 (CSMPSWD1) | 0x1BFF FFFF | 0x0007 82A2 (CSMPSWD1) | 0x57FF FFFF |
Zone_Select_Block4 | 0x0007 80BE (JTAGPSWDL1) | 0x7D7F FFFF | NA | NA |
Zone_Select_Block5 | 0x0007 80C2 (CSMPSWD1) | 0x17FF FFFF | 0x0007 82C2 (CSMPSWD1) | 0x5BFF FFFF |
Zone_Select_Block5 | 0x0007 80DE (JTAGPSWDL1) | 0x6F7F FFFF | NA | NA |
Zone_Select_Block6 | 0x0007 80E2 (CSMPSWD1) | 0xBD7F FFFF | 0x0007 82E2 (CSMPSWD1) | 0xF17F FFFF |
Zone_Select_Block6 | 0x0007 80FE (JTAGPSWDL1) | 0x33FF FFFF | NA | NA |
Zone_Select_Block7 | 0x0007 8102 (CSMPSWD1) | 0x9F7F FFFF | 0x0007 8302 (CSMPSWD1) | 0x3B7F FFFF |
Zone_Select_Block7 | 0x0007 811E (JTAGPSWDL1) | 0x0FFF FFFF | NA | NA |
Zone_Select_Block8 | 0x0007 8122 (CSMPSWD1) | 0x2BFF FFFF | 0x0007 8322 (CSMPSWD1) | 0x8FFF FFFF |
Zone_Select_Block8 | 0x0007 813E (JTAGPSWDL1) | 0xBB7F FFFF | NA | NA |
Zone_Select_Block9 | 0x0007 8142 (CSMPSWD1) | 0x27FF FFFF | 0x0007 8342 (CSMPSWD1) | 0x6BFF FFFF |
Zone_Select_Block9 | 0x0007 815E (JTAGPSWDL1) | 0x5F7F FFFF | NA | NA |
Zone_Select_Block10 | 0x0007 8162 (CSMPSWD1) | 0x7B7F FFFF | 0x0007 8362 (CSMPSWD1) | 0x377F FFFF |
Zone_Select_Block10 | 0x0007 817E (JTAGPSWDL1) | 0x1DFF FFFF | NA | NA |
Zone_Select_Block11 | 0x0007 8182 (CSMPSWD1) | 0xC9FF FFFF | 0x0007 8382 (CSMPSWD1) | 0x9BFF FFFF |
Zone_Select_Block11 | 0x0007 819E (JTAGPSWDL1) | 0xAF7F FFFF | NA | NA |
Zone_Select_Block12 | 0x0007 81A2 (CSMPSWD1) | 0x7D7F FFFF | 0x0007 83A2 (CSMPSWD1) | 0x2F7F FFFF |
Zone_Select_Block12 | 0x0007 81BE (JTAGPSWDL1) | 0x1BFF FFFF | NA | NA |
Zone_Select_Block13 | 0x0007 81C2 (CSMPSWD1) | 0x6F7F FFFF | 0x0007 83C2 (CSMPSWD1) | 0xCB7F FFFF |
Zone_Select_Block13 | 0x0007 81DE (JTAGPSWDL1) | 0x17FF FFFF | NA | NA |
Zone_Select_Block14 | 0x0007 81E2 (CSMPSWD1) | 0x33FF FFFF | 0x0007 83E2 (CSMPSWD1) | 0x97FF FFFF |
Zone_Select_Block14 | 0x0007 81FE (JTAGPSWDL1) | 0xBD7F FFFF |