esp32-mini-1 boot loop

segovo
Posts: 2
Joined: Tue Mar 01, 2022 11:49 pm

esp32-mini-1 boot loop

Postby segovo » Tue Mar 01, 2022 11:56 pm

Hello!

I'm having problems with the esp32-devkitm-1 using the Arduino IDE.

Flashing seems to work successfully with no errors, the serial monitor, however, shows that it's stuck rebooting over and over.

This is the log:

Code: Select all

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:9720
ho 0 tail 12 room 4
load:0x40080400,len:6364
entry 0x400806b8
E (111) cpu_start: Running on single core chip, but application is built with dual core support.
E (111) cpu_start: Please enable CONFIG_FREERTOS_UNICORE option in menuconfig.
abort() was called at PC 0x400819ea on core 0

Backtrace: 0x4008b560:0x3ffe3be0 0x4008b78d:0x3ffe3c00 0x400819ea:0x3ffe3c20 0x4007906f:0x3ffe3c40 0x400790d5:0x3ffe3c70 0x400790e0:0x3ffe3ca0 0x400792a9:0x3ffe3cc0 0x400806ea:0x3ffe3df0 0x40007c15:0x3ffe3eb0 0x4000073d:0x3ffe3f20

Using the exception decoder tool for esp32 I was able to decode the expectation:

Code: Select all

Decoding stack results
0x4008b560: invoke_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 155
0x4008b78d: abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 170
0x400819ea: call_start_cpu0 at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/cpu_start.c line 187
Unfortunately, these results don't seem to say much.

Any insights?
Attachments
logs.PNG
logs.PNG (56.69 KiB) Viewed 2017 times

ESP_Sprite
Posts: 9746
Joined: Thu Nov 26, 2015 4:08 am

Re: esp32-mini-1 boot loop

Postby ESP_Sprite » Wed Mar 02, 2022 2:00 am

Code: Select all

E (111) cpu_start: Running on single core chip, but application is built with dual core support.
There's your issue. I think Arduino has an option to select a single-core board, but I don't know Arduino good enough to know for sure.

segovo
Posts: 2
Joined: Tue Mar 01, 2022 11:49 pm

Re: esp32-mini-1 boot loop

Postby segovo » Wed Mar 02, 2022 4:03 pm

Thank you!

It's working now!


For future reference, I got it working (on my Windows 10 computer) by copying and replacing the tool folder located at

C:\Users\<myuser>\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\

with the files from:

https://github.com/lbernstone/arduino-esp32-solo

ESP_Sprite
Posts: 9746
Joined: Thu Nov 26, 2015 4:08 am

Re: esp32-mini-1 boot loop

Postby ESP_Sprite » Thu Mar 03, 2022 2:09 am

Glad to hear you solved it, and thanks for sharing the solution!

Who is online

Users browsing this forum: Bing [Bot], johnny_henriksen and 118 guests