We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I use the NXP LPC 2368 and want to write a function to save the exceptions Data Abort Error, Undefined Instruction Error and Pre-fetch Abort Error in a seriel EEPROM and after reset the CPU. How can I overwrite the dummy exception handler Undef_Handler, PAbt_Handler and DAbt_Handler with C code? I found the technical support: http://www.keil.com/support/docs/3027.htm If I write the irq-functions there is no warning and no error so far so good. But if I test the irq the PC stuck always in the dummy function in startup and not in my own function! Somebody have a idea?
Add the following line to the startup before referencing your function:
IMPORT ProgramAbortHandler