Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

LPC2214/2294 memory mapping modes

LPC2214/2294 memory mapping modes

2006-04-13 by ni_leiqi

Hi, 

I have  a question regarding memory mapping mode.

The user manual says there are 4 memory mapping modes. They are Boot
loader, User flash, User RAM, and User External, User External mode is
activated by BOOT[1:0] pins not 11 at reset. 

My question is does that mean all other three mapping mode are
avtivated by BOOT[1:0]=11 at reset ? Am I right ? Thanks.

Daniel

Re: LPC2214/2294 memory mapping modes

2006-04-13 by jayasooriah

--- In lpc2000@yahoogroups.com, "ni_leiqi" <ni_leiqi@...> wrote:
>
> Hi, 
> 
> I have  a question regarding memory mapping mode.
> 
> The user manual says there are 4 memory mapping modes. They are Boot
> loader, User flash, User RAM, and User External, User External mode is
> activated by BOOT[1:0] pins not 11 at reset. 
> 
> My question is does that mean all other three mapping mode are
> avtivated by BOOT[1:0]=11 at reset ? Am I right ? Thanks.
> 
> Daniel

BOOT1:0 settings as per LPC222x user manual page 122:

> BOOT1:0=00 selects 8-bit memory on CS0 for boot.
> BOOT1:0=01 selects 16-bit memory on CS0 for boot.
> BOOT1:0=10 selects 32-bit memory on CS0 for boot.
> BOOT1:0=11 selects Internal Flash memory.

Jaya

Re: LPC2214/2294 memory mapping modes

2006-04-13 by Danish Ali

Hi Daniel,

Yes you are right. But there is more information in other
parts of the user manual which you should understand.

The actual control register is MEMMAP in the System Control
Block - see table 20.

At reset, the bootloader is selected. It follows the
flowchart in "Flash Memory System and Programming" chapter
in figure 49.
This makes clear how other memory modes are selected.

If the flash memory says code protection is active, then
the external memory will *not* be used.
At startup User RAM is never selected because a FLASH
program must first put sensible vectors into RAM!

Hope this helps,
Danish
--- In lpc2000@yahoogroups.com, "ni_leiqi" <ni_leiqi@...> wrote:
Show quoted textHide quoted text
>
> Hi, 
> 
> I have  a question regarding memory mapping mode.
> 
> The user manual says there are 4 memory mapping modes. They are Boot
> loader, User flash, User RAM, and User External, User External mode is
> activated by BOOT[1:0] pins not 11 at reset. 
> 
> My question is does that mean all other three mapping mode are
> avtivated by BOOT[1:0]=11 at reset ? Am I right ? Thanks.
> 
> Daniel
>

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.