2009-10-13 09:25 AM
Tracing Undefined_Handler origen.
2011-05-17 12:58 AM
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. Mark2011-05-17 12:58 AM
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.