UM10429
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2010. All rights reserved.
User manual
Rev. 1 — 20 October 2010
170 of 258
NXP Semiconductors
UM10429
Chapter 17: LPC1102 Flash memory programming firmware
17.9.1.2 Signature generation result registers
The signature generation result registers return the flash signature produced by the
embedded signature generator. The 128-bit signature is reflected by the four registers
FMSW0, FMSW1, FMSW2 and FMSW3.
The generated flash signature can be used to verify the flash memory contents. The
generated signature can be compared with an expected signature and thus makes saves
time and code space. The method for generating the signature is described in
show bit assignment of the FMSW0 and FMSW1, FMSW2, FMSW3 registers
respectively.
17.9.1.3 Flash Module Status register
The read-only FMSTAT register provides a means of determining when signature
generation has completed. Completion of signature generation can be checked by polling
the SIG_DONE bit in FMSTAT. SIG_DONE should be cleared via the FMSTATCLR
register before starting a signature generation operation, otherwise the status might
indicate completion of a previous operation.
17
SIG_START
Start control bit for signature generation.
0
0
Signature generation is stopped
1
Initiate signature generation
16:0
STOP
BIST stop address divided by 16 (corresponds to AHB
byte address [20:4]).
0
Table 183. Flash Module Signature Stop register (FMSSTOP - 0x4003 C024) bit description
Bit
Symbol
Value
Description
Reset
value
Table 184. FMSW0 register bit description (FMSW0, address: 0x4003 C02C)
Bit
Symbol
Description
Reset value
31:0
SW0[31:0]
Word 0 of 128-bit signature (bits 31 to 0).
-
Table 185. FMSW1 register bit description (FMSW1, address: 0x4003 C030)
Bit
Symbol
Description
Reset value
31:0
SW1[63:32]
Word 1 of 128-bit signature (bits 63 to 32).
-
Table 186. FMSW2 register bit description (FMSW2, address: 0x4003 C034)
Bit
Symbol
Description
Reset value
31:0
SW2[95:64]
Word 2 of 128-bit signature (bits 95 to 64).
-
Table 187. FMSW3 register bit description (FMSW3, address: 0x4003 40C8)
Bit
Symbol
Description
Reset value
31:0
SW3[127:96]
Word 3 of 128-bit signature (bits 127 to 96).
-