Skip to content
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

Implement Watchdog for Energia MT-Supported Boards #33

Open
robertinant opened this issue Aug 29, 2016 · 4 comments
Open

Implement Watchdog for Energia MT-Supported Boards #33

robertinant opened this issue Aug 29, 2016 · 4 comments

Comments

@robertinant
Copy link
Member

From @rei-vilo on December 6, 2015 17:39

Implement watchdog for the boards supported by EMT.

HAL is provided by Energia.app/Contents/Resources/Java/hardware/emt/ti/drivers/Watchdog.h.

Unlike the other RTOS elements proved in the Galaxia library, each platform has watchdog-related specifics under the Energia.app/Contents/Resources/Java/hardware/emt/ti/drivers/watchdog folder.

  • WatchdogCC26XX.h
  • WatchdogCC3200.h
  • WatchdogMSP430.h
  • WatchdogMSP432.h
  • WatchdogTiva.h

Copied from original issue: energia/Energia#782

@robertinant
Copy link
Member Author

I think we should stick this into a library. MSP430 currently (ab)uses the watchdog timer as an interval timer to keep track of millis/micros.

@rei-vilo
Copy link
Member

rei-vilo commented Jan 10, 2017

That would be a great idea. For EMT-based projects, it is easy. The question is more about non-EMT projects.

@rei-vilo
Copy link
Member

See the example and discussion for the CC3200 at http://forum.43oh.com/topic/9346-cc3200-watchdog/

Not sure it works on the MSP432.

@rei-vilo
Copy link
Member

The only caveat is the WDT_IF_DeInit() function doesn't seem to deactivate the watchdog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants