This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC2378 Ethernet RAM

I have written a program that writes into the Ethernet RAM of LPC2378.
The Ethernet module is powered on using PCONP resiger.
When ever i try to write anything to this RAM Area i am getting the error-

"Data Abort: ARM Instruction at 000010B8H, Memory Access at 7FE00000H "

I can also cannot change values in the Memory Window of the µVision Debugger.

I am using Keilb µVision 3 Debugger.
The code is -
######################################################
u8 ERAMWrite(u32 ulAddress,u8 *ucData,u16 usLen)
{ unsigned char *ramarea= (unsigned char *)0x7FE00000; unsigned long *PCONP=(unsigned long *)0xE01FC0C4; //Power On Ethernet Device ramarea+=ulAddress; *PCONP|=(1<<30); if((ulAddress < 16384)) //16K Ethernet RAM { memcpy(ramarea,ucData,usLen); return(usLen); } else { return(0); }
} ######################################################

Any help in this regard is highly awaited.
Regards
Som Appu

0