-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stop watchdog #628
Comments
Perhaps the function
|
it did not work. I added these two lines in the loop and add the include. |
FreeRTOS does not appear to have anything to do with the wdt. The wdt appears to be fed from the wifi binary, the soft wdt from the mac counter. Perhaps the wifi layer is failing and hitting some assertion, e.g. if the NMI is disabled for too long it asserts. Perhaps try some of the following:
|
i try this without succes: while(1)
{
WDT.FEED = WDT_FEED_MAGIC;
sdk_wDev_MacTim1Arm(1600000);
sdk_pp_soft_wdt_feed();
WDT.CTRL &= ~WDT_CTRL_ENABLE;
DPORT.INT_ENABLE &= ~DPORT_INT_ENABLE_WDT;
//pp_soft_wdt_count = 0;
} pp_soft_wdt_count seem unknow ? Is not FreeRTOS taking care of the watchdog? PS: And it is reboot (wdt rst) when you disable all RTOS task. |
PS2: the code above make the system break; while(1)
{
// WDT.FEED = WDT_FEED_MAGIC;
// sdk_wDev_MacTim1Arm(1600000);
// sdk_pp_soft_wdt_feed();
WDT.CTRL &= ~WDT_CTRL_ENABLE;
DPORT.INT_ENABLE &= ~DPORT_INT_ENABLE_WDT;
//pp_soft_wdt_count = 0;
} don't work too. Automatic reset after some seconds |
i will try to enter in deep sleep mode to work around the problem. |
Did you find a way to stop |
This issue has been resolved because flash SPI speed |
How can i stop watchdog or feed him in a infinite loop ?
I want shutdown my device properly. In a function, i suspend FreeRTOS, set some level pin and i want finish by a infinite loop until the device is off.
The text was updated successfully, but these errors were encountered: