LPC229-E2294 external RAM and Ethernet

Hello all,

I have a serious problem with my LPC-E2294 8MB Board using ethernet. I’ve written a simple driver for the DM9000 Ethernet Chip and my code uses only external RAM. PINSEL and BCFGs are configured according to OLIMEX 8MB sample.

I’m using FreeRTOS and ChibiOS and under both OSes the system crashes after 5-70min (non-deterministic) when accessing the LAN chip. When I comment out the LAN accesss in my task, everything works fine (even fore than 3 hours). Only accessing the GPR register on DM9000 in a loop the non-deterministic crash occours. So I think there is a problem with the external memory bus. But don’t know what!!!

I’ve checked the stacks but it seems they are ok. Checked the BCFGs and increased the IDLE, WST1 and WST2 timing. But no success.

Is there a problem using external RAM and Ethernet concurrently??

Please, I need some help. Don’t know what todo anymore.

Thanks

Andy