Is flash read err, 1000 normal behavior?

jsam589
Posts: 74
Joined: Sat Aug 17, 2019 9:31 pm

Is flash read err, 1000 normal behavior?

Postby jsam589 » Fri Oct 25, 2019 5:06 pm

I have two different products and both show the following messages when I reset them using a reset button that pulls EN low. I am sure bootloader is programmed (programming step showed success on that). My application seems to run okay, but I would like to understand if this RTC WDT is normal.

Code: Select all

ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (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:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
If the reset is caused by RTS/DTR via the programming cable (e.g. idf.py monitor), the RTC WDT message does not occur. I get this:

Code: Select all

ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
I would expect both methods to be equivalent.
Can someone explain why the difference?

One of the boards is Sparkfun Thing Plus ESP32 with a reset circuit involving RTS/DTR, schematic here:
https://cdn.sparkfun.com/assets/learn_t ... ematic.pdf

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Is flash read err, 1000 normal behavior?

Postby WiFive » Sat Oct 26, 2019 2:53 am

The duration EN is held low with button vs reset circuit will determine how long the flash power supply is turned off. If the flash has a long startup time it could cause the error. As long as it boots on the second try it shouldn't cause a problem. It is interesting that official espressif modules would use flash that doesn't meet the default startup times.

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Is flash read err, 1000 normal behavior?

Postby Ritesh » Sun Oct 27, 2019 11:31 am

jsam589 wrote:
Fri Oct 25, 2019 5:06 pm
I have two different products and both show the following messages when I reset them using a reset button that pulls EN low. I am sure bootloader is programmed (programming step showed success on that). My application seems to run okay, but I would like to understand if this RTC WDT is normal.

Code: Select all

ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (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:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
If the reset is caused by RTS/DTR via the programming cable (e.g. idf.py monitor), the RTC WDT message does not occur. I get this:

Code: Select all

ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
I would expect both methods to be equivalent.
Can someone explain why the difference?

One of the boards is Sparkfun Thing Plus ESP32 with a reset circuit involving RTS/DTR, schematic here:
https://cdn.sparkfun.com/assets/learn_t ... ematic.pdf

Hello,

Which ESP32 module you are using? Default 4 MB Flash Memory module or extended 16 MB Flash Memory Module?

Because we have also faced same type of issue and also checked with Espressif Team so they agreed to have some issues into 16 MB Flash Memory which has been attached to expand flash memory.

If possible then check directly with Espressif Sales Team as well to get clarification and confirmation for same.
Regards,
Ritesh Prajapati

Kashyapkoshti
Posts: 20
Joined: Sat Nov 10, 2018 11:14 pm

Re: Is flash read err, 1000 normal behavior?

Postby Kashyapkoshti » Thu Dec 03, 2020 1:44 pm

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

I am getting this error whenever I boot my devkitv1 board. I am getting this error in the serial terminal of Arduino IDE.
Help me.


Kashyapkoshti
Posts: 20
Joined: Sat Nov 10, 2018 11:14 pm

Re: Is flash read err, 1000 normal behavior?

Postby Kashyapkoshti » Thu Dec 03, 2020 2:04 pm

but the reset error code of 0x1f does not match with any pins

chegewara
Posts: 2378
Joined: Wed Jun 14, 2017 9:00 pm

Re: Is flash read err, 1000 normal behavior?

Postby chegewara » Thu Dec 03, 2020 2:15 pm

https://github.com/espressif/esptool/wi ... de-message
rst:0xNN (REASON)
rst:0x10 (RTCWDT_RTC_RESET)
There isn't actually a bootloader at offset 0x1000 (maybe the bootloader was flashed to the wrong offset by mistake, or the flash has been erased and no bootloader has been flashed yet.)

Kashyapkoshti
Posts: 20
Joined: Sat Nov 10, 2018 11:14 pm

Re: Is flash read err, 1000 normal behavior?

Postby Kashyapkoshti » Thu Dec 03, 2020 2:24 pm

i have tried several things.
first i put 4.7uf capacitor to the en pin of the board. then i pull down the gpio2 pin of the board. but nothing seems to work

Kashyapkoshti
Posts: 20
Joined: Sat Nov 10, 2018 11:14 pm

Re: Is flash read err, 1000 normal behavior?

Postby Kashyapkoshti » Thu Dec 03, 2020 2:26 pm

i read about error code reference on some website but err:0x10 and wdt reset does not match, and none of the other google searches have 0x1f in boot mode

chegewara
Posts: 2378
Joined: Wed Jun 14, 2017 9:00 pm

Re: Is flash read err, 1000 normal behavior?

Postby chegewara » Thu Dec 03, 2020 2:43 pm

Did you try to flash simplest code, just empty arduino sketch or with serial print in loop?

Who is online

Users browsing this forum: No registered users and 100 guests