Tool/software: Code Composer Studio
Hi expert,
I used flash API function through Bootrom SCI to program TMS320F28377D flash and dcsm otp. Now, I can program CPU1 flash and CPU2 flash successfully.
However, when I tested dcsm otp programming, only CPU1 zone1 successfully.
Detail:
(1) CPU1 dcsm otp zone1
Z1-LINKPOINTER 3 value is 0xFFFFFFF1 ( writed by mistake during testing)
Z1-PSWDLOCK value is 0xFFFFFFF1
Z1-BOOTCTRL value is 0x0B5A
ZoneSelectBlock1( address 0x78020)
Zx-GRABRAM value is 0xFFFF5555
Zx-GRABSECT value is 0xF5555555
Zx-CSMPSWD[0,1,2,3] value is 128-bit password
Other words are 0xFFFF
Programming these dcsm otp are right, read back ok.
(2) CPU1 dcsm otp zone2 , CPU2 dcsm otp zone1, CPU2 dcsm otp zone2
On the three zones, I tried to change PSWDLOCK and GRABRAM values, but read back values were all 0xFFFFFFFF.
I used standard API function, and Fapi_Status is return success
Fapi_issueProgrammingCommand(DstAddr,SrcAddr,8,0,0,Fapi_AutoEccGeneration);
while(Fapi_checkFsmForReady() == Fapi_Status_FsmBusy);
oReturnCheck = Fapi_Status_Success