UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
1168 of 1269
46.1 How to read this chapter
The flash programming ISP is available for parts with on-chip flash. A reduced set of
In-System-Programming (ISP) commands is supported for flashless parts (see
). See
for details on the boot process for flashless parts.
IAP commands are only supported for parts with on-chip flash.
46.2 Basic configuration
•
The flash banks are reset by the FLASHA_RST and FLASHB_RST (reset # 25/29).
•
The flash accelerator and the flash access time are controlled by the FLASHCFGA
and FLASHCFGB registers in the CREG block (see
and
).
•
The flash bank interrupts are ORed with the interrupts from the EEPROM and are
connected to interrupt slot #4 in the NVIC.
The ISP is configured as follows:
•
The ISP mode is entered when pin P2_7 is pulled LOW for parts with and without
on-chip flash.
–
On parts with on-chip flash, ISP communication uses USART0 or USART3
depending on the OTP bits and/or boot pins (see
–
On flashless parts, ISP communication always uses USART0.
46.3 Features
•
In-System Programming: In-System programming (ISP) is programming or
reprogramming the on-chip flash memory, using the boot loader software and
USART0or USART3 serial port. This can be done when the part resides in the
end-user board.
•
For parts without on-chip flash, ISP allows to load data to on-chip SRAM and to
execute code from on-chip SRAM using USART0.
•
In Application Programming: In-Application (IAP) programming is performing erase
and write operation on the on-chip flash memory, as directed by the end-user
application code.
•
Flash signature generation: built-in hardware can generate a signature for a range of
flash addresses or for the entire flash memory.
UM10503
Chapter 46: LPC43xx flash programming/ISP and IAP
Rev. 1.3 — 6 July 2012
User manual
Table 1021.ISP clocking and power control
Base clock
Branch clock
Operating
frequency
Notes
ISP command clock CCLK
BASE_M4_CLK
CLK_M4_BUS
up to
204 MHz
-