cancel
Showing results for 
Search instead for 
Did you mean: 

Tracing Undefined_Handler origen.

info37
Associate II
Posted on October 13, 2009 at 18:25

Tracing Undefined_Handler origen.

This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
info37
Associate II
Posted on May 17, 2011 at 09:58

Hi. Is it possible to locate in the source code what sentence causes a jump to the Undefined_Handler ? I'm using IAR's workbench.

Thank you.

Mark

tomas23
Associate II
Posted on May 17, 2011 at 09:58

Hi Mark, create a handler for the Undefined, eg. B Undefined_Handler to stop there. Then place a breakpoint there and when the code stops, read the LR, it should point to PC+4 or PC+8. Then look for this address in the disassembly window of IAR.

Pls read the ARM Architecture Reference Manual or ARM966 Technical Reference Manual on www.arm.com, section about exceptions.

Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.