Yahoo Groups archive

Lpc2000

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

Message

Re: Executing Code From RAM

2005-06-27 by lpc2100_fan

Hi,

first of all executing from RAM definitely possible. Are you talking
internal or external RAM? 
If internal, that gives you max. speed, if external it is a little
slower and it needs to be SRAM (not SDRAM).
You might want to look at the latest LPC2220,
http://www.semiconductors.philips.com/pip/LPC2220FBD144.html
it runs up to 75 MHz and has 64K internal SRAM instead of 16k on the
LPC2210 and afaik pricing is a little higher but not much. 
This provides the option to have the code that needs to be fast such
as interrupt service routines or algorithms can be located in the
internal SRAM and other code such as uner interface or language
packages or..  can be in an external Flash. 

hth, Bob

--- In lpc2000@yahoogroups.com, "mhasson_alpha" <mhasson_alpha@y...>
wrote:
> Hello,
> 
> I'm evaluating the use of LPC2210 for our development.  One thing I 
> couldn't get from the data sheet, is whether the LPC2210 could run out 
> of RAM.  Does Anyone know if there are any issues such as vector table 
> relocation restriction or any other issues?  In the past, I have used 
> an MMU (on other Processors) to remap address 0 to another physical 
> address, which would allow me to store the code anywhere in flash, load 
> it (upon power up) into ram and execute out of ram.  This scheme allows 
> us to:
> 1) gain execution speed.
> 2) utilize flash for code and nv data storage.
> 3) remote upgrade of the code (2 copies).
> 
> Any feedback is greatly appreciated!

Attachments

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.