Hi,
I have my custom project based on arduino-esp32. I modified the example sdkconfig from "esp32" folder of arduino-esp32. My code starts running outputs some messages from UART then when it outputs an core dump which is caught and decoded by the idf.py monitor. Crash dump is below.
Any ideas what could have gone wrong??
Thanks
Core 1 register dump:
PC : 0x4008cf6c PS : 0x00060530 A0 : 0x8018f104 A1 : 0x3ffb1c50
0x4008cf6c: strlen at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/strlen.S:46
A2 : 0x00000001 A3 : 0xfffffffd A4 : 0x000000ff A5 : 0x0000ff00
A6 : 0x00ff0000 A7 : 0xff000000 A8 : 0x00000000 A9 : 0x00000000
A10 : 0x00000000 A11 : 0x3f40b381 A12 : 0x00000000 A13 : 0x00060723
A14 : 0x00060723 A15 : 0x00000001 SAR : 0x00000004 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000001 LBEG : 0x4008cf8d LEND : 0x4008cf9d LCOUNT : 0xffffffff
To exit from IDF monitor please use "Ctrl+]"
Backtrace: 0x4008cf69:0x3ffb1c50 0x4018f101:0x3ffb1c60 0x401941fd:0x3ffb1f70 0x40194243:0x3ffb2000 0x400f2473:0x3ffb2040 0x400f6641:0x3ffb20a0 0x400dd7ff:0x3ffb20c0 0x400eea16:0x3ffb2170 0x400eee6a:0x3ffb2210 0x400f3046:0x3ffb2290
0x4008cf69: strlen at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/strlen.S:43
0x4018f101: _svfprintf_r at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/stdio/vfprintf.c:1528
0x401941fd: _vsnprintf_r at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/stdio/vsnprintf.c:70 (discriminator 4)
0x40194243: vsnprintf at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/stdio/vsnprintf.c:40
0x400f2473: log_printf at C:/W/P/FAS/20_SW/arduino_demo/components/arduino/cores/esp32/esp32-hal-uart.c:424
0x400f6641: Preferences::begin(char const*, bool, char const*) at C:/W/P/FAS/20_SW/arduino_demo/components/arduino/libraries/Preferences/src/Preferences.cpp:50 (discriminator 4)
Arduino-esp32 crash at log_printf
-
- Posts: 5
- Joined: Mon Oct 02, 2023 7:34 pm
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 41 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.