Other Parts Discussed in Thread: UNIFLASH,
Dear all,
I have some questions about DCSM and ECSL security features of the above DSP.
All questions are related to ISP (In System Programming) of TMS320 with non-volatile data programmed both in Flash and User OTP areas.
At this moment I'm doing some tests by using Uniflash and I would like to know how to appreciate the effect of DCSM and ECSL security features on emulator connections.
I can state that after programming a factory shipped device some user OTP have been written.
In particular:
- Z1OTP_EXEONLYRAM
- B0_Z1OTP_EXEONLYSECT
- Z1OTP_GRABRAM
- B0_Z1OTP_GRABSECT
- Z1OTP_CSMPSWD0
- Z1OTP_CSMPSWD1
- Z1OTP_CSMPWD2
- Z1OTP_CSMPWD3
The CSM password is fully different from the TI pre-programmed one and LINKPOINTERs are the default ones so it is located at address 0x78028.
1) Being all its components of CSM password different from the default ones, if I have fully understood the TRM, both DCSM and ECSL are engaged, aren't they?
2) I can see that because after powering off/on the device there is no chance to connect anymore the XDS100v2 to the target unless I use GPIO24 to boot in Wait Boot Mode, isn't it?
In that case, if I try to connect my XDS100v2 to the target by providing the correct password I can connect the emulator and Erase, Blankcheck, Read and Program again the flash contents.
3) Is that because Uniflash performs the ECSL Password Match Flow?
Furthermore, if I read the User OTP area contents all data are 0x0000 (see below) except for the CSMPWD, I suppose because the Z1OTP_PSWDLOCK has been left untouched in my tests.
4) What causes that, DCSM protection?
5) Is there a way to read "protected" values?
Maybe downloading and executing from RAM a small JTAG based custom bootloader?
I ask this questions because I've been asked to re-program a DCSM and ECSL protected device with industrial programming tool by using JTAG interface.
Since I will have to add some code to programminmg algorithm to manage this, I need to fully understood the system....
Best regards,
Federico