Content originally posted in LPCWare by R2D2 on Tue Jan 27 06:10:50 MST 2015
UM:
Quote:
26.3.3 Criterion for Valid User Code
Criterion for valid user code: The reserved Cortex-M0 exception vector location 7 (offset
[color=#f00]0x 0000 001C in the vector table) should contain the 2’s complement of the check-sum of table entries 0 through 6[/color]. This causes the checksum of the first 8 table entries to be 0. The bootloader code checksums the first 8 locations in sector 0 of the flash. If the result is 0, then execution control is transferred to the user code.