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.

TMS570LS3137: HEX and OUT file memory

Part Number: TMS570LS3137
Other Parts Discussed in Thread: UNIFLASH

Hi,

I am actually generating HEX and OUT file. The OUT file size is around 4MB and HEX file size is around 7MB but the microcontroller program flash is 3MB. i am still able to flash the HEX file using UNIFLASH. I am confused whether the HEX file is fully flashed or not because when I open HEX file I can see 7M locations. How can there be such a difference between OUT and HEX file. Can anyone please answer my query.

Thanks

Vivekananda 

  • Hello,
    Both *.out and *.hex fiels contains not only code but a lot of extra information. Out file contains debugging information as well.
    HEX file is ASCII file and contains addresses and some extra symbols (like space). It is normal that *.out and *.hex files are significantly larger than memory footprint.
    In memory you are loading only binary representation of code.

    Best regards,
    Miro