Can't Flash/Upload Anything to NodeMCU
Posted: Tue Jan 10, 2017 2:42 pm
I bought this board and have been trying to flash an arduino program written for the esp8266 onto it, but nothing seems to work. I've put the board into flash mode, and when I try to upload the program the blue light on the board blinks 3 times and then the whole thing fails.
I have also tried using the NodeMCU flasher software but that can't find the device either. It just loops at
I have the Silicon Labs CP210x driver installed, and both arduino and NodeMCU flasher can see the port COM 3 which it is connected to, but neither can actually send anything to it. Also I tried installing the CH341 drivers based on what other forums/guides have said to do, but it just says "driver has been preinstalled" and never actually finds a device.
Anyone think that they can help me? Thanks!
Arduino: 1.8.1 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 160 MHz, 921600, 4M (3M SPIFFS)"
Sketch uses 222249 bytes (21%) of program storage space. Maximum is 1044464 bytes.
Global variables use 31576 bytes (38%) of dynamic memory, leaving 50344 bytes for local variables. Maximum is 81920 bytes.
C:\Users\jjdea\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.9/esptool.exe -vv -cd nodemcu -cb 921600 -cp COM1 -ca 0x00000 -cf C:\Users\jjdea\AppData\Local\Temp\arduino_build_850662/sketch_jan09a.ino.bin
esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to nodemcu
setting baudrate from 115200 to 921600
setting port from COM1 to COM1
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
espcomm_upload_mem
SetCommState call failed
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I have also tried using the NodeMCU flasher software but that can't find the device either. It just loops at
Note:Serial port connected.
Note:Begin find ESP8266.
I have the Silicon Labs CP210x driver installed, and both arduino and NodeMCU flasher can see the port COM 3 which it is connected to, but neither can actually send anything to it. Also I tried installing the CH341 drivers based on what other forums/guides have said to do, but it just says "driver has been preinstalled" and never actually finds a device.
Anyone think that they can help me? Thanks!