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

Prefetch Abort:ARM Instruction at 0x0000000CH

Iam using LPC2888,using keil evaluation version(mdk322a).
here is the code which compiled without any error and warning.but when i tried to debug this iam getting the

Prefetch Abort:ARM Instruction at 0x0000000CH

#include <LPC288x.H>
void wait (void)
{ int d; for (d = 0; d < 1000000; d++);
}

main()
{ int i; MODE0_2 = 0xff;

while(1) {

for (i = 1<<16; i < 1<<23; i <<= 1) { MODE0S_2 = i; wait (); MODE0C_2 = i; }

for (i = 1<<23; i > 1<<16; i >>=1 ) { MODE0S_2 = i; wait (); MODE0C_2 = i; } }
}

my keil settings are:
R/O Base : 0x10400000
R/W BAse : 0x00400000

please guide me iam new to LPC2888..
Thanks

0