ESP32C3 going crazy

I am having an issue where my code was working fine and then I updated my ESP32 Board Library from 2.0.13 to 3.0.4. It started going crazy and kept resetting so I uninstalled 3.0.4 and then reinstalled 2.0.13, but now my processor is still going crazy and resetting constantly while giving me this error:
rst:0x8 (TG1WDT_SYS_RST),boot:0xa (SPI_FAST_FLASH_BOOT). I am using the ESP32C3.

I tried it with other ESP32-C3 boards I had but nothing seems to work

I am having an issue where my code was working fine and then I updated my ESP32 Board Library from 2.0.13 to 3.0.4. It started going crazy and kept resetting so I uninstalled 3.0.4 and then reinstalled 2.0.13, but now my processor is still going crazy and resetting constantly while giving me this error:
rst:0x8 (TG1WDT_SYS_RST),boot:0xa (SPI_FAST_FLASH_BOOT). I am using the ESP32C3.

I tried it with other ESP32-C3 boards I had but nothing seems to work😔.

Hello @herotogepi

I've split your topic from the original where you posted.


I'm not an ESP32 user so this is what I can think of.

To my knowledge, the symptoms of an upgrade of the ESP32 board package from 2.x to 3.x in general are that your code no longer compiles, not that your code misbehaves.

Do simple examples like blink misbehave as well?
Did you make any changes to your code and/or hardware changes to the project?

Please do not cross-post, it wastes people's time.

Maybe try selecting the option in the tools menu to clear the flash memory on program upload. Reset this option afterwards if you need to keep data in flash memory that must survive a sketch upload such as wlan credentials etc.