This is a very strange problem.
I have a motor control app running on an MSP430F5638. It will run brilliantly for a while, then suddenly every single Task_sleep() fails to return.
I've grepped through the code to see if I'm stepping on any used timers, but everything appears fine. I can't find any memory over-writes, or any stack overflows, or anything that might cause mayhem and chaos.
The fact that it'll run fine for about 2-3 minutes is suspicious.
HOWEVER -the system heartbeat timer routine still runs, so SOMETHING is still sane and doesn't kill every timer on the chip.
I looked into each tasks info using ROV, I see the blocked on Task_sleep(but the number in the parents is HUGE. I'm passing #define values in, so this seems suspect.
Does anyone have any pointers as to where I might look next? This is kind of a showstopper..
All help appreciated!
Ed Averill