Page 1 of 2
unable to connect to Wemos D1 Mini 3.0 NodeMCU flash firmwar
Posted:
Tue Apr 20, 2021 11:43 am
by jodo123
Hello
I am unable to connect to flash. Waiting for MAC... I tried to connect D3 to GND (manually with cable).
Do I need to solder the cable ? How do I know the Wemos is dead `? It is blinking blue when the Nodemcu tries to flash. The port is connected
Thanks for any help!
Re: unable to connect to Wemos D1 Mini 3.0 NodeMCU flash fir
Posted:
Thu Apr 22, 2021 3:07 am
by schufti
you shouldn't need to use any wires for flashing, all should be automatic from within arduino ide.
To see more detailed error messages, go to file/preferences and select both checkboxes for "Show verbose output during".
If you want to check on general state of esp: open serial monitor, set to 74880 baud and push reset button, you should see boot message of esp8266.
Re: unable to connect to Wemos D1 Mini 3.0 NodeMCU flash fir
Posted:
Fri Apr 23, 2021 10:47 am
by jodo123
Thank you for your help first of all!
This is the log from the serial monitor
17:43:44.848 ->
17:43:44.848 -> ets Jan 8 2013,rst cause:2, boot mode:(3,7)
17:43:44.848 ->
17:43:44.848 -> ets_main.c
and this is when connecting
C:\Users\RS\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1/python3 C:\Users\RS\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py --chip esp8266 --port COM7 --baud 921600 --before default_reset --after hard_reset write_flash 0x0 C:\Users\RS\AppData\Local\Temp\arduino_build_662067/sketch_apr17b.ino.bin
esptool.py v2.8
Serial port COM7
Connecting........_____....._____....._____....._____....._____....._____....._____
Traceback (most recent call last):
File "C:\Users\RS\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in <module>
esptool.main(cmdline)
File "C:/Users/RS/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2890, in main
esp.connect(args.before)
File "C:/Users/RS/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 483, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
Re: unable to connect to Wemos D1 Mini 3.0 NodeMCU flash fir
Posted:
Sat Apr 24, 2021 8:44 am
by schufti
hmm the connection is ok, you get output from bootloader but still connect from esptool fails.
The only thing left to try: set lower baudrate for flashing, something "standard" like 115200 or 230400