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 am using lpc2132 device in my application. I am using EXINT3,uart0,uart1,timer0,timer1 interrupt. When all above interrupt enable then my application hang in 4-5 hours. When we disable one of the interrupt like EXINT3 or uart0 then my application work properly .Please help me about it.
What do you mean by, "like EXINT3 or uart0" ?
Does it mean that you have determined that these are the only two that trigger the symptoms? If that's that case, then it clearly gives you a focus for your debugging!
Other than that, it's impossible to say - only you have your system, so only you can debug it!
I recommend that you start by determining what exactly is happening when it's in this "hung" state...
More debugging tips (not 8052 specific): www.8052.com/.../120313
EXTINT3 or uart0 means when we disable either uart0 interrupt or disable external interrupt 3 then my system worked fine. When we debug our system then i see that my system in hang condition then it execute the "DAbt_Handler B DAbt_Handler" instruction in startup.s file
Hopefully, you can learn something from the value of R14 (LR) when your program hangs. It should point to the instruction that caused the exception, unless your PC took a hike first...
Are you running with nested interrupts, and running out of interrupt stack space?