Part Number: TMS320F280025C
Hi team,
I am trying to generate a .bin image file of a program which can be serially downloaded by a bootloader and programmed into flash memory using Flash API. For this, it is crucial that the image file must contain only the data that needs to be written in the memory sectors. I am able to generate a .bin file of my application using the Hex Utility tool, but the size of .bin file reaches 28KB, whereas the application only uses 13KB in the ROM. I am assuming this is happening because the generated .bin file also contains debug and other information which is not required. I was able to search for a few methods to deal with this problem...
1) Using the -image option in the hex utility tool, but it requires a ROM directive to be included in its linker command file.
2) Using Strip Utility tool, strip2000, to remove symbol table and debug information from the object file directly.
Please suggest how do I proceed with this issue or if there is any other method to get the desired output.
Thanks,
Mahesh