
UM10375
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
User manual
Rev. 3 — 14 June 2011
344 of 368
NXP Semiconductors
UM10375
Chapter 21: LPC13xx Flash memory programming firmware
21.16.3 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.
21.16.4 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.
Table 350. 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 351. 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 352. 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 353. 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).
-
Table 354. Flash module Status register (FMSTAT - 0x4003 CFE0) bit description
Bit
Symbol
Description
Reset
value
1:0
-
Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
NA
2
SIG_DONE
When 1, a previously started signature generation has
completed. See FMSTATCLR register description for clearing this
flag.
0
31:3
-
Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
NA