Hi,
Processor : TMS570LS20216 (Cortex R4), Code Composer Studio : 4.2.0.10018, TMS470 C/C++ CODE GENERATION TOOLS 4.6.3
I am working on a tool which appends the CRC32 value at known location for the output file generated out of CCS. I am facing some issue with the holes in the memory while calculating CRC32.
I am generating output hex file from the CCS. When i analyze hex file, i found that there are some holes in between. See the below sanpshot of hex file for example. No values are mentioned for address range 0x1E0C to 0x1E10 (i.e for 8 bytes)
:101DFC0000001A00000000000000000000000000BD
:201E100001010110FF0120000110FF0000008B0000009C0000009D000000290000008300FF
[ options used for generating hex file : hex470.exe -o "output.hex" -romwidth 8 -memwidth 8 -i "input.out"]
I found an Run time Environment option in the linker to fill the holes with known values i.e --fill_value = 0xFFFFFFFF (Reference : Table 2-25. Run-Time Environment Options Summary of SPNU151G). When i use this option, i expect that address range 0x1E0C to 0x1E10 should fill with 0xFFFFFFFF. But i dont see the value, instead i observe all zeros (observed in debugging mode).As per my understanding hex file should also list these values. i.e the generated hex file should be like below for example.
:101DFC0000001A00000000000000000000000000FFFFFFFFC1
Is that my understanding correct ? Suggestions are welcome.