UM11029
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
23 of 515
NXP Semiconductors
UM11029
Chapter 5: LPC84x ISP and IAP
5.3.6 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 the flash
image at offset 0x0000 02FC. IAP commands are not affected by the code read
protection.
Table 1 shows the limitations of the USART ISP commands when CRP (CRP1, CRP2, or
CRP3) is enabled.
Note: Any CRP change becomes effective only after the device has gone through a
power cycle.
6
1
96 - 111
0x0000 1800 - 0x0000 1BFF
yes
yes
7
1
112 - 127
0x0000 1C00 - 0x0000 1FFF
yes
yes
8
1
128 - 143
0x0000 2000 - 0x0000 23FF
yes
yes
9
1
144 - 159
0x0000 2400 - 0x0000 27FF
yes
yes
10
1
160 - 175
0x0000 2800 - 0x0000 2BFF
yes
yes
11
1
176 - 191
0x0000 2C00 - 0x0000 2FFF
yes
yes
12
1
192 - 207
0x0000 3000 - 0x0000 33FF
yes
yes
13
1
208 - 223
0x0000 3400 - 0x0000 37FF
yes
yes
14
1
224 - 239
0x0000 3800 - 0x0000 3BFF
yes
yes
15
1
240 - 255
0x0000 3C00 - 0x0000 3FFF
yes
yes
16
1
256 - 271
0x0000 4000 - 0x0000 43FF
-
yes
17
1
272 - 287
0x0000 4400 - 0x0000 47FF
-
yes
18
1
288 - 303
0x0000 4800 - 0x0000 4BFF
-
yes
19
1
304 - 319
0x0000 4C00 - 0x0000 4FFF
-
yes
20
1
320 - 335
0x0000 5000 - 0x0000 53FF
-
yes
21
1
336 - 351
0x0000 5400 - 0x0000 57FF
-
yes
22
1
352 - 367
0x0000 5800 - 0x0000 5BFF
-
yes
23
1
368 - 383
0x0000 5C00 - 0x0000 5FFF
-
yes
24
1
384 - 399
0x0000 6000 - 0x0000 63FF
-
yes
25
1
400 - 415
0x0000 6400 - 0x0000 67FF
-
yes
26
1
416 - 431
0x0000 6800 - 0x0000 6BFF
-
yes
27
1
432 - 447
0x0000 6C00 - 0x0000 6FFF
-
yes
28
1
448 - 463
0x0000 7000 - 0x0000 73FF
-
yes
29
1
464 - 479
0x0000 7400 - 0x0000 77FF
-
yes
30
1
480 - 495
0x0000 7800 - 0x0000 7BFF
-
yes
31
1
496 - 511
0x0000 7C00 - 0x0000 7FFF
-
yes
Table 13.
LPC82x flash configuration
<tbd>
Sector
number
Sector
size [KB]
Page number Address range
16 KB
flash
32 KB
flash