Imposible to flash ESP8266
Posted: Thu Feb 25, 2021 4:56 pm
Hi,
Total noob here. I just ordered a couple of wemos D1 mini, for a little project of home automation.
I have also ordered a USB FTDI stick.
I plugge it in the computer and everything is installed fine, now the problems being.
I have tried to flash de D1, using ESP easy, esptool, NodeMCU Pyflasher, and the all fail
The reason for all of them seems to be that they cannot connect/open to the board.
The odd thing is that if I just open putty and type something, I do get response from the D1
For example if I press the reset button on the D1 I get this output in the putty window
>
> 0▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
NodeMCU custom build by frightanic.com
branch: master
commit: c8037568571edb5c568c2f8231e4f8ce0683b883
SSL: false
modules: cjson,file,gpio,net,node,pwm,tmr,uart,wifi
build built on: 2016-03-14 02:10
powered by Lua 5.1.4 on SDK 1.4.0
lua: cannot open init.lua
But the logs on the ESP Easy show the following
######2021-02-25######
#######0.04.007#######
######FLASH INFO######
BIN file: ESP_Easy_mega_20210223_normal_ESP8285_1M.bin
COM port: (COM3) FTDI USB Serial Port (Port_#0001.Hub_#0003)
Baud rate: 115200
######POST FLASH######
No post flash information entered...
######FLASH LOG######
[esptool.exe -vv -cd nodemcu -cb 115200 -cp COM3 -ca 0x00000 -cf "F:\ESPEasy_ESP82xx_mega-20210223\bin\ESP_Easy_mega_20210223_normal_ESP8285_1M.bin"]
[25/02/2021 22:39:09] esptool v0.4.13 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
[25/02/2021 22:39:09] setting board to nodemcu
[25/02/2021 22:39:09] setting baudrate from 115200 to 115200
[25/02/2021 22:39:09] setting port from COM1 to COM3
[25/02/2021 22:39:09] setting address from 0x00000000 to 0x00000000
[25/02/2021 22:39:09] espcomm_upload_file
[25/02/2021 22:39:09] espcomm_upload_mem
[25/02/2021 22:39:09] setting serial port timeouts to 1000 ms
[25/02/2021 22:39:09] opening bootloader
[25/02/2021 22:39:09] resetting board
[25/02/2021 22:39:09] trying to connect
[25/02/2021 22:39:09] flush start
[25/02/2021 22:39:09] setting serial port timeouts to 1 ms
[25/02/2021 22:39:09] setting serial port timeouts to 1000 ms
[25/02/2021 22:39:09] flush complete
[25/02/2021 22:39:09] espcomm_send_command: sending command header
[25/02/2021 22:39:09] espcomm_send_command: sending command payload
[25/02/2021 22:39:09] serialport_receive_C0: 00 instead of C0
Any ideas? I have tried changing the USB port in the computer, using a different computer, different USB cable, different cables connecting the FTDI adapter and the board, but the result is always the same
Thanks for you help
Total noob here. I just ordered a couple of wemos D1 mini, for a little project of home automation.
I have also ordered a USB FTDI stick.
I plugge it in the computer and everything is installed fine, now the problems being.
I have tried to flash de D1, using ESP easy, esptool, NodeMCU Pyflasher, and the all fail
The reason for all of them seems to be that they cannot connect/open to the board.
The odd thing is that if I just open putty and type something, I do get response from the D1
For example if I press the reset button on the D1 I get this output in the putty window
>
> 0▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
NodeMCU custom build by frightanic.com
branch: master
commit: c8037568571edb5c568c2f8231e4f8ce0683b883
SSL: false
modules: cjson,file,gpio,net,node,pwm,tmr,uart,wifi
build built on: 2016-03-14 02:10
powered by Lua 5.1.4 on SDK 1.4.0
lua: cannot open init.lua
But the logs on the ESP Easy show the following
######2021-02-25######
#######0.04.007#######
######FLASH INFO######
BIN file: ESP_Easy_mega_20210223_normal_ESP8285_1M.bin
COM port: (COM3) FTDI USB Serial Port (Port_#0001.Hub_#0003)
Baud rate: 115200
######POST FLASH######
No post flash information entered...
######FLASH LOG######
[esptool.exe -vv -cd nodemcu -cb 115200 -cp COM3 -ca 0x00000 -cf "F:\ESPEasy_ESP82xx_mega-20210223\bin\ESP_Easy_mega_20210223_normal_ESP8285_1M.bin"]
[25/02/2021 22:39:09] esptool v0.4.13 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
[25/02/2021 22:39:09] setting board to nodemcu
[25/02/2021 22:39:09] setting baudrate from 115200 to 115200
[25/02/2021 22:39:09] setting port from COM1 to COM3
[25/02/2021 22:39:09] setting address from 0x00000000 to 0x00000000
[25/02/2021 22:39:09] espcomm_upload_file
[25/02/2021 22:39:09] espcomm_upload_mem
[25/02/2021 22:39:09] setting serial port timeouts to 1000 ms
[25/02/2021 22:39:09] opening bootloader
[25/02/2021 22:39:09] resetting board
[25/02/2021 22:39:09] trying to connect
[25/02/2021 22:39:09] flush start
[25/02/2021 22:39:09] setting serial port timeouts to 1 ms
[25/02/2021 22:39:09] setting serial port timeouts to 1000 ms
[25/02/2021 22:39:09] flush complete
[25/02/2021 22:39:09] espcomm_send_command: sending command header
[25/02/2021 22:39:09] espcomm_send_command: sending command payload
[25/02/2021 22:39:09] serialport_receive_C0: 00 instead of C0
Any ideas? I have tried changing the USB port in the computer, using a different computer, different USB cable, different cables connecting the FTDI adapter and the board, but the result is always the same
Thanks for you help