External Memory Access

Hi,

I’m trying to access the external Memory of the LPC-E2294. I configured the EMC as in the olimex example:

// 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 () :frowning:

Can someone tell me what to do?

Thanks,

Matthias

Now I can access the external RAM of the LPC-E2294 :slight_smile: but unfortunately the external Flash causes some problems. I configured the BCFG0 and tried to access the Flash with the routines from the olimex test software (which by the way also fails to write in the flash memory). When I call the FlashID() routine the flash memory id is 0.

I would be greatful if someone could tell what the problem is!

Cheers,

Matthias