The XIAO device always reset

Download the program, the serial port always prints the following. What happen with it?
How do I fix this?
Maybe I should re-download the firmware? Or something else? Firmware model?


ELF file SHA256: f0e69ad40e1b0249

Rebooting…

ESP-ROM:esp32s3-20210327

Build:Mar 27 2021

rst:0xc (RTC_SW_CPU_RST),boot:0x29 (SPI_FAST_FLASH_BOOT)

Saved PC:0x40376afd

SPIWP:0xee

mode:DIO, clock div:1

load:0x3fce3818,len:0x109c

load:0x403c9700,len:0x4

load:0x403c9704,len:0xb50

load:0x403cc700,len:0x2fe4

entry 0x403c98ac

E (10099) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:

E (10099) task_wdt: - IDLE0 (CPU 0)

E (10099) task_wdt: Tasks currently running:

E (10099) task_wdt: CPU 0: loopTask

E (10099) task_wdt: CPU 1: IDLE1

E (10099) task_wdt: Aborting.

E (10099) task_wdt: Print CPU 0 (current core) backtrace”

the device is XIAO_esp32s3/

Hi, seems like you need to “pet” the watchdog on the device. I do not know how to do it in that particular device, but usually you place an instruction on loop() like this:

watchdog.refresh()

(I invented that, please check the docs to find out the real command)
Best,

Hi there,
It’s a boot loop, Place it in Boot loader mode and that will stop the serial output
Then upload the blink sketch to straighten things out.
HTH
GL :slight_smile: PJ :v:

Thanks! I must recount what I did. Yes, I did the method you provided, but after burning into Blink Sketch, and then burning into your own program, the above problem still appeared. I’ve also had doubts about a problem with my program, but it was no problem to burn my own program a month ago. However, I’ve now downloaded the firmware, and I’m burning in. But now none of the Blink Sketch programs can be written.

Thanks!The problem is indeed one that I left out.

What was the problem and the solution ? I have the same thing on one of my computers.

NO! you may change the power supply. Pay attention to the watchdog

I have new way. Arduino run on set core 1.