This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX task unresponsive. Power cycle doesn't help, but reset does.

Hi, All!

I am dealing with the most obscure bug I have ever encountered.
I am using LPC2144, Keil RTX and MDK 4.60.
I have a task waiting for event (forever) that is triggered by a pin state transition. The pin transition is detected with CAP0.0 (P0.22) interrupt and isr_evt_set it executed to continue the task execution.
The program works flawlessly until a certain point or until power loss. Afterwards, the interrupt refuses to trigger (led that toggles in the interrupt does not change it's state any more). OS works, tasks schedule correctly and even polling the P0.22 returns correct state. Only the interrupt never happens. In that case, only toggle of the reset line can restore proper functionality of the program.
It happens on all three boards I have assembled. I'm starting to think it might also be a HW bug, however, all VCC pins have proper decoupling capacitors and the board has a couple hundreds of uF on the 3.3V line.

Any suggestions would really be appreciated!

Regards,

Matic

0