Content originally posted in LPCWare by CodeRedSupport on Fri Feb 12 09:53:54 MST 2010
The LPCXpresso flash module (not the IDE) is responsible for calculating the appropriate checksum. The checksum is embedded in flash when the image is programmed. There's no need for the user to calculate this, and we fail to see why anyone would want to.
Regards,
CodeRedSupport
Quote: Fraggle
Hello World,
can anybody tell me where the tool chain creates this "valid user code" checksum? As far as I can see after linking the axf or bin files still contain a zero, but during debugging suddenly there is a reasonable value. I cannot really imagine that it is good practice to let the debugger do the vitally important final post-processing.
(Actually I'm not 100% sure that my findings are correct, as I'll probably need another 100 years until I understand this IDE. Sorry.)
So if anybody could give me a hint, where this checksum is generated and how to influence this, I'd very much appreciate this!
Regards
Dirk