2020-03-30 01:20 AM
I want to specify the HEX file for data into the STM32 and the elf file for symbols used in the debugger. The User interfec has changed though and I seem to only be able to get one or the other (i.e. just the hex or just the elf).
This is a necessary operation as safety critical software need to be able to verify PROM contents
using a CRC32 generated off the target processor. Here is the modified 1.3.0 gui entry for the debugger
Solved! Go to Solution.
2020-04-01 02:43 AM
I got the compiler/linker to generate a hex file and now ignore the binary it produces.
Using
srec_cat mss.hex -intel -fill 0xFF 0x08000000 $CRC_ADDR -o mss.hex -intel -Output_Block_Size 16
It now pads this correctly. The crc32 I get from srec_cat now agrees with the ones generated on the STM32G431.
Thankyou berendi!