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.
Hello everyone,
I am using C2000-GANG Programmer to program for 28M35H52C dual-core microcontroller. Considering the security of passwords when device is secured, the PasswordLock register of which address is 0x680800 in OTP should be set to make its passwords invisible to JTAG debug. However, the optional OTP programming address of 28M35H52C must be in range from 0x681000 to 0x68101F in the Memory Option of C2000-GANG software . Therefore, when I select the .hex code file with PasswordLock register at 0x680800 , an error would be reported as ‘Code from file is out of range in selected MCU’. How can I solve this problem?
Thank you very much!
Hi Lu,
This is a known bug in C2000-GANG.
Elprotronic fixed this issue recently. The fixed version is not released yet.
It will be released in about a week from now.
Thanks and regards,
Vamsi
HI Vamsi,
Thanks for your help.
I have received a test version of C2000-GANG, but the issue seemed not fixed completely. Now the OTP address range in “Memory Option” can indeed be selected to contain 0x680800-0x680804, but after clicking “Open code file” and selecting the file with this address, it is still alarmed that 0x680800-0x680804 is out of range. And these addresses can not be programmed correctly.
During testing, another issue was found and need to be fixed. When using C2000-GANG to programming M3 core of 28M35, it is designed that the CSM passwords will be written automatically if the "enable" checkbox next to the "Write CSM" button is selected. Although ZONE1's CSM passwords are written correctly, it seems that some unknown ZONE2’s CSM passwords are written unexpectedly and Sector-A is secured, even though ZONE2’s CSM passwords are not contained in the code file. On the contrary, if not selecting the "enable" checkbox, both CSM passwords of ZONE1 and ZONE2 can be written correctly.
This issue is not existing for programming C28 core of 28M35, it means that C28’s CSM passwords can be written automatically and correctly according to the "enable" checkbox.
Thanks and regards,
Lu Jun
Hi Lu,
Thank you for the feedback.
Elprotronic is working to fix them and will send you an update.
Thanks and regards,
Vamsi
Hi Vamsi,
Today I have received the second test version of C2000-GANG. After clicking “Open code file” and selecting the file with OTP address at 0x680800-0x680803, a warning is reported as below. Maybe I still need some help from experts.
Thanks and regards,
Lu Jun
Hi Lu,
Are you trying to reprogram this field in OTP?
Thanks and regards,
Vamsi
Hi Vamsi,
I didn't try to reprogram this field in OTP. It was never programmed. And the warning is reported just when selecting the file and before programming.
Thank you.
Thanks and regards,
Lu
Lu,
Thank you for the clarification.
That helps to understand the context well.
Regards,
Vamsi
Lu,
Elprotronic lost few units in validating the program of lock fields in OTPSECLOCK.
We ordered parts for them today.
Should be able to get an update by the end of this week.
Thanks and regards,
Vamsi
Lu,
Elprotronic fixed the issue. Did you receive the updated package?
Thanks and regards,
Vamsi
Hi Vamsi,
Thank you for your help.
I have received the updated package. The OTPSECLOCK issue was fixed, but some other CSM issues still need to be fixed. I have already feedback these problems to Elprotronic by my technical supporter.
Thanks and regards,
Lu
Lu,
Yes, Elprotronic will fix those minor issues. Thank you for the feedback.
I am closing this post.
Thanks and regards,
Vamsi