Replies: 1 comment
-
It's already there for USB, see: arduino-pico/cores/rp2040/SerialUSB.cpp Lines 182 to 221 in bc7adf4 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'd like to make use of the automatic reset on DTR line feature found on Arduinos.
Essentially, if you connect via serial, upon opening the connection the DTR line will pulse and the ATMega will be reset.
Is there an equivalent feature for the rp2040? Is it possible to implement it on my own, for example by attaching an interrupt to the virtual DTR pin (i know that the rp2040 uses USB-CDC for its serial connection)
If that's not possible, then is there an easy way to reset the rp2040 using the serial connection, without just sending a special packet interpreted by the program over the data lines?
Beta Was this translation helpful? Give feedback.
All reactions