This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
My customer is using UniFlash 5.3.1 to program the flash. And they met an issue after loading the image. When they clicked "Verify Image", it turned out failure as below. The issue only occurred when they configured the DCSM. Could you please help check the reason? Thank you.
Hi Aki,
Can you provide the setting they have programmed for DCSM?
Regards,
Vivek Singh
Vivek,
You mean the code for DCSM? Besides, they tried it with CCS tool, and it worked normally.
Aki,
If they have used the old example then that may be issue.
Please see below post where we are talking about similar issue.
TMS320F280049C: Question about the DCSM module - C2000 microcontrollers forum - C2000™︎ microcontrollers...
Regards,
Vivek Singh
Hi Vivek ,
It seems that their codes are fine, as below. One more information for the issue is that, it only occurred when clicking "Verify Image" after the batch operation of "erase>>load>> verify" was completely successfully.
.sect "b0_dcsm_otp_z1_pswdlock"
.long 0xFB7FFFFE ;Z1OTP_PSWDLOCK 0xFFFFFFFF
.long 0x7FFFFFFF ;Reserved
.sect "b0_dcsm_otp_z1_crclock"
.long 0x4BFFFFFF ;Z1OTP_CRCLOCK
.long 0x3FFFFFFF ;Reserved
Hi,
Did you check if they are getting the flash ECC error as mentioned in other post ? Also I am assuming they are using COFF and not EABI format. Please confirm.
Regards,
Vivek Singh
Hi Vivek,
I don't think they got the flash ECC error, as shown in the posted error image at first. And I have confirmed that they are using COFF format. Could you please help the relationship between the issue and COFF format? Thank you.
Aki,
Have you checked the Flash ECC error register as mentioned in other post to make sure there is no error ? I can not make it out from error image posted. Error will never say it's ECC error. Errors are always generic. Also please check NMIFLG register to see if there is any other error. We had some issue with EABI format but if using COFF file then it should be ok.
Other basic thing to remember is, during verify, if DCSM is enable and correct passwords are not provided to unlock the device (or zone) then debugger can not read the secure flash sectors and will give this error. So please check if that is the case.
Regards,
Vivek Singh
Hi Aki,
Is this issue resolved? If yes, please mark it resolved. If not, please let us know what you see after checking Flash ECC error registers.
Regards,
Vivek Singh
Vivek,
Customer have not checked the Flash ECC error register, and I will keep you updated if any progress. I will close the post for now.