Hello,
After a sketch has been uploaded to the Arduino(328p) the board is reset by dropping the USB DTR line low. What type of reset is this, a EXTRF(External reset) reset or a PORF(Power-on) reset?
Thanks,
-ren
Hello,
After a sketch has been uploaded to the Arduino(328p) the board is reset by dropping the USB DTR line low. What type of reset is this, a EXTRF(External reset) reset or a PORF(Power-on) reset?
Thanks,
-ren
It would be the former. From a mega328 datasheet:
? External Reset. The MCU is reset when a low level is present on the RESET pin for longer than
the minimum pulse length.
Lefty
Thanks Lefty,
Do you know if that is the same type of reset that happens when you press the reset button on the Arduino?
Thanks,
-ren
Do you know if that is the same type of reset that happens when you press the reset button on the Arduino?
Yes it is. And it is also the reset that the auto-reset DTR signal from the Arduino IDE generates just prior to uploading a new sketch.
Lefty
Thanks for your help!