UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 19 December 2013  640 of 841
NXP Semiconductors
UM10360
Chapter 32: LPC176x/5x Flash memory interface and programming
32.10.1.1 Signature generation address and control registers
These registers control automatic signature generation. A signature can be generated for 
any part of the flash memory contents. The address range to be used for generation is 
defined by writing the start address to the signature start address register (FMSSTART) 
and the stop address to the signature stop address register (FMSSTOP. The start and 
stop addresses must be aligned to 128-bit boundaries and can be derived by dividing the 
byte address by 16.
Signature generation is started by setting the SIG_START bit in the FMSSTOP register. 
Setting the SIG_START bit is typically combined with the signature stop address in a 
single write.
Table 600
 and Table 601 show the bit assignments in the FMSSTART and FMSSTOP 
registers respectively.
 
 
32.10.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 
Section 32.10.2
.
Table 605
 show bit assignment of the FMSW0 and FMSW1, FMSW2, FMSW3 registers 
respectively.
 
 
Table 600. Flash Module Signature Start register (FMSSTART - 0x4008 4020) bit description
Bit Symbol Description Reset Value
31:17 - Reserved, user software should not write ones to reserved bits. The value read from a 
reserved bit is not defined.
NA
16:0 START Signature generation start address (corresponds to AHB byte address bits[20:4]). 0
Table 601. Flash Module Signature Stop register (FMSSTOP - 0x4008 4024) bit description
Bit Symbol Value Description Reset Value
31:18 - Reserved, user software should not write ones to reserved bits. The value 
read from a reserved bit is not defined.
NA
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 602. FMSW0 register bit description (FMSW0, address: 0x4008 402C)
Bit Symbol Description Reset Value
31:0 SW0[31:0] Word 0 of 128-bit signature (bits 31 to 0). -
Table 603. FMSW1 register bit description (FMSW1, address: 0x4008 4030)
Bit Symbol Description Reset Value
31:0 SW1[63:32] Word 1 of 128-bit signature (bits 63 to 32). -