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.

TMS320F28388D: Editing the HEX file for specific NVM parameter value modifications

Part Number: TMS320F28388D

Tool/software:

This offline calibration process is what we have not been able to achieve using the TI28388D micro. The hex file for this micro appears to be on 16bit padding. We have attempted to navigate the hex file using the map and elf file information to decode the hex values that correspond with our calibration parameters addresses, but have not been successful. We are wondering if there is some proprietary coding of the TI28388D micro hex file that is required in order for us to achieve this functionality?

  • I question the wisdom of modifying a hex file.  TI has no documentation or examples on how to do it.  I don't know what overarching problem you are trying to solve.  But I suspect there is some other way to do it that does not require modifying a hex file.

    Setting all of that aside ... Here are some details that can help you understand the hex file you have now.

    On most systems, each address corresponds to one 8-bit byte.  On C28x systems, each address corresponds to one 16-bit word.  All the addresses you see in the map file, the elf object file, etc. work this way.  The same is true of the addresses in the hex file.  Except for the formats TI-TXT and binary.  I presume you don't use either of those formats.

    Many details about each format are documented.  Please search the C28x assembly tools manual for the sub-chapter titled Description of the Object Formats  The sub-chapter titled Controlling the ROM Device Address may also be useful.

    Thanks and regards,

    -George