Keil Logo

GENERAL: PRE-FETCH ABORT


Information in this article applies to:

  • All ARM Devices

QUESTION

I am executing the following program on a Philips LPC2000 device:

AREA CODEAREA1, CODE, AT 0x40000000

   LDR R0,=0x12345678
   BL  0x41000000

AREA CODEAREA2, CODE, AT 0x41000000
   LDR R1,=0x1111

When executing the instruction BL 0x4100000 I am getting a Prefetch Abort. Do you know the reason why?

ANSWER

A Prefetch Abort occurs when you try to execute code from non-existing memory regions. The Philips LPC2000 device does not have memory at 0x41000000 (some LPC22xx variants have external memory at 0x81000000). So it looks like you are intermixing the address ranges somehow.

MORE INFORMATION

  • Microcontroller Device Datasheet

SEE ALSO

Last Reviewed: Monday, July 10, 2006


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.