Hello,
I am developping on a firmware using a bootloader which verifies main application's CRC prior to let it start. To do this, I am generating an extra .hex file with data for bootloader added to the .hex file created by Keil.
I thought I just had to rename my .hex file with data to the name of the one generated by keil... But Keil's debugger is loading the .axf file, not the .hex one :-(
The only workaround I found was to load my .hex with data with another flash programmer, and then start debugging with Keil to have debug symbols.
Does anyone know how I could do this directly with Keil ?
Thanks a lot in advance!
I succeded to make keil load my .hex with the command "LOAD $L\Myfile.hex INCREMENTAL", but it responds "Target memory verification failure", although loading this file through STM32CubeProgrammer succeeds. Any idea of what is going wrong?
Other strange thing: if I first flash my target with STM32CubeProgrammer, there is no error when starting debugging.