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: Generating standard INTEL HEX with HEX2000

Part Number: TMS320F280049


Hi team,

I am trying to generate a standard intel hex file with HEX2000.

However, as you can see in the file here, it seems not a standard intel hex, since the first line is not indicating my code start address.

Since I am programming to flash, the code should start from flash:

Here is the command I am using:

"${CG_TOOL_ROOT}\bin\hex2000" "${PROJECT_LOC}/OBC_28004x_Pjt.hcf" &

"${CG_TOOL_ROOT}\bin\BinGen28004x" "f280049" "${PROJECT_LOC}\Debug\OBC_28004x_Pjt.hex"  "${PROJECT_LOC}\Debug\OBC_28004x_Pjt.bin"

What is the right way to generate this file?

Regards,

Brian

  • I am not familiar with the utility BinGen28004x.  Where does it come from?  What is the format of the file it expects?

    Regarding the input file to hex2000 named OBC_28004x_Pjt.hcf ... I presume that is a text command file that, among things, produces the output file OBC_28004x_Pjt.hex.  Please show the contents of this file.

    Thanks and regards,

    -George