Yahoo Groups archive

Lpc2000

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

Thread

External Memory Access

External Memory Access

2005-07-24 by xteret18

Greetings All,

I am using the Phytec LPC2294 and I would like to use an external 
memory device( which is actually just a piece of hardware)

I have it set up to use CS0 at the moment, but I am not sure if that is 
the way to go.

Has anyone tried to use the EMC to talk to devices in this manner?  If 
so, could you post how you went about doing it?  What I am trying to do 
is talk to a few hardware registers that exist out on the external 
memory bus, but I am not sure if I am going about it the right way.

Thanks

Re: [lpc2000] External Memory Access

2005-07-26 by 42Bastian Schick

xteret18 <dspencer@...> schrieb am Sun, 24 Jul 2005 
12:58:52 -0000:

> Greetings All,
>
> I am using the Phytec LPC2294 and I would like to use an external
> memory device( which is actually just a piece of hardware)
>
> I have it set up to use CS0 at the moment, but I am not sure if that is
> the way to go.

AFAIK CS0 is used for the Flash, CS1 for the RAM and CS2 for the SMSC
on the phyCORE. You can only use CS3.

-- 
42Bastian Schick

External Memory Access

2005-08-09 by wiese_matthias

Hi,
I'm trying to access the external Memory of the LPC-E2294 (from
Olimex). I configured the EMC as followed:

// Initialization of EMC
// FLASH 16bit; IDCY = F; WST1 = 4; RBLE = 1; WST2 = 6
BCFG0=0x1000348F;
// SRAM 32bit; IDCY = F; WST1 = 0; RBLE = 1; WST2 = 0
BCFG1=0x2000040F;
// address lines...
PINSEL2=0x0F000924;

When I'm trying to write in the SRAM the program stops ()
Can someone tell me what to do?

Thanks,
Matthias

Re: External Memory Access

2005-08-12 by tsvetanusunov

--- In lpc2000@yahoogroups.com, "wiese_matthias" 
<wiese_matthias@y...> wrote:
> Hi,
> I'm trying to access the external Memory of the LPC-E2294 (from
> Olimex). I configured the EMC as followed:
> 
> // Initialization of EMC
> // FLASH 16bit; IDCY = F; WST1 = 4; RBLE = 1; WST2 = 6
> BCFG0=0x1000348F;
> // SRAM 32bit; IDCY = F; WST1 = 0; RBLE = 1; WST2 = 0
> BCFG1=0x2000040F;
> // address lines...
> PINSEL2=0x0F000924;
> 
> When I'm trying to write in the SRAM the program stops ()
> Can someone tell me what to do?
> 
> Thanks,
> Matthias

Hi Matthias,
we have test code on our web site which access the external memory.
Best regards
Tsvetan
---
PCB prototypes for $26 at http://run.to/pcb 
(http://www.olimex.com/pcb)
PCB any volume assembly (http://www.olimex.com/pcb/protoa.html)
Development boards for ARM, AVR, PIC, MAXQ2000 and MSP430  
(http://www.olimex.com/dev)

Re: [lpc2000] Re: External Memory Access

2005-08-12 by DECwiz (Fred van Kempen)

Tsvetan,
 
That is the code he is using to test things.  Even my code (which is very clean,
and works on most boards tested so far) doesn't seem to work, so he MAY be
something with the E2294.
 
(by the way, your test software assumes the boards come with F320B chips,
using ID 0x88c5, and this is not the case: they come with F320T chips, with
ID 0x88c4.)  this also changes the way one can use them (top/bottom boot
block etc..)
 
--fred

tsvetanusunov <tusunov@...> wrote:
--- In lpc2000@yahoogroups.com, "wiese_matthias" 
<wiese_matthias@y...> wrote:
> Hi,
> I'm trying to access the external Memory of the LPC-E2294 (from
> Olimex). I configured the EMC as followed:
> 
> // Initialization of EMC
> // FLASH 16bit; IDCY = F; WST1 = 4; RBLE = 1; WST2 = 6
> BCFG0=0x1000348F;
> // SRAM 32bit; IDCY = F; WST1 = 0; RBLE = 1; WST2 = 0
> BCFG1=0x2000040F;
> // address lines...
> PINSEL2=0x0F000924;
> 
> When I'm trying to write in the SRAM the program stops ()
> Can someone tell me what to do?
> 
> Thanks,
> Matthias

Hi Matthias,
we have test code on our web site which access the external memory.
Best regards
Tsvetan
---
PCB prototypes for $26 at http://run.to/pcb 
(http://www.olimex.com/pcb)
PCB any volume assembly (http://www.olimex.com/pcb/protoa.html)
Development boards for ARM, AVR, PIC, MAXQ2000 and MSP430  
(http://www.olimex.com/dev)





---------------------------------
YAHOO! GROUPS LINKS 


    Visit your group "lpc2000" on the web.
  
    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


---------------------------------




[Non-text portions of this message have been removed]

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.