flash read err, 1000 on ESP32-WROVER

hopkinskong
Posts: 3
Joined: Sat Oct 28, 2017 4:10 pm

flash read err, 1000 on ESP32-WROVER

Postby hopkinskong » Sat Oct 28, 2017 4:17 pm

Hi,

I am using ESP32-WROVER module, for some reason, it suddenly stopped working. When on manual reset:

Code: Select all

$ make monitor
MONITOR
--- idf_monitor on COM7 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun  8 2016 00:22:57

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

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

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

rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371


And it goes on forever.

When I try to flash:

Code: Select all

$ make flash
Flashing binaries to serial port COM7 (app at offset 0x10000)...
esptool.py v2.1
Connecting....
Chip is ESP32D0WDQ6 (revision 1)
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB
Compressed 18320 bytes to 10813...
Wrote 18320 bytes (10813 compressed) at 0x00001000 in 1.0 seconds (effective 153.6 kbit/s)...

A fatal error occurred: Timed out waiting for packet header
make: *** [/home/xxx/esp/esp-idf/components/esptool_py/Makefile.projbuild:55: flash] Error 2


It seems that the ESP32 does not recognize the flash chip anymore. Is there any solution, or I need to replace the whole module?

BTW,
BOTH Secure boot in bootloader and flash encryption in boot are off in menuconfig;
Flash SPI mode is DIO in menuconfig

Thanks.

hopkinskong
Posts: 3
Joined: Sat Oct 28, 2017 4:10 pm

Re: flash read err, 1000 on ESP32-WROVER

Postby hopkinskong » Sun Oct 29, 2017 6:40 pm

Solved.

I recommend anyone encountering the same issue check:

1. GPIO12 (MTDI) must be pulled up to power SDIO with 1.8V, it is already done internally in ESP32-WROVER. However if your board is pulling down that pin, it will power the internal SDIO LDO with 3.3V which will damage the PSRAM/SPI FLASH. Luckily my board left that pin floating.

2. This is my issue: Pin 20 (CLK) and Pin 21 (SD0) shorted, that makes SPI flash is not working, luckily it isn't shorted to the 3V3 rail, or I am really need to replace the module.

anandvilayil
Posts: 9
Joined: Mon Apr 30, 2018 12:14 pm

Re: flash read err, 1000 on ESP32-WROVER

Postby anandvilayil » Wed Jun 13, 2018 8:55 am

hii all,

i am also facing this similar problem. exactly what are the reason for esp flash getting corrupted ?.

Kiranoday
Posts: 1
Joined: Wed Jun 13, 2018 10:18 am

Re: flash read err, 1000 on ESP32-WROVER

Postby Kiranoday » Wed Jun 13, 2018 10:59 am

I am also facing the same issue...

Who is online

Users browsing this forum: PaulVdBergh and 3 guests