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.

TMS570LS1114: Binary file generation

Part Number: TMS570LS1114

While building my project, we generate .elf.bin file which will be used for flashing into the target, the output file when opened in a hexview tool it shows that the flash memory is presented only as a single block, however we had 13 block(Sector), so the question is how to reformate the .elf.bin file to show all flash blocks

  • Hi Karim,

    The .bin file will show only the memory that was used. I mean the .bin file will not contain any data for unused memory in the code.

    If your code uses only one sector of memory, then .bin file will show the data for that one sector only.

    However, you can do one thing to show data for all the sectors in bank with "fill".

    Actually, what the fill will do is that all the unused memories in the corresponding region will be filled with "0xffffffff".

    Example:

    .bin file without fill

    .bin file with fill

    As you can see in the second case entire bank is showing and all the unused memory got filled with 0xFF. So if you want to view all the memory in the bank then you can do this method but remember this will increase the .bin file size. So, it might affect the programming time as well.

    --
    Thanks & regards,
    Jagadish.