LPC-E2294 external Memory access with gcc

Started by Jonas Diemer January 12, 2006
Hi!

We are using an LPC-E2294 board from olimex, that has a 1MB external
SRAM onboard. We've got the gcc working, but only with the internal
mem so far.

How can I use the external RAM? If my understanding is correct, I have
to do the following steps:

1. Set up the LPC2294s EMC so it knows how to talk to the SRAM. Do I
do that in the startup.s?
2. Set up the additional RAM in the lpc2294-RAM.ld (my linker-script).

Maybe someone has done the exact same thing already and can post me
instructions/source code. I'm thankful for any hint :-)

Regards, Jonas



An Engineer's Guide to the LPC2100 Series

Hi!

We are using an LPC-E2294 board from olimex, that has a 1MB external
SRAM onboard. We've got the gcc working, but only with the internal
mem so far.

How can I use the external RAM? If my understanding is correct, I have
to do the following steps:

1. Set up the LPC2294s EMC so it knows how to talk to the SRAM. Do I
do that in the startup.s?
2. Set up the additional RAM in the lpc2294-RAM.ld (my linker-script).

Maybe someone has done the exact same thing already and can post me
instructions/source code. I'm thankful for any hint :-)

Regards, Jonas

PS: Sorry for the double post. My first one accidentally became a
reply to some other message.