UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
95 of 1441
NXP Semiconductors
UM10503
Chapter 6: LPC43xx/LPC43Sxx flash programming/ISP and IAP
6.10 JTAG flash programming interface
Debug tools can write parts of the flash image to the RAM and then execute the IAP call
"Copy RAM to Flash" repeatedly with proper offset.
6.11 Flash signature generation
The flash module contains a built-in signature generator. This generator can produce a
128-bit signature from a range of flash memory. A typical usage is to verify the flashed
contents against a calculated signature (e.g. during programming).
The address range for generating a signature must be aligned on flash-word boundaries,
i.e. 128-bit boundaries. Once started, signature generation completes independently.
While signature generation is in progress, the flash memory cannot be accessed for other
purposes, and an attempted read will cause a wait state to be asserted until signature
generation is complete. Code outside of the flash (e.g. internal RAM) can be executed
during signature generation. This can include interrupt services, if the interrupt vector
table is re-mapped to memory other than the flash memory. The code that initiates
signature generation should also be placed outside of the flash memory.
6.11.1 Register description for signature generation
0x0000 0012
INVALID_STOP_BIT
Invalid stop bit setting.
0x0000 0013
CODE_READ_PROTECTION_
ENABLED
Code read protection enabled.
0x0000 0014
INVALID_FLASH_UNIT
Invalid flash unit.
0x0000 0015
USER_CODE_CHECKSUM
0x0000 0016
ERROR_SETTING_ACTIVE_PARTITION
Table 64.
ISP Status Codes Summary
Status Code
Mnemonic
Description
Table 65.
Register overview: FMC controller for flash bank A/B (base address 0x4000 C000 (flash bank A) and
0x4000 D000 (flash bank B))
Name
Access
Address offset
Description
Reset
Value
Reference
FMSSTART
R/W
0x020
Signature start address register
0
FMSSTOP
R/W
0x024
Signature stop-address register
0
FMSW0
R
0x02C
128-bit signature Word 0
-
FMSW1
R
0x030
128-bit signature Word 1
-
FMSW2
R
0x034
128-bit signature Word 2
-
FMSW3
R
0x038
128-bit signature Word 3
-
FMSTAT
R
0xFE0
Signature generation status register
0
FMSTATCLR
W
0xFE8
Signature generation status clear register
-