UM11029
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
65 of 515
NXP Semiconductors
UM11029
Chapter 6: LPC84x Flash signature generator
After signature generation, a 32-bit signature can be read from the FMSW0 register. The
32-bit signature reflects the corrected data read from the flash and the flash parity bits and
check bit values.
6.5.1.3 Content verification
The signature as it is read from the FMSW0 register must be equal to the reference
signature. The following pseudo-code shows the algorithm to derive the reference
signature:
sign = 0
FOR address = FMSSTART.START to FMSSTOP.STOPA
{
FOR i = 0 TO 30
{
nextSign[i] = f_Q[address][i] XOR sign[i + 1]
}
nextSign[31] = f_Q[address][31] XOR sign[0] XOR sign[10] XOR sign[30] XOR
sign[31]
sign = nextSign
}
signature32 = sign