Problem with flash

petrkoc
Posts: 1
Joined: Sun Sep 17, 2017 9:17 am

Problem with flash

Postby petrkoc » Sun Sep 17, 2017 9:31 am

Hello.

I am using Sparkfun ESP32 Thing with Arduino IDE, yesterday I was doing some I2C communication experiments. Suddenly the chip stopped receiving new programs - upload always halts with:

Code: Select all

esptool.py v2.1-beta1
Connecting........_____....._
Chip is ESP32D0WDQ6 (revision 0)
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 512000
Changed.
Configuring flash size...
Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB
Compressed 8192 bytes to 47...

A fatal error occurred: Timed out waiting for packet content
The serial monitor shows:

Code: Select all

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
Falling back to built-in command interpreter.
OK
>ets Jun  8 2016 00:22:57
There is no reaction to RST button but button 0 causes serial to show:

Code: Select all

rst:0x10 (RTCWDT_RTC_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
Running "esptool.py --chip esp32 --port COM17 erase_flash" does not fix the problem, result: "A fatal error occurred: Timed out waiting for packet content"

Running "esptool.py --chip esp32 --port COM17 flash_id" shows a problem with flash being unknown:

Code: Select all

esptool.py v2.2-dev
Connecting........___
Chip is ESP32D0WDQ6 (revision 0)
Uploading stub...
Running stub...
Stub running...
Manufacturer: ff
Device: ffff
Detected flash size: Unknown
Hard resetting...
Is there a way how to fix this or is the board dead? According to scheme the flash should be Winbond W25Q32FVSS - 4MB SPI Flash.

Thank you.

ESP_Sprite
Posts: 8926
Joined: Thu Nov 26, 2015 4:08 am

Re: Problem with flash

Postby ESP_Sprite » Mon Sep 18, 2017 1:51 am

Interesting - seems communication with the flash is dead. Did you happen to connect anything to the GPIO pins used by flash (GPIO6-11)?

Who is online

Users browsing this forum: Baidu [Spider] and 41 guests