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.

.out to .hex conversion bytes skipped

Hi,

 i am converting the .out to .hex using the hex470 utility.

hex470.exe arm.out -x -romwidth 32 -o=arm.hex

The following warning is displayed and the 2 padded bytes are not written in the hex file.

What options should i use to include the fill0 section in the output hex file. i have tried -linkerfill and -fill=0, they dont help.

hex file is dumped correctly if the dump format is TI_TXT.

===================================================

hex470 output

==================================================

>> warning: duplicate section name '$fill000' (ignored)
Translating FL310_Cycling.out to Extended Tektronix format...
   "FL310_Cycling.out"   ==> .intvecs
   "FL310_Cycling.out"   ==> .pbist_hand
   "FL310_Cycling.out"   ==> .boot
   "FL310_Cycling.out"   ==> .otp
   "FL310_Cycling.out"   ==> .handlers
   "FL310_Cycling.out"   ==> .text
>> warning: section '.text' was padded by 2 bytes to a size of 15472 to
            satisfy the specified memory width of 4
   "FL310_Cycling.out"   ==> $fill000
>> warning: section '$fill000' at 02500765ah overlaps .text ($fill000
            incomplete or skipped)
   "FL310_Cycling.out"   ==> .const
   "FL310_Cycling.out"   ==> .data