-->
Page 1 of 5

ESP-01 with FTDL232 and auto-bootloading out of Arduino-IDE

PostPosted: Sun Jun 21, 2015 9:46 am
by brutzler
Hi,
Just working on programming the ESP out of the arduino-IDE.
I build up my ESP-01 with an FTDL232 USB-TTL-converter, like shown on Github. (RTS to Reset, and DTR to GPIO0; with 10k pullups)
Now, I can load my program out of the Arduino IDE (1.65r2) without pressing any buttons or so)
Uploading the code is successfull.
BUT after uploading the ESP-01 stays in bootload-mode :-(
I made a record of the signals (RTS/DTR), and saw, that after downloading, they stay LOW. (look at the attached screenshot)

Anybody any idea, what's wrong?

Edit. Funny too, that the DTR-signal is oszillating during programming. Shouldn't it stay low?

Re: ESP-01 with FTDL232 and auto-bootloading out of Arduino-

PostPosted: Mon Jun 22, 2015 4:27 am
by tytower
Are you taking GPIO0 high after the upload?

Re: ESP-01 with FTDL232 and auto-bootloading out of Arduino-

PostPosted: Mon Jun 22, 2015 5:04 am
by brutzler
Not manually. Thought, this will be done automatically by DTR.
If I have to disconnect RTS and DTR after uploading, there is no benefit to the solution with the two switch buttons:
(One button for the Reset-pin and one button for the GPIO0-pin, to take them to GND.)

Re: ESP-01 with FTDL232 and auto-bootloading out of Arduino-

PostPosted: Mon Jun 22, 2015 6:21 am
by miker
I've tried using just the DTR pin but it didn't work. If you wire it up exactly like the NodeMCU dev boards then you should be good. I have not tried it yet though. On my board I hold down the GPIO_0 button and then apply power, then release the button. Would be nice go button free on the next design.