I have been working on Arduino mega controller and Firmware is developed using FreeRtos. We have created 5 task. One week it's working perfectly.But after that it's hanging and 13th pin of arduino changes within one second and its continues. We are not able to find where it goes while hanging... Please can u give solution for this problem... I also want to know why 13th pin is acting like this.... I am not able to understand what is happening...Please help me out of this situation...
Line 38 contains the error but as my crystal ball is a bit cracked I can't read all that line.
Please can u give solution for this problem...
Don't use FreeTOS.
Also posted at http://electronics.stackexchange.com/q/286635/128620
You also can use task macros, if you want a quick port from RTOS to the Arduino core.