Avoiding ESP32 autoreset on Serial connection.
Posted: Mon Jun 25, 2018 8:51 am
I'm trying to make a basic program, which establishes UART connection. My main problem is that every time I open Serial connection the board resets itself. I'm using custom board with ESP32-DOWDQ6. RTS AND DTR pins of USB-> Serial converter are connected to Chip_EN and GPIO0 & GPIO2 pins of ESP32. When I flash ESP32 with ESPTOOL the ESP32 hard restarts and runs the program. When I try to connect to ESP32 via python or picocom (On Linux) RTS goes low and DTR goes too, causing ESP32 to run in bootloader. I'd like to avoid fancy setup scripts, like setting DTR HIGH and restart ESP while oppening Serial port. The question is how can I do it?