hi, Am using LPC2366.From the keil sample software i took two macros IENABLE and IDISABLE and their definitions,used in ISR routine as in sample code.But my software hangs at PAbt_Addr DCD PAbt_Handler.what is the reason?
Hi Keshan,
the macros you are trying to use to get nested interrupts don't really work. ARM provides a document called "Exception_Handling.ppt" which explains in detail how to handle nested interrupts. I can tell you that you can not use the compiler provided interrupt interface "__irq" to fulfill the ARM requirements. You may have to implement your own assembly interface for nested interrupts and write your high-level handlers in C or C++.
Frank