-
Notifications
You must be signed in to change notification settings - Fork 34
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
Clear RTS and DTR in serial console #1382
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still open |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bump? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Any chance to get this implemented? |
Hm, I have a similar case where RTS# (CHIP_EN) and DTR# (GPIO9/boot loader strapping) are directly connected. Normally there is a logic which makes modules ignore active RTS/DTR signals ("active" is low since those are low active signals). Anyways, unfortunately it seems that pyserial at least in Linux causes a change of RTS/DTR signals when trying to set them to But maybe adding this feature as an option makes sense. |
I wasn't able to set RTS/DTR See also: pyserial/pyserial#124 |
Operating environment/Installation (Hass.io/Docker/pip/etc.):
Windows 10, pip installation
ESP (ESP32/ESP8266, Board/Sonoff):
ESP-07 (512K Flash)
ESPHome version (latest production, beta, dev branch)
1.14.5
Affected component:
https://esphome.io/guides/getting_started_command_line.html
Description of problem:
I'm using the ESP-07 with only 512K Flash, so I can't use OTA updates, which requires me to use the serial cable. Upload works fine, but after uploading I need to disconnect the RTS and DTR pins to the serial converter, because both lines are held active (low) in the serial terminal and therefore the ESP doesn't start. As soon as I quit the serial terminal from esphome or disconnect RTS and DTR, the program starts.
Problem-relevant YAML-configuration entries:
NOT RELATED TO YAML
Logs (if applicable):
Additional information and things you've tried:
I would suggest to change the code of
run_miniterm
to something like this:The text was updated successfully, but these errors were encountered: