EmbeddedRelated.com
Forums

pabort exception ?

Started by tomi April 1, 2010
What does mean pabort exception ?

I have smal program on LPC2148: printf("Start");

In CrossStudio flash debug mode it working correctly - I see "Start" on
terminal, but in flash release mode I see only first two letters: "St" and
ARM stop at pabort_handler_address.

How to extract useful info why it crashed?

An Engineer's Guide to the LPC2100 Series

----Original Message----
From: l...
[mailto:l...] On Behalf Of tomi Sent: 01
April 2010 12:23 To: l...
Subject: [lpc2000] pabort exception ?

> What does mean pabort exception ?
>
> I have smal program on LPC2148: printf("Start");
>
> In CrossStudio flash debug mode it working correctly - I
> see "Start" on terminal, but in flash release mode I see
> only first two letters: "St" and ARM stop at
> pabort_handler_address.
>
> How to extract useful info why it crashed?

pabort is program abort, means it executed an undefined instruction.
This is usually due to stack overflow or corruption, or at least it has been for me.

If you google for "arm abort handler" there's some good articles on how to write an abort handler and find out which instruction caused the abort.

--
Tim Mitchell