-->
Page 1 of 1

esptool -cd ck, DTR and Serial Monitor

PostPosted: Tue Aug 25, 2015 5:47 pm
by stb
After managing to get uploading working, and swapping out my serial adapter for a Pololu CP2104 board, I'm trying to get the automatic "reset into bootloader" going. I've hooked up GPIO0 to DTR, and RESET to RTS. It's not working.

I did manage to get reset working by connecting RTS to a small RC circuit, and I've tried inverting DTR, as the PL2104 has active-low outputs for RTS and DTR. esptool sets DTR to 1 (in my case, pulling it low). Inverting that using a TUN gets me the right level at GPIO0. But: Serial Monitor also asserts DTR, putting the module into bootloader mode on the next reset.

Is Serial Monitor doing the right thing? Should I use a different hookup, for example, the nodemcu one?

Re: esptool -cd ck, DTR and Serial Monitor

PostPosted: Tue Aug 25, 2015 6:15 pm
by stb
I've changed to the -cb nodemcu method, adjusting my setup according to the nodemcu schematic. My code runs when I open Serial Monitor, but the upload doesn't work.