Hi - I’m using FreeRTOS 7.0 on LPC11C14, using CodeRed toolchain.
The application works great - until it crashes.
This happens after processing typically 50 - 200 CAN messages.
I’m getting a SIGSTOP, apparently in the IDLE task.
The application receives CAN messages in the background.
CAN ISR posts a msgobj# (one byte) entry into a 5-deep queue.
A task blocks on the queue, dequeues the msgobj#,
retrieves and processes the message, then blocks.
Debugging the hardfault in CodeRed is not working,
so I’ve added a few volatile flags to see what is active:
- the CAN ISR is not active
- the foreground CAN task is not active
Task pane in CodeRed says IDLE task is active.
I tried increasing the stack size without any effect.
Any ideas what to try, or how to debug this ?
Thanks in advance for any help !!!
Best Regards, Dave