UM10237_2 © NXP B.V. 2008. All rights reserved.
User manual Rev. 02 — 19 December 2008 681 o f 792
NXP Semiconductors UM10237
Chapter 30: LPC24XX Flash memory programming firmware
7. Sector numbers

Some IAP and ISP commands operate on "sectors" and specify sector numbers. The

following table indicate the correspondence between sector numbers and memory

addresses for LPC2400 devices. IAP, ISP, and RealMonitor routines are located in the

boot block. The boot block is present at addresses 0x0007 E000 to 0x0007 FFFF. 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 504 K bytes.

Table 601. Sectors in a LPC2 400 device
Sector
number Sector size [kB] Address range
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
27 (0x1B) 4 0x0007 D000 - 0X0007 DFFF