Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ESP32-C3 Dronebridge Reset on First connect on Windows #3469

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EosBandi
Copy link
Collaborator

For some weird reason the WinSerial driver coupled with the ESP32 SerialOverUSB drive changes the RTS line at connect. But only at the first connect after power up.
The fix is to set RTS/CTS handshake enable but just for the open command, and disable it immediately.
I added a new option to Planner Settings to enable this function, so it can be enabled only on when needed, and does not interfere with any other serial settings.

Note: If you once had a reset on connect, it stuck so you have to remove/reconnect the esp32 before trying again.

@rmackay9
Copy link
Contributor

rmackay9 commented Dec 29, 2024

This is great to see, thanks so much for this!

BTW, here's the related issue/discussion on the DroneBridge side DroneBridge/ESP32#93

@seeul8er
Copy link

@EosBandi Works great, thank you! Please let me know if you have any further comments regarding the firmware and on how to make things more smooth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants