This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
snippets:watchdog [2013/04/09 15:45] – created ba | snippets:watchdog [2013/04/09 16:32] – ba | ||
---|---|---|---|
Line 5: | Line 5: | ||
Once enabled, the 32bit watchdog timer register gets decremented every clock cycle. | Once enabled, the 32bit watchdog timer register gets decremented every clock cycle. | ||
If the Toggle Watchdog C-Node is executed, the watchdog timer register is reloaded with the value given by the Enable Watchdog C-Node.\\ | If the Toggle Watchdog C-Node is executed, the watchdog timer register is reloaded with the value given by the Enable Watchdog C-Node.\\ | ||
- | If the watchdog timer register reaches zero before it is toggled | + | If the watchdog timer register reaches zero before it is toggled the processor is reseted and the flashed program is booted and executed from start.\\ |
- | {{: | + | Typically the " |
- | {{: | + | |
- | {{: | + | | |
+ | {{: | ||
+ | {{: | ||
+ | |||
+ | **notes: | ||
+ | * This c-nodes work on any target, but only in compiled mode | ||
+ | * Once the watchdog is enabled, debugging gets complicated. For this reason add the watchdog only at the very end of a development cycle | ||
+ | * If you need to survey several parallel loops, insert the " | ||
+ | * A reset during a file function can corrupt a file system | ||
+ | * When inserting the in line C-nodes the following warnings are generated.\\ This warning can be ignored, because it is about a disabled part of the block diagram. |