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.
To protect a device against code cloning in the code I am adopting security features of C2000 TMS320F28377D. The created function was working well till now. At the beginning that function reads data starting from 0x0703C0 address to 0x0703CD, after calculating a checksum based on read data and comparing it to the 0x0703CE address where the actual checksum is stored. Checksum calculation is based on Fletcher's algorithm - https://en.wikipedia.org/wiki/Fletcher%27s_checksum. The problem is that for one DSP I found that they are not matching, Where could be a problem if the same function is working well for tens DSP but not for all? Can that memory space been changed from code?
Solved. The solution has been found here e2e.ti.com/.../tms320f28377d-fletcher-checksum-with-uid. Problem related to - For the F2837xD/2837xS/2807x family, the checksum for UID was initially done in little endian mode and has switched to using big endian at a later time.