Page 1 of 1

Using esptool.py with RTS/CTS instead of RTS/DTR

Posted: Fri Jun 15, 2018 8:04 pm
by jimparis
I have a FTDI USB-to-serial adapter that only brings out TX, RX, RTS, and CTS, so I hooked it up directly to the ESP32 as follows:

Code: Select all

RTS --> EN
CTS --> IO0/BOOT
 TX --> RXD0
 RX <-- TXD0 
Then I wrote a esptool.py wrapper that makes it work, via libftdi & switching in and out of bitbang mode as needed:

https://github.com/jimparis/esptool-ftdi

Works great here. Maybe someone else will find it useful.

Jim

Re: Using esptool.py with RTS/CTS instead of RTS/DTR

Posted: Mon Jun 18, 2018 12:24 am
by ESP_Angus
Nice trick!

Re: Using esptool.py with RTS/CTS instead of RTS/DTR

Posted: Wed Apr 24, 2019 5:25 pm
by Gaz0rp
Can it be used to use CTS instead of RTS? My FTDI has one DTR, but just CTS.

Re: Using esptool.py with RTS/CTS instead of RTS/DTR

Posted: Fri Apr 26, 2019 3:39 pm
by jimparis
So you want CTS/DTR instead of RTS/DTR? I can't test that easily here, but try the cts-dtr branch on github. Connect CTS to EN and DTR to IO0/BOOT.

Jim