Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Closed
rfsch opened this issue Apr 25, 2021 · 3 comments
Closed

Unable to flash Wemos D1 Mini v3 on reset rst cause:2, boot mode:(3,7) #7999

rfsch opened this issue Apr 25, 2021 · 3 comments

Comments

@rfsch
Copy link

rfsch commented Apr 25, 2021

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!

@Bighoneypot
Copy link
Contributor

Bighoneypot commented Apr 25, 2021 via email

@TD-er
Copy link
Contributor

TD-er commented Apr 26, 2021

Have you tried lower serial baud rate?
Or switch to DOUT flash mode.
See also: #7964

@Tech-TX
Copy link
Contributor

Tech-TX commented Apr 26, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants