wjwwood / serial

Cross-platform, Serial Port library written in C++
http://wjwwood.github.com/serial/
MIT License
2.11k stars 1.02k forks source link

121 timeout error with raspberry pi pico (rp2040) #265

Open MaxTheMooshroom opened 2 years ago

MaxTheMooshroom commented 2 years ago

Documenting this issue for other people.

Issue: When using the included test, cannot write to the rp2040, instead raising error code 121 timeout error.

Details: Plugging in a raspberry pi pico and running the available test yields 121 timeout errors.

Solution: Enable DTR with my_serial.setDTR(DTR_CONTROL_ENABLE); after instantiation of my_serial.