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.
Hi.
I am working with a LPC2388 and using the RTX.
I have 6 task and 2 interrupt running at the same time.
Everything is working fine, until the system crashes. The time from power-on until it stops working is not the same.
When I use my ULINK debugger I get "under flow" to one of the task that is running.
I have tried to increase the size of the stack in the interrupt mode, but getting the same result.
Has any one a good idea to solve my problem or had the same problem?
Well, if one of your stacks really underflows, then increasing its size will definitely not fix the problem - ever.
A stack underflow indicates that there is a fundamental problem with the code - it attempts to remove more elements from the stack than it put on the stack.