Other Parts Discussed in Thread: MOTORWARE
Tool/software: Code Composer Studio
Hi,
I'm trying to secure the TMS320F28054F. Here are my issues:
1. When I connect the CCS with my device(with no program in), I check the memory browser to see the Z1 OTP zone,0x3D7A00~0X3D7BFF, which is full of 0s.
while for Z2, 0x3D7800~0X3D79FF, which is all 0xFFFF.
Is Zone 1 normal? I bought the IC from MOUSER.
2. I can program with CCS without the F2805x_DCSM_Z1_ZoneSelectBlock._asm(with all 0xFFFFFFFF)
But when I include this file to the project. I cannot program with CCS anymore.
3. If I don't include this ASM file, I connect to CCS and program my project. The DCSM register contents is in the attachment.
Flash,L1,L2,L3 belong to Z1, L0 belongs to Z2. However L0 is not used. Why the resources are allocated like this?
4. I just want wo secure Z1. I tried to secure Z2, everything is OK,but if I allocate resources to Z2, I cannot run the instaspin program in Z2(I'm not sure why).
Best Regards
Arrow
Below is the ASM file and the picture of DCSM register.
.sect "dcsm_otp_z1" .long 0xFFFFFFFF ;Z1-LINKPOINTER .long 0xFFFFFFFF ;OTPSECLOCK .long 0xFFFFFFFF ;Boot Mode .sect "dcsm_zsel_z1" .long 0xFFFFFFFF ;Z1-EXEONLYRAM // excute-only protection for flash .long 0xFFFFFFFF ;Z1-EXEONLYSECT // only can be read .long 0xFFFFFFFF ;Z1-GRABRAM // set ram protection .long 0xFFFFFFFF ;Z1-GRABSECT // set the protected ares of flash belongs .long 0xFFFFFFFF ;Z1-CSMPSWD0 (LSW of 128-bit password) .long 0xFFFFFFFF ;Z1-CSMPSWD1 .long 0xFFFFFFFF ;Z1-CSMPSWD2 .long 0xFFFFFFFF ;Z1-CSMPSWD3 (MSW of 128-bit password)