Flash read error on ESP32 PICO D4 SIP module while programming on arduino

shastrinvs
Posts: 7
Joined: Mon Mar 21, 2022 2:58 pm

Flash read error on ESP32 PICO D4 SIP module while programming on arduino

Postby shastrinvs » Mon Mar 21, 2022 3:11 pm

HI I am doing board bringup on a custom board using ESP32 PICO D4 SIP module, using arduino I am loading example codes.

I am getting the below error on serial monitor.


20:23:58.907 -> rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
20:23:58.907 -> flash read err, 1000
20:23:58.907 -> ets_main.c 371
20:23:59.233 -> ets Jun 8 2016 00:22:57


I am getting below error on console.

Sketch uses 206902 bytes (15%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13476 bytes (4%) of dynamic memory, leaving 314204 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.0-dev
Serial port COM3
Connecting.....
Chip is ESP32-PICO-D4 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 30:83:98:dc:26:4c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
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
A fatal error occurred: Timed out waiting for packet content


Please advise the reason for this and how to resolve this issue.

Best Regards

Vijay

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

Re: Flash read error on ESP32 PICO D4 SIP module while programming on arduino

Postby ESP_Sprite » Tue Mar 22, 2022 2:05 am

Did you connect anything to the pins reserved for the internal flash, or could those pins be shorted to something on your PCB? Check the datasheet to see which those are.

shastrinvs
Posts: 7
Joined: Mon Mar 21, 2022 2:58 pm

Re: Flash read error on ESP32 PICO D4 SIP module while programming on arduino

Postby shastrinvs » Fri May 27, 2022 9:44 am

Hi

Thanks for the suggestion, one of the IO pins was connected to the pin muxed with the embedded flash.

Removing the 0ohm on that IO got the board working.

Thanks for your support. Appreciate it

Who is online

Users browsing this forum: Bing [Bot], DrMickeyLauer and 67 guests