
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
325 of 368
NXP Semiconductors
UM10375
Chapter 21: LPC13xx Flash memory programming firmware
21.11 Sector numbers
Some IAP and ISP commands operate on sectors and specify sector numbers. The
following table shows the correspondence between sector numbers and memory
addresses for LPC13xx devices.
21.12 Code Read Protection (CRP)
Code Read Protection is a mechanism that allows the user to enable different levels of
security in the system so that access to the on-chip flash and use of the ISP can be
restricted. When needed, CRP is invoked by programming a specific pattern in flash
location at 0x0000 02FC. IAP commands are not affected by the code read protection.
Important: any CRP change becomes effective only after the device has gone
through a power cycle.
Table 313. LPC13xx flash sectors
Sector
number
Sector
size [kB]
Address range
LPC1311 LPC1313 LPC1342
LPC1343
0
4
0x0000 0000 - 0x0000 0FFF yes
yes
yes
yes
1
4
0x0000 1000 - 0x0000 1FFF yes
yes
yes
yes
2
4
0x0000 2000 - 0x0000 2FFF -
yes
yes
yes
3
4
0x0000 3000 - 0x0000 3FFF -
yes
yes
yes
4
4
0x0000 4000 - 0x0000 4FFF -
yes
-
yes
5
4
0x0000 5000 - 0x0000 5FFF -
yes
-
yes
6
4
0x0000 6000 - 0x0000 6FFF -
yes
-
yes
7
4
0x0000 7000 - 0x0000 7FFF -
yes
-
yes