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,
We try to use the CCS hex output function to verify the program flashed into nonvolatile memory matches the code we created.
I am using the TI-TXT hex, and it shows the memory content starting address @7b0000. The program is stored from the address @3F4000. I am not sure what was wrong. I notice there are several HEX output formats, and I am wondering what is the right way to implement this.
The C28x CPU counts addresses one 16-bit word at a time, and not one 8-bit byte at at time like most CPU's. Even so, the addresses in TI-TXT format are 8-bit byte based addresses. So, to convert the address you see in the TI-TXT format file to the address used on the C28x CPU, divide by 2.
I am wondering what is the right way to implement this.
It may help to understand the details of the hex output file formats. Maybe another format works better for you. To see those details, please search the C28x assembly tools manual for the sub-chapter titled Description of the Object Formats.
Thanks and regards,
-George