[PARTLY SOLVED] Howto: non-button upload? Can I use DTR?
Posted: Sat Sep 03, 2016 5:21 pm
I have a Huzzah ESP-12E wired to an FTDI usb-serial board.
To upload a sketch, I have to momentarily press the reset button while holding the Flash button. I have to keep holding the flash button until the sketch upload starts then I can let it go.
This is inconvenient, and one can compare it to the nodeMCU board which simply accepts the uploaded sketch without any button magic. This uses a 2 transistor flip flop. I don't understand why it works and I'd like a simpler solution.
from googling a bit it looks like there might be a way to use DTR from the FTDI to get the Huzzah to automatically accept sketches.
I tried connecting DTR to RST and FLASH (GPIB0) and that didn't work. When I connected it just to FLASH then it still required me to press the RST button manually. And moreover, the results here were not completely consistent. Sometimes the upload would not work when wired that way, and sometimes it would. SO EVIDENTLY I DON'T KNOW HOW THESE SIGNALS WORK QUITE RIGHT.
Can someone help me understand how to get this to just let me upload a sketch without pushing any buttons or worse holding buttons till the IDE uploads?.
To upload a sketch, I have to momentarily press the reset button while holding the Flash button. I have to keep holding the flash button until the sketch upload starts then I can let it go.
This is inconvenient, and one can compare it to the nodeMCU board which simply accepts the uploaded sketch without any button magic. This uses a 2 transistor flip flop. I don't understand why it works and I'd like a simpler solution.
from googling a bit it looks like there might be a way to use DTR from the FTDI to get the Huzzah to automatically accept sketches.
I tried connecting DTR to RST and FLASH (GPIB0) and that didn't work. When I connected it just to FLASH then it still required me to press the RST button manually. And moreover, the results here were not completely consistent. Sometimes the upload would not work when wired that way, and sometimes it would. SO EVIDENTLY I DON'T KNOW HOW THESE SIGNALS WORK QUITE RIGHT.
Can someone help me understand how to get this to just let me upload a sketch without pushing any buttons or worse holding buttons till the IDE uploads?.