We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
I assume that you are using the simulator.
Access to LPC23xx/24xx Ethernet RAM has been added recently in the simulator and will be part of the next release of MDK.
If you need a update please contact support.intl@keil.com.