Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

watchdog

Altera_Forum
Honored Contributor II
1,363 Views

Hello everybody, 

 

¿Anyone has included a watchdog in sopc builder? 

 

¿Can I restart the watchdog from the c file loading in the micro? 

 

¿Is there any example with the watchdog timer? 

 

Many thanks, 

 

ifdm
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
299 Views

You can add an interval timer configured as a watchdog. See the documentation here: http://www.altera.com/literature/hb/nios2/n2cpu_nii51008.pdf

To use it in your software, you first have to start it, and then regularly write any value as its period to reset it.
0 Kudos
Reply