+ 4
How do we soft reset microcontroller without the help of Watch dog timer?
Using only C code without any hardware intervention.
8 Antworten
+ 1
Yh....but there are consequences if it's a slightly complex project
+ 2
What I mean is Only using C code not using any hardware pin
+ 2
Thanks Thunderbolt.
I was thinking same as a last resort
+ 1
Thanks Thunderbolt.
What I actually want is without accessing any hardware pin even through software
+ 1
Connect one of the high-impedance I/O to the pull-high !reset pin, initiate a low pulse to reset it.
0
Maybe pass a high value to its reset pin...
0
Yes...If u hv the .h needed, there are definitions for each pin it wld be something like
RESETPINNAME = 0x7fffffff;
0
Specially craft and cause an error that will crash the MC