> I'm baffled why people persist in using CRCs in software for
> things like EEPROM and flash ROM.
All I'm looking for is a way for the tools to add all of the bytes of a code
file and embed the sum into the hex file at a specific location. Nothing
fancy.
When the bootloader starts, it adds all the bytes of the app space and
compares it to the sum that was embdeed into the hex file. If they don't
match, it waits for a new app.
It sounds like this can't be done with the GCC tools, so I'll have to do it
manually.