Can not load firmware into «Wemos D1 R32»

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
karles
Posts: 6
Joined: Sun Aug 16, 2020 11:25 am
Location: Oliva, Spain, Europe

Can not load firmware into «Wemos D1 R32»

Post by karles » Wed Mar 10, 2021 12:56 pm

I try to erase an «Wemos D1 R32» and to load a new firmware but I have some errors.

I pasted from my Ubuntu terminal:

Error1)
python esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash
esptool.py v3.1-dev
Serial port /dev/ttyUSB0
Connecting........_____....._____....._____....._____....._____....._____....._____

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

Error2)
python esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 115200 write_flash -z 0x1000 esp32spiram-idf3-20191220-v1.12.bin
esptool.py v3.1-dev
Serial port /dev/ttyUSB0
Connecting........_____....._____....._____....._____....._____....._____....._____

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

Someone can load micropython firmware into Wemos D1 R32 ?

karles
Posts: 6
Joined: Sun Aug 16, 2020 11:25 am
Location: Oliva, Spain, Europe

Re: Can not load firmware into «Wemos D1 R32»

Post by karles » Thu Mar 11, 2021 4:15 pm

I answer to myself
WeMos D1 R32 works great. To install the firmware, you just have to connect a wire between GND and «GPIO 00» and disconnect it after executing the terminal command.
The «GPIO 00» acts in «Wemos D1 R32» like the classic ESP32 "boot" button.
Carles.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Can not load firmware into «Wemos D1 R32»

Post by Roberthh » Thu Mar 11, 2021 7:13 pm

That's what the boot button does - connect GPIO0 to GND.

Post Reply