-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Arduino Due watchdog support 1.6.5 #3889
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
Comments
SAM core version is 1.6.4. But an update to 1.6.5 is not available. Is there a possibility to perform the update manually? |
At the moment the only way to apply an almost I'm really sorry for the inconvenience and I'll push for a fast release of the updated core. |
I tried to get the watchdog running with Arduino IDE 1.6.6 Hourly Build 2015/09/28 06:26. I put the latest SAM core (downloaded from https://mega.nz/#!R5JzSaYb!oRss5QcoL1Jv6pvULNzdcNulSQrmnDhtPKPo2F4qve4) into the sketchbook and chose the Arduino Due board from 'ARM boards PR 3524'. Everything seems to work fine. Then tested the watchdog with this basic sketch:
The compiler does not complain, but the Arduino does NOT restart und stays in the loop :( |
Testing right now, I'll report the results here as soon as I can |
Ok, found, there is a hole in the documentation about watchdog usage on DUE. watchdogSetup(void) {
// do what you want here
} in your sketch to get things working right. |
Thanks for the quick help! Everything is working fine now. |
Glad it solved your issue! |
Is there any chance to generalize this API to other boards (328-based, 2560-based, 32U4-based, Zero...) in order to homegenize this feature? |
Watchdog does not work for arduino using IDE 1.6.5. However, according to the realease notes of 1.6.5 watchdog should already be implemented.
https://www.arduino.cc/en/Main/ReleaseNotes
The text was updated successfully, but these errors were encountered: