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.

TMS320F280049: How to generate the Hex file with consecutiveness

Part Number: TMS320F280049


Hi

I'm concerned about the hex file generation issue.

For example.

Below is the hex file's first 3 lines.

:020000040008F2
:040000000048351669
:20000400B2BDAABDA2BDE20304BDE20305BDE20306BDE20307BDFE12761F03248D40C9C0E7

I know that the Hex file is " ALIGN(4)", so the third line begins with 0x80004,not 0x80002 .

The data in 0x80003 and 0x80004 is neglected,because the default data is 0x0FFFF.

Is it possible for the HEX file to generate the default value together with 0x80003 and 0x80004.

I'd like to get hex file with a countinouse address file to be used in the bootloader application. .

Regards

Arrow

  • Hi Arrow,

    If you want to get the full image, you can use the fill option to assign a value (like 0xFFFF) for all the holes.

    Take a look at Table 12-1. Basic Hex Conversion Utility Options in https://www.ti.com/lit/pdf/spru513. It has the fill option.

    You can use the fill option as shown below:

    MEMORY
    {

    .

    .

    /* Flash sectors */
    FLASH0 : origin = 0x080002, length = 0x001FFE, fill = 0xFFFF /* on-chip Flash */
    FLASH1 : origin = 0x082000, length = 0x002000, fill = 0xFFFF /* on-chip Flash */

    .

    .

    }

    Below snapshots are taken from the TMS320C28x Assembly Language Tools guide https://www.ti.com/lit/pdf/spru513 

    Thanks and regards,

    Vamsi