-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Unable to flash Wemos D1 Mini v3 on reset rst cause:2, boot mode:(3,7) #7999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Which board have you select in boards manager?
…On Sun, 25 Apr 2021, 18:07 Rupert Schaffarz, ***@***.***> wrote:
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
Here are the errors from Arduino IDE:
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
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
The interesting part is that I have a batch of 4 Wemos.
Two good ones: reply with boot mode:(3,6)
when resetting
This one: boot mode:(3,7)
Another one: has no power at all when connecting the mini usb
I have read that 7 means SDIO v2.0 Highspeed
Thanks for any help!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7999>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIPMDFF6VD4MKOQDN4TS7MLTKQ44LANCNFSM43RNPR7Q>
.
|
Have you tried lower serial baud rate? |
It's a hardware error - the ets_main.c tells me that it didn't recognize the boot mode after reset. Sounds like a cheap clone with bad soldering or wonky components, especially since other boards work. This is a "how do I" question better handled on esp8266.com, as the issue template points out. It's not a problem with the core or included libraries. |
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
Here are the errors from Arduino IDE:
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
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
The interesting part is that I have a batch of 4 Wemos.
Two good ones: reply with boot mode:(3,6)
when resetting
This one: boot mode:(3,7)
Another one: has no power at all when connecting the mini usb
I have read that 7 means SDIO v2.0 Highspeed
Thanks for any help!
The text was updated successfully, but these errors were encountered: