I have the following difficulty activating the CSM-password in a F28069 Control Stick:
Whenever, the CSM is activated (in my understanding the following suffices to activate the CSM: Set CSM_RSVD and CSM_PWL locations in flash sector A:
- "CSM_RSVD : origin = 0x3F7F80, length = 0x000076" are set to 0x0000,0x0000;
- "CSM_PWL_P0 : origin = 0x3F7FF8, length = 0x000008" are set to the 128-bit password),
the following effects show up:
- The software stored in Sector A is not executed anymore
- It is extremely difficult to get a JTAG connection (e.g. for erasing sector A and thus removing the CSM protection)
This behavior shows up by activating the CSM protection in two different ways:
- Program flash sector A with CSM_RSVD= 0x0000, 0x0000, and
CSM_PWL_P0 = pwd0, ....
- by linking F2806x_CSMPasswords.asm with a non-all-FFFF key
- Program flash sector A without CSM (CSM_RSVD=0xffff,0xffff,... and CSM_PWL_P0=
0xffff,0xffff,...) and
- Program the CSM password later interactively with CCSV4
It is interesting that the software works fine when 2.) is executed but after doing 2a) the device does not execute the software anymore. Even when CSM_RSVD=0xffff,0xffff and just the password CSM_PWL_P0 is set, the code (which is also in sector A) is not executed anymore.
I verified in all cases that the start instruction at "BEGIN : origin = 0x3F7FF6, length = 0x000002" is "LB _c_int00".
Any ideas?
Kind regards,
Johannes Wolkerstorfer, xFace.at, Austria.