lpcware

Updating user code checksum when debugging

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by remcopoelstra on Tue Mar 24 08:20:08 MST 2015
Hi,

When debugging an application, the user code checksum (at offset 0x1c) is automatically inserted when flashing the part. Unfortunately it seems this only happens when the data is written starting at address 0x0.
As I'm using a secondary bootloader the final application gets written to address 0x2400. I would like to use the same checksum to validate the user image from the secondary bootloader.
Would it be possible to instruct the debug process to also calculate the checksum when writing at another address in the flash?

Thanks in advance.

Kind regards,

Remco Poelstra

Outcomes