YBoro
New Contributor
7 years agoTimer watchdog is not reset the nios.
Hi,
I want to add a watchdog with timer to my project.
I added to platform design the timer and the configuration i set is in pic1.
After I generated the HDL file, i added InitTimer_1(); function in C platform in pic 2.
In addition, every 10ms i am writing to period registers (pic3) as said in the user guide(pic4).
I did a while (1) loop in order to stuck the program. But there is no reset.
I know this because in the while loop i blink a LED on my board so the program still running and didnt restart?
Please advise.
thanks.
pic1:
pic 2:
pic3:
pic4: