15.11.2012 Views

LPC2131/2132/2138 User Manual - mct.net

LPC2131/2132/2138 User Manual - mct.net

LPC2131/2132/2138 User Manual - mct.net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Philips Semiconductors Preliminary <strong>User</strong> <strong>Manual</strong><br />

ARM-based Microcontroller<br />

SECTOR NUMBERS<br />

<strong>LPC2131</strong>/<strong>2132</strong>/<strong>2138</strong><br />

Some IAP and ISP commands operate on "sectors" and specify sector numbers. The following table indicate the correspondence<br />

between sector numbers and memory addresses for <strong>LPC2131</strong>/<strong>2132</strong>/<strong>2138</strong> devices containing 32K, 64K and 512K bytes of Flash<br />

respectively. IAP, ISP, and RealMonitor routines are located in the boot block. The boot block is present at addresses 0007D000-<br />

0007FFFF in all devices. ISP and IAP commands do not allow write/erase/go operation on the boot block. Because of the boot<br />

block, the amount of Flash available for user code and data is 500K bytes in "512K" devices. On the other hand, in case of the<br />

<strong>LPC2131</strong>/<strong>2132</strong> microcontroller all 32/64K of Flash are available for user’s application.<br />

Table 172: Flash sectors in <strong>LPC2131</strong>, LPC<strong>2132</strong> and LPC<strong>2138</strong><br />

Sector<br />

Number<br />

Sector size [kB]<br />

Memory Addresses<br />

<strong>LPC2131</strong> (32 kB Flash) LPC<strong>2132</strong> (64 kB Flash) LPC<strong>2138</strong> (512 kB Flash)<br />

0 4 0x0000 0000 - 0FFF 0x0000 0000 - 0FFF 0x0000 0000 - 0FFF<br />

1 4 0x0000 1000 - 1FFF 0x0000 1000 - 1FFF 0x0000 1000 - 1FFF<br />

2 4 0x0000 2000 - 2FFF 0x0000 2000 - 2FFF 0x0000 2000 - 2FFF<br />

3 4 0x0000 3000 - 3FFF 0x0000 3000 - 3FFF 0x0000 3000 - 3FFF<br />

4 4 0x0000 4000 - 4FFF 0x0000 4000 - 4FFF 0x0000 4000 - 4FFF<br />

5 4 0x0000 5000 - 5FFF 0x0000 5000 - 5FFF 0x0000 5000 - 5FFF<br />

6 4 0x0000 6000 - 6FFF 0x0000 6000 - 6FFF 0x0000 6000 - 6FFF<br />

7 4 0x0000 7000 - 7FFF 0x0000 7000 - 7FFF 0x0000 7000 - 7FFF<br />

8 32<br />

9 32<br />

0x0000 8000 - FFFF 0x0000 8000 - FFFF<br />

0x0001 0000 - 7FFF<br />

10 (0x0A) 32 0x0001 8000 - FFFF<br />

11 (0x0B) 32 0x0002 0000 - 7FFF<br />

12 (0x0C) 32 0x0002 8000 - FFFF<br />

13 (0x0D) 32 0x0003 0000 - 7FFF<br />

14 (0x0E) 32 0x0003 8000 - FFFF<br />

15 (0x0F) 32 0x0004 0000 - 7FFF<br />

16 (0x10) 32 0x0004 8000 - FFFF<br />

17 (0x11) 32 -<br />

0x0005 0000 - 7FFF<br />

-<br />

18 (0x12) 32 0x0005 8000 - FFFF<br />

19 (0x13) 32 0x0006 0000 - 7FFF<br />

20 (0x14) 32 0x0006 8000 -FFFF<br />

21 (0x15) 32 0x0007 0000 - 7FFF<br />

22 (0x16) 4 0x0007 8000 - 8FFF<br />

23 (0x17) 4 0x0007 9000 - 9FFF<br />

24 (0x18) 4 0x0007 A000 - AFFF<br />

25 (0x19) 4 0x0007 B000 - BFFF<br />

26 (0x1A) 4 0x0007 C000 - CFFF<br />

Flash Memory System and Programming 229 November 22, 2004

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!