© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
296
Philips Semiconductors
UM10139
Volume 1
Chapter 21: Flash Memory
boot block is present at addresses 0x0007 D000 to 0x0007 FFFF in all devices. ISP and
IAP commands do not allow write/erase/go operation on the boot block. Because of the
boot block, the amount of Flash available for user code and data is 500 K bytes in "512K"
devices. On the other hand, in case of the LPC2141/2/4/6 microcontroller all
32/64/128/256 K of Flash are available for user’s application.
21.6 Flash content protection mechanism
The LPC2141/2/4/6/8 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.
Table 287: Flash sectors in LPC2141, LPC2142, LPC2144, LPC2146 and LPC2148
Sector
Number
Sector
Size [kB]
Address Range
LPC2
141
(32kB
)
LPC2
142
(64kB
)
LPC2
144
(128k
B)
LPC2
146
(256k
B)
LPC2
148
(512k
B)
0
4
0X0000 0000 - 0X0000 0FFF
+
+
+
+
+
1
4
0X0000 1000 - 0X0000 1FFF
+
+
+
+
+
2
4
0X0000 2000 - 0X0000 2FFF
+
+
+
+
+
3
4
0X0000 3000 - 0X0000 3FFF
+
+
+
+
+
4
4
0X0000 4000 - 0X0000 4FFF
+
+
+
+
+
5
4
0X0000 5000 - 0X0000 5FFF
+
+
+
+
+
6
4
0X0000 6000 - 0X0000 6FFF
+
+
+
+
+
7
4
0X0000 7000 - 0X0000 7FFF
+
+
+
+
+
8
32
0x0000 8000 - 0X0000 FFFF
+
+
+
+
9
32
0x0001 0000 - 0X0001 7FFF
+
+
+
10 (0x0A)
32
0x0001 8000 - 0X0001 FFFF
+
+
+
11 (0x0B)
32
0x0002 0000 - 0X0002 7FFF
+
+
12 (0x0C)
32
0x0002 8000 - 0X0002 FFFF
+
+
13 (0x0D)
32
0x0003 0000 - 0X0003 7FFF
+
+
14 (0X0E)
32
0x0003 8000 - 0X0003 FFFF
+
+
15 (0x0F)
32
0x0004 0000 - 0X0004 7FFF
+
16 (0x10)
32
0x0004 8000 - 0X0004 FFFF
+
17 (0x11)
32
0x0005 0000 - 0X0005 7FFF
+
18 (0x12)
32
0x0005 8000 - 0X0005 FFFF
+
19 (0x13)
32
0x0006 0000 - 0X0006 7FFF
+
20 (0x14)
32
0x0006 8000 - 0X0006 FFFF
+
21 (0x15)
32
0x0007 0000 - 0X0007 7FFF
+
22 (0x16)
4
0x0007 8000 - 0X0007 8FFF
+
23 (0x17)
4
0x0007 9000 - 0X0007 9FFF
+
24 (0x18)
4
0x0007 A000 - 0X0007 AFFF
+
25 (0x19)
4
0x0007 B000 - 0X0007 BFFF
+
26 (0x1A)
4
0x0007 C000 - 0X0007 CFFF
+