Flash Read Error on ESP 32 Board

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
Zenith22
Posts: 1
Joined: Tue Oct 23, 2018 2:01 am

Flash Read Error on ESP 32 Board

Post by Zenith22 » Tue Oct 23, 2018 2:10 am

Hello,
Today I received my ESP32 board in the mail. I followed a guide and successfully erased the flash and installed the latest ESP32 release. Unfortunately, when I connected to my ESP32 with putty I was greeted with this message.

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun 8 2016 00:22:57

Everything was going smoothly and Micropython was installed but I keep getting this error. It keeps repeating over and over very quickly. I tried uploading an Arduino script and that worked just fine. I tried using ampy but couldn't get a directory listing. I am just a beginner so if anyone has a solution please thoroughly explain how to do it.

Flashing Code:

esptool.py -p com10 -c esp32 -b 150200 erase_flash

esptool.py -p com10 -c esp32 -b 150200 write_flash --flash_size=detect 0 file.bin

I used the latest bin files as of today, and I tried both the SPIRAM version and the regular version.

Board: https://www.aliexpress.com/item/LOLIN-D ... 16057.html

Thanks!

obetbal
Posts: 2
Joined: Wed Dec 05, 2018 4:51 am

Re: Flash Read Error on ESP 32 Board

Post by obetbal » Wed Dec 05, 2018 4:53 am

please verify your baud rate - 150200 ???

Standard baud rates include 110, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 38400, 57600, 115200, 128000 and 256000 bits per second.

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

Re: Flash Read Error on ESP 32 Board

Post by Roberthh » Wed Dec 05, 2018 6:16 am

The target address for loading must be 0x1000, not 0, e.g.

esptool.py -p com10 -c esp32 -b 460800 erase_flash
esptool.py -p com10 -c esp32 -b 460800 write_flash --flash_size=detect 0x1000 file.bin

For flashing, the speed can be higher. The default is 460800, but can indeed also be lower at the rates, @obetal mentioned.

wr300000
Posts: 32
Joined: Sun Jan 14, 2018 3:54 pm

Re: Flash Read Error on ESP 32 Board

Post by wr300000 » Fri Dec 07, 2018 3:00 pm

Zenith22 wrote:
Tue Oct 23, 2018 2:10 am
Hello,
Today I received my ESP32 board in the mail. I followed a guide and successfully erased the flash and installed the latest ESP32 release. Unfortunately, when I connected to my ESP32 with putty I was greeted with this message.

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun 8 2016 00:22:57

Everything was going smoothly and Micropython was installed but I keep getting this error. It keeps repeating over and over very quickly. I tried uploading an Arduino script and that worked just fine. I tried using ampy but couldn't get a directory listing. I am just a beginner so if anyone has a solution please thoroughly explain how to do it.

Flashing Code:

esptool.py -p com10 -c esp32 -b 150200 erase_flash

esptool.py -p com10 -c esp32 -b 150200 write_flash --flash_size=detect 0 file.bin

I used the latest bin files as of today, and I tried both the SPIRAM version and the regular version.

Board: https://www.aliexpress.com/item/LOLIN-D ... 16057.html

Thanks!

Post Reply