Hi Team C2000,
I have some questions WRT security and the CSM on the F2837xD.
This device (off the reel) appears to be totally open/unsecure.. but according the TRM (spruhm8h)..
"3.13.2 CSM Impact on Other On-Chip Resources On this device, M0/M1 and GSx memories are not secure. To avoid any potential hacking when the device is in the default state (post reset), accesses (all types) to all memories (secure as well as non-secure, except BOOT-ROM and OTP ) are disabled until proper security initialization is done."
This leads me to believe that the device (off the reel) should be secure when powered up until the security init procedure (below) is performed..
The following steps are required after reset (any type of reset) to initialize the security on each CPU subsystem. • Dummy Read to address location of SECDC (0x703F0, TI-reserved register) in TI OTP • Dummy Read to address location of Z1_LINKPOINTER1 in Z1 OTP • Dummy Read to address location of Z1_LINKPOINTER2 in Z1 OTP • Dummy Read to address location of Z1_LINKPOINTER3 in Z1 OTP • Dummy Read to address location of Z1_PSWDLOCK in Z1 OTP • Dummy Read to address location of Z1_CRCLOCK in Z1 OTP • Dummy Read to address location 0x78018 in Z1 OTP • Dummy Read to address location of Z1_BOOTCTRL in Z1 OTP • Read to memory map register of Z1_LINKPOINTER in DCSM module to calculate the address of zone select block for Z1 • Dummy read to address location of Z1_EXEONLYRAM in Z1 OTP • Dummy read to address location of Z1_EXEONLYSECT in Z1 OTP • Dummy read to address location of Z1_GRABRAM in Z1 OTP • Dummy read to address location of Z1_GRABSECT in Z1 OTP • Dummy Read to address location of Z2_LINKPOINTER1 in Z2 OTP • Dummy Read to address location of Z2_LINKPOINTER2 in Z2 OTP • Dummy Read to address location of Z2_LINKPOINTER3 in Z2 OTP • Dummy Read to address location of Z2_PSWDLOCK in Z2 OTP • Dummy Read to address location of Z2_CRCLOCK in Z2 OTP • Dummy Read to address location 0x78218 in Z2 OTP • Dummy Read to address location of Z2_BOOTCTRL in Z2 OTP • Read to memory map register of Z2_LINKPOINTER in DCSM module to calculate the address of zone select block for Z2 • Dummy read to address location of Z2_EXEONLYRAM in Z2 OTP • Dummy read to address location of Z2_EXEONLYSECT in Z2 OTP • Dummy read to address location of Z2_GRABRAM in Z2 OTP • Dummy read to address location of Z2_GRABSECT in Z2 OTP
Are devices off the reel secure or unsecure?
If these dummy reads are done in the wrong order, or if any are missed, does this mean we’d be locked out of the chip permanently?
Is there a sample application/code block that demonstrates the steps outlined above?
Thanks, Merril