# ESP32 firmware problems

**URL:** <https://community.openenergymonitor.org/t/esp32-firmware-problems/15685>\
**Category:** OpenEVSE\
**Tags:** esp32\
**Created:** [13 October 2020 11:45 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685 "2020-10-13T11:45:01Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![oz1paj](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/o/22d042/32.png) [@oz1paj](https://community.openenergymonitor.org/u/oz1paj)\
**Post date:** [13 October 2020 11:45 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/1 "2020-10-13T11:45:01Z")

</div>

Hi I have a issue with the ESP32 module for the OpenEVSE system.

Of some reason maybe a interrupted upload of firmware I now have a ESP32 not working.  
The board is now rebooting all the time with the following output on the uart:

rst:0x10 (RTCWDT\_RTC\_RESET),boot:0x13 (SPI\_FAST\_FLASH\_BOOT)  
flash read err, 1000  
ets\_main.c 371

I have tried with diffrent versions with out any luck.

I am using the NodeMCU PyFlasher to flash the prebuild image.

But if I try with Arduino and uploading a fresh compiled test software the ESP32 starts up, without any problems.

What is it that I am doing wrong here, can it be that the downloaded image must be uploaded thug the web interface, is so how can I get back on track again.

Best regards  
Peter

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [13 October 2020 13:27 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/2 "2020-10-13T13:27:53Z")

</div>

@glyn.hudson is the man to help

---

<div class="post-metadata">

**Author:** ![oz1paj](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/o/22d042/32.png) [@oz1paj](https://community.openenergymonitor.org/u/oz1paj)\
**Post date:** [16 October 2020 06:47 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/3 "2020-10-16T06:47:34Z")

</div>

Am I really the first one with this problem?

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [16 October 2020 11:27 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/4 "2020-10-16T11:27:38Z")

</div>

@glyn.hudson @TrystanLea - sorry they are the only 2 who can help.

---

<div class="post-metadata">

**Author:** ![glyn.hudson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/glyn.hudson/32/35003_2.png) [@glyn.hudson](https://community.openenergymonitor.org/u/glyn.hudson)\
**Post date:** [16 October 2020 16:28 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/5 "2020-10-16T16:28:10Z")

</div>

Hi Peter,

Sorry to hear your having issues with the ESP32 module? Was the ESP32 module your having issues with shipped by OpenEnergyMonitor? I notice you have ordered one but the tracking indicates that is has not yet been delivered.

It sounds like you will need to use esptool to perform a full erase then upload the firmware:

`$ esptool.py erase_flash`

See instructions to flash firmware: [GitHub - OpenEVSE/ESP32\_WiFi\_V4.x: OpenEVSE V3 WiFi gateway using ESP32](https://github.com/OpenEVSE/ESP32_WiFi_V3.x#via-usb-serial-programmer)

---

<div class="post-metadata">

**Author:** ![oz1paj](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/o/22d042/32.png) [@oz1paj](https://community.openenergymonitor.org/u/oz1paj)\
**Post date:** [16 October 2020 18:28 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/6 "2020-10-16T18:28:54Z")

</div>

Hi Glyn

The module was purchased from openevse in the US a few weeks ago, the one there is on the way right now is just a backup.

I was working until I tried to update it.

I have tried to erase the flash as you suggested.

```auto
>python.exe esptool.py erase_flash

esptool.py v2.8

Found 3 serial ports

Serial port COM7

Connecting........_

Detecting chip type... ESP32

Chip is ESP32D0WDQ6 (revision 1)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: ac:67:b2:0b:28:8c

Uploading stub...

Running stub...

Stub running...

Erasing flash (this may take a while)...

Chip erase completed successfully in 8.2s

Hard resetting via RTS pin...

```

Programming again with NodeMCU:

 ![image003.jpg](https://community.openenergymonitor.org/uploads/default/original/2X/6/6940411911114cb3a979e82462c5e3d092270b15.jpeg)

But still rebooting and dumping the same on the uart

```auto
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

flash read err, 1000

ets_main.c 371

```

Please advice.

Best regards

Peter

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [16 October 2020 20:58 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/7 "2020-10-16T20:58:06Z")

</div>

@oz1paj  
I’ve tried to format your post to make it a bit clearer.

When posting code or output, can you please put 3 ‘backticks’ (normally found at the [top left of the keyboard](https://superuser.com/questions/254076/how-do-i-type-the-tick-and-backtick-characters-on-windows/254077#254077)) on a line of their own before the code, and 3 more backticks on a line of their own after the code.

```  
code  
```

If it is something like php you can add a language identifier that after the first 3 backticks so ````php`

---

<div class="post-metadata">

**Author:** ![oz1paj](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/o/22d042/32.png) [@oz1paj](https://community.openenergymonitor.org/u/oz1paj)\
**Post date:** [17 October 2020 07:46 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/8 "2020-10-17T07:46:08Z")

</div>

@Robert.Wall  
Thanks, I did not know that.

Just to try somthing, where can I finde the `bootloader.bin` and `partitions.bin` without compiling everything myself ?

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [17 October 2020 10:33 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/9 "2020-10-17T10:33:32Z")

</div>

Sorry, I’m not familiar with the ESP32.

---

<div class="post-metadata">

**Author:** ![oz1paj](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/o/22d042/32.png) [@oz1paj](https://community.openenergymonitor.org/u/oz1paj)\
**Post date:** [20 October 2020 06:19 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/10 "2020-10-20T06:19:37Z")

</div>

@glyn.hudson  
Do you know where I can find the `bootloader.bin` and `partitions.bin` files ?

---

<div class="post-metadata">

**Author:** ![glyn.hudson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/glyn.hudson/32/35003_2.png) [@glyn.hudson](https://community.openenergymonitor.org/u/glyn.hudson)\
**Post date:** [20 October 2020 17:18 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/11 "2020-10-20T17:18:05Z")

</div>

Pre-compiled versions of the ESP32 OpenEVSE WiFi V3 firmware can be found on the releases page: [Releases · OpenEVSE/ESP32\_WiFi\_V4.x · GitHub](https://github.com/OpenEVSE/ESP32_WiFi_V3.x/releases/)

---

<div class="post-metadata">

**Author:** ![oz1paj](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/o/22d042/32.png) [@oz1paj](https://community.openenergymonitor.org/u/oz1paj)\
**Post date:** [21 October 2020 07:01 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/12 "2020-10-21T07:01:04Z")

</div>

Hi Glyn  
Strange that I did not see the files before.

Now the ESP32 is working again, thanks for support.

Best regards  
Peter

---

<div class="post-metadata">

**Author:** ![JavierSC](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/javiersc/32/19411_2.png) [@JavierSC](https://community.openenergymonitor.org/u/JavierSC)\
**Post date:** [18 February 2022 17:19 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/13 "2022-02-18T17:19:01Z")

</div>

@oz1paj I don’t understand. How did you resolve your issue? Why you were searching bootloader.bin and partitions.bin files? After you did find them, how did you use them? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![JavierSC](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/javiersc/32/19411_2.png) [@JavierSC](https://community.openenergymonitor.org/u/JavierSC)\
**Post date:** [18 February 2022 17:21 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/14 "2022-02-18T17:21:19Z")

</div>

Hi, please can you explain me how could you resolve your issue? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![btol](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/b/258eb7/32.png) [@btol](https://community.openenergymonitor.org/u/btol)\
**Post date:** [4 April 2022 04:26 UTC](https://community.openenergymonitor.org/t/esp32-firmware-problems/15685/15 "2022-04-04T04:26:36Z")

</div>

Is there another solution? I am experiencing the same “flash read err, 1000” error. This all started when I tried to update to 4.1.2 via browser. This firmware updated appeared to work fine, but I could only access the wifi module via AP or standalone modes.

I tried to update firmware via browser, and that failed. I later used a programmer to erase\_flash before attempting to burn 4.1.2 or 4.1.1. Output showed success, but wifi module never appears to boot. When I checked serial monitor, the chip continues to post “flash read err, 1000”.
