Hi,
When I debug a LPC2103 program on MDK 3.22a, it always prompt me Data Abort error:
Data Abort: ARM Instruction at 00000428H, Memory Access at E0068020H
E0068020H is SSPICR register in LPC2103, and I had mapped this address in my ini file, like below:
/*Fast GPIO*/ MAP 0x3FFFC000,0x3FFFC01F READ WRITE /*SPI*/ MAP 0xE0068000,0xE006802F READ WRITE
Note that accessing to 0x3FFFC000 has no error.
Please help me, thanks a lot!
Hello Li Ruiming,
are you using the uVision Simulator?
In MDK 3.22a it is not neccessary to map Fast GPIO and SPI because both peripharals are simulated.
Best Regards, Martin Guenther
Thank you for response.
I have resolved this problem by reselect the LPC2103 cpu in the Device dialog.
I create this LPC2103 project in MDK 3.05 and recently upgraded to MDK 3.22a, it seems that MDK 3.05 doesn't map the GPIO and SSP, and when I upgrade, the map can't be upgrade automaticlly.