jamielauren wrote on Tuesday, June 03, 2008:
Hi,
When I run a task, in a while(1) loop, it randomly restarts, resetting all variables. Could anyone tell me why?
Thanks,
jamielauren wrote on Tuesday, June 03, 2008:
Hi,
When I run a task, in a while(1) loop, it randomly restarts, resetting all variables. Could anyone tell me why?
Thanks,
jorick23 wrote on Tuesday, June 03, 2008:
Sounds like a total reboot to me. Check if you have enough stack space for the task. When this happens to me, I double my stack size and see if it changes anything.
woops_ wrote on Tuesday, June 03, 2008:
Good advise. You can also use the new stack check functions and stack inspectino functions in freertos.
Have you disabled the watchdog?