-->
Page 1 of 1

NodeMCU : download mode

PostPosted: Sat Apr 11, 2015 3:46 am
by snice
Hi

I have a NodeMCU and use the Arduino IDE. Is there a way to upload compiled code easily because today I have to unplug USB cable press and hold Flash button and replug USB... A little bit annoying when you just have to click Save in ESPlorer (Lua Firmware). Ok Lua is interpreted on the ESP where sketch is compiled on PC and Flahed via esptool... But how do you do?

Thanks

Re: NodeMCU : download mode

PostPosted: Sat Apr 11, 2015 4:05 am
by ozayturay
If your USB TTL adapter has both DTR and RTS it is easy peasy.

Just connect DTR to GPIO0 and RTS to REST or CH_PD together. Then when you press the upload button ESP8266 will enter bottloader mode automatically.

CHERTS has a schematic for this: viewtopic.php?f=9&t=820

Re: NodeMCU : download mode

PostPosted: Sat Apr 11, 2015 6:54 am
by snice
I have the NodeMCU dev kit, it include a USB-TTL and there is a Flash button to activate it. Strangly this work if I flash using the ESPFlasher...