Page 1 of 1

ESP32 continuously rebooting with logging "RTCWDT_RTC_RESET" and a strange negative load len

Posted: Sat Oct 02, 2021 2:40 pm
by FranCOlin
Hello guys! I am here because I encounter some wierd problems.
My board is ESP-Wroom-32, and I want to use it for a CNC project based on ESP32_GRBL https://github.com/bdring/Grbl_Esp32
However, I found another user-modified version is much better to me https://github.com/KnightSin/Grbl_Esp32.
After cloning it, open in VSCode and uploading(Compile,link then download, without changing any code), I find my esp32 rebooting again and again, with logging:
  1. ets Jun  8 2016 00:22:57
  2.  
  3. rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  4. configsip: 0, SPIWP:0xee
  5. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  6. mode:QIO, clock div:1
  7. load:0x3fff0018,len:4
  8. load:0x06413208,len:-1073266398
I'm so confused what is happening and how I can solve it, I failed to find any meaningful information about this.
Can anyone give me a piece of suggestion?
Thank you guys!

Re: ESP32 continuously rebooting with logging "RTCWDT_RTC_RESET" and a strange negative load len

Posted: Sun Oct 03, 2021 6:05 pm
by WiFive
There have been some reports of problems loading bootloader with mode:QIO setting, but works when changing to another flash spi mode.

Re: ESP32 continuously rebooting with logging "RTCWDT_RTC_RESET" and a strange negative load len

Posted: Mon Oct 04, 2021 5:37 am
by FranCOlin
WiFive wrote:
Sun Oct 03, 2021 6:05 pm
There have been some reports of problems loading bootloader with mode:QIO setting, but works when changing to another flash spi mode.
Thank you! I was wondering whether the flash mode was correct. So I change the flash mode in the platformio.ini. After changing it, my board works correctly. However, I still wonder how is that?