Hi all, I want to do software reset of micaz in my tinyos app when some condition occurs. I searched this list and find this post: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-November/021118.html, which shows the procedure to achieve my goal.
-enable watchdog (check the WDT interface provided by WDTC) with very small timeout ( say few ms). -Run a loop which consumes fairly more time then the timeout for watchdog. However, I cannot find wdt WDT interface in tos/interfaces directory and any wdtc implemention. I guess it is related to mcu watchdog, am i right? I also found this post: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-November/037055.html, and studied its sample nc code. But the code is not complete, and I cannot find in tos tree where to locate wdt_enable(WDTO_1S). Can anyone help on this? Thx. Cheers DJ Institute for Infocomm Research disclaimer: "This email is confidential and may be privileged. If you are not the intended recipient, please delete it and notify us immediately. Please do not copy or use it for any purpose, or disclose its contents to any other person. Thank you." _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
