How Can I Reflash ESP32 Firmware?

jrybak
Posts: 1
Joined: Thu Sep 27, 2018 10:03 pm

How Can I Reflash ESP32 Firmware?

Postby jrybak » Thu Sep 27, 2018 10:15 pm

I completely erased the firmware in my ESP-WROOM-32 because I wanted to replace it with MicroPython. I now want to restore the original ESP-WROOM-32 firmware. Can someone please tell me how to do it?

Thank you very much.

canada_eh
Posts: 5
Joined: Sat Jul 07, 2018 1:53 pm

Re: How Can I Reflash ESP32 Firmware?

Postby canada_eh » Tue May 04, 2021 5:41 am

*BUMP*

How is there no answer to this?? It's like in the top-10 google results, but there's NO ANSWER GIVEN?? :oops:

ESP_Dazz
Posts: 308
Joined: Fri Jun 02, 2017 6:50 am

Re: How Can I Reflash ESP32 Firmware?

Postby ESP_Dazz » Tue May 04, 2021 8:07 am

There should be no reason why you couldn't reflash the firmware. The firmware was probably running the AT firmware, which is documented via this link.

The easiest way to flash a single module is just to use esptool, then write each of the binaries (i.e., partition table, bootloader, application binary etc) at their specified addresses (see download.config inside the AT firmware zip).

If you already have esp-idf installed as per the getting stated guide, you should be able to call esptool.py write_flash to write the binaries in manually.

If you don't have esp-idf installed, you can still get esptool as a stand alone tool (see link)

Who is online

Users browsing this forum: No registered users and 109 guests