Flash Memory System and Programming
233
Philips Semiconductors
Preliminary User Manual
LPC2119/2129/2292/2294
ARM-based Microcontroller
SECTOR NUMBERS
Some IAP and ISP commands operate on "sectors" and specify sector numbers. The following table indicates the
correspondence between sector numbers and memory addresses for LPC2119/2129/2292/2294 device(s). IAP, ISP and
RealMonitor routines are located in the Boot Sector. The boot sector is present in all devices. ISP and IAP commands do not
allow write/erase/go operation on the boot sector. In a device having 128K of Flash, only 120 kB is available for the user program.
Devices with the total of 256 kB of Flash, allow user code of up to 248 kB.
* Boot Block always resides on the top of the on-chip available Flash memory. In case of 128 kB Flash, it is the 16
th
sector (sector
with logical number 15), and in case of 256 kB Flash, it is the 18
th
sector (sector with logical number 17). Flash memory sector
where Boot Block resides is not available for user to store code.
Table 196: Sectors in a device with 128K bytes of Flash
Sector Number
Memory Addresses and Sector Sizes
128 kB part
Sector size [kB]
256 kB part
Sector size [kB]
0
0x0000 0000 - 1FFF
8
0x0000 0000 - 1FFF
8
1
0x0000 2000 - 3FFF
8
0x0000 2000 - 3FFF
8
2
0x0000 4000 - 5FFF
8
0x0000 4000 - 5FFF
8
3
0x0000 6000 - 7FFF
8
0x0000 6000 - 7FFF
8
4
0x0000 8000 - 9FFF
8
0x0000 8000 - 9FFF
8
5
0x0000 A000 - BFFF
8
0x0000 A000 - BFFF
8
6
0x0000 C000 - DFFF
8
0x0000 C000 - DFFF
8
7
0x0000 E000 - FFFF
8
0x0000 E000 - FFFF
8
8
0x0001 0000 - 1FFF
8
0x0001 0000 - FFFF
64
9
0x0001 2000 - 3FFF
8
0x0002 0000 - FFFF
64
10 (0x0A)
0x0001 4000 - 5FFF
8
0x0003 0000 - 1FFF
8
11 (0x0B)
0x0001 6000 - 7FFF
8
0x0003 2000 - 3FFF
8
12 (0x0C)
0x0001 8000 - 9FFF
8
0x0003 4000 - 5FFF
8
13 (0x0D)
0x0001 A000 - BFFF
8
0x0003 6000 - 7FFF
8
14 (0x0E)
0x0001 C000 - DFFF
8
0x0003 8000 - 9FFF
8
15 (0x0F)
0x0001 E000 - FFFF*
8
0x0003 A000 - BFFF
8
16 (0x10)
0x0003 C000 - DFFF
8
17 (0x11)
0x0003 E000 - FFFF*
8