Page 1 of 1

Can not load firmware into «Wemos D1 R32»

Posted: Wed Mar 10, 2021 12:56 pm
by karles
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 ?

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

Posted: Thu Mar 11, 2021 4:15 pm
by karles
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.

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

Posted: Thu Mar 11, 2021 7:13 pm
by Roberthh
That's what the boot button does - connect GPIO0 to GND.