Go Down

Topic: Arduino USB DTR line reset type? (Read 2917 times) previous topic - next topic

renasis

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

retrolefty

It would be the former. From a mega328 datasheet:

Quote
? External Reset. The MCU is reset when a low level is present on the RESET pin for longer than
the minimum pulse length.


Lefty

renasis

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

retrolefty

Quote
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

renasis


Go Up