Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | External Memory Access

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

External Memory Access - wiese_matthias - Aug 9 10:28:00 2005

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




(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )


Re: External Memory Access - tsvetanusunov - Aug 12 9:23:00 2005

--- In lpc2000@lpc2..., "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)





(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Re: External Memory Access - DECwiz \Fred van Kempen\ - Aug 12 11:00:00 2005

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@tusu...> wrote:
--- In lpc2000@lpc2..., "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 ---------------------------------

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




(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )