Hello,
I am aware of tools like SRecord but they don't solve the problem of image checksum verification (image programmed by ULINK) during start-up, because they cannot patch an .axf file correctly (AFAIK) - thus boot will fail due to checksum verification failure (if programming via ULINK). Can any component of the tool chain generate a checksum that is added at the very end of an image so that a verification will work whether the image was programmed via ULINK or a bootloader?
Thanks in advance
There's no particularly strong you have to load the code from the actual .axf file and nowhere else.
You must already have a tool that can compute the checksum from the hex file. So you can isolate that checksum into a very small hex file of its own and tell the debugger init script to flash that after the .axf file has been flashed.