scientifichackers/ampy

not neccessarily working on esp32-cam-mb

TecDroiD opened this issue · 1 comments

i just got an esp32-cam with esp32-cam-mb which is basically a ch340c and a6206a (3.3v regulator). Seems, that RTS# is connected to RST of the ESP32 and DTR# to IO0, which enables chip flashing. To communicate with the ESP32, both must be low.
I know that you use TelnetLib for Connection in which there is a COM_PORT_OPTION which can set it see: https://tools.ietf.org/html/rfc2217#page-8 Maybe there could be an option implemented to set DTR and RTS directly?

here is an example of some python code which handles a similar situation:

https://esp32.com/viewtopic.php?t=6210