Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Extmemory in 2214

2005-04-01 by Anton Erasmus

On 1 Apr 2005 at 13:28, cbitsunil wrote:

> 
> 
> Hello,
>      this is sunil.I am working on LPC2214 controller.
> I am using external memory to place some data.
>      But how to configure the external memory using gcc compiler? What
> are the things that to be added in the software? Please help in this
> problem? Thanks in advance.
> 

I am not sure what you are asking. To enable the use of the external RAM you
must set up the correct control registers. If it is alreasy setup, and you want to
be able to place some variables in the external RAM, you have to change your
linker script. You can add a section, and in the linker script you set up the size
and address of the section. When defining a variable, you can use the section
attribute to have it allocated in the specific section. You can also force all variables
in a specific module to be placed in a specific section.

Hope this helps

Regards
  Anton Erasmus
 

-- 
A J Erasmus

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.