Hi all,
I am having trouble with my app. It simply has 2 tasks one for general application and the other for receiving/sending rs485 commands from uart2. Here is a gist of : my task table
{ "Wdog", fnTaskWatchdog, NO_QUE, 0, (DELAY_LIMIT)( 0.3 * SEC ), UTASKER_GO},
{ "app", fnApplication, MEDIUM_QUE, (DELAY_LIMIT)((0.10 * SEC) + (PHY_POWERUP_DELAY)), 0, UTASKER_STOP}, // Application - start after Ethernet to be sure we have Ethernet handle
{ "X-turnstile-application", fnTurnstileApplication, LARGE_QUE, (DELAY_LIMIT)(2 * SEC),(DELAY_LIMIT)(0.1 * SEC), UTASKER_STOP}, // main application
{ "x-PP_Receive", fnTaskPPReceive, LARGE_QUE, (DELAY_LIMIT)(NO_DELAY_RESERVE_MONO), 0, UTASKER_STOP}, // uart receiving task
Here is an debug output from uart0
APP is working
Turnstile app is working
pp receive started to work
App is working
I assume that while PP is working device restarts maybe because of watchdog. So in gist, how can i kick the watchdog to prevent it from resetting?