Pages: [1]   Go Down
Author Topic: Arduino USB DTR line reset type?  (Read 2759 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 85
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17301
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 85
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17301
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 85
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for your help!
Logged

Pages: [1]   Go Up
Jump to: