Continuous inferencing

Hi all, I’m trying to run the continuous inferencing code on my XIAO ESP32S3, with limited success. The code is taken directly from the continuous example generated in the library. When looking at the serial, this is what happens

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x8 (TG1WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403743c5
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbe4
load:0x403cc700,len:0x2a68
entry 0x403c98d4
Edge Impulse Inferencing Demo
Inferencing settings:
        Interval: 0.062500 ms.
        Frame size: 16000
        Sample length: 1000 ms.
        No. of classes: 3

Starting continious inference in 2 seconds...

And the code gets stuck on boot forever. I was wondering if I could get any help on how to fix this issue. Thanks a lot!

Hi @hanqiulicai,

When you say “stuck on boot,” do you mean that the ESP32 just hangs after printing the first inference results? Or does the ESP32 reboot?

Hi @shawn_edgeimpulse

The ESP32 reboots constantly, there is no inferencing going on.

Hi @hanqiulicai,

Do you see anything like “Guru Meditation Error: Core 0 panic’ed” in the serial output? Constant reboots on the ESP32 usually indicate that you ran out of RAM, and the ESP32 just reboots when that happens.