ARM Technical Support Knowledge Articles

PRE-FETCH ABORT

Applies to: General Topics

Answer


Information in this article applies to:


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

SEE ALSO

Article last edited on: 2006-07-10 15:05:09

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential