I'm starting to write a bootloader for my Cortex-M4 processor.
At start I need to check integrity of application in flash, for this I need the compute the CRC of the content of the flash and compare with the correct one.
I want to know if it is possible to ask armlink to generate the CRC of the code (RO) and add it to the binary at a specific location in flash.
The idea is to read this CRC generated by armlink (application) by the bootloader, then compute the CRC of the content of the flash and then compare the two CRC.
Thanks Christophe