UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
417 of 464
31.1 How to read this chapter
See
for different flash configurations.
Remark:
In addition to the ISP and IAP commands, a register can be accessed in the
SYSCON block to configure flash memory access times, see
.
31.2 Features
•
In-System Programming: In-System programming (ISP) is programming or
reprogramming the on-chip flash memory, using the boot loader software and the
USART serial port. This can be done when the part resides in the end-user board.
•
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.
•
Small size (256 Byte) page erase programming.
•
Flash access times can be configured through a register in the flash controller block.
31.3 General description
31.3.1 Boot loader
For the boot loader operation and boot pin, see
Chapter 6 “LPC5410x Boot process”
.
The boot loader version can be read by ISP/IAP calls (see
or
31.3.2 Memory map after any reset
The boot ROM is 64 KB in size and is located in the memory region starting from the
address 0x0300 0000. The boot loader is designed to run from this memory area, but both
the ISP and IAP software use parts of the on-chip RAM. The RAM usage is described
later in
31.3.3 Flash content protection mechanism
The LPC5410x is equipped with the Error Correction Code (ECC) capable Flash memory.
The purpose of an error correction module is twofold. Firstly, it decodes data words read
from the memory into output data words. Secondly, it encodes data words to be written to
the memory. The error correction capability consists of single bit error correction with
Hamming code.
UM10850
Chapter 31: LPC5410x Flash API
Rev. 2.4 — 13 September 2016
User manual
Table 472. LPC5410x flash configurations
Type number
Flash
ISP via USART
LPC54101J256 and LPC54102J256
256 KB
yes
LPC54101J512 and LPC54102J512
512 KB
yes