The problem is when I use ESP32-LyraT-V4.3 to run the example project play_mp3 in ESP-ADF,the ESP32 keep rst and the log is:
I (29) boot: ESP-IDF v3.2-dev-61-g568da37a 2nd stage bootloader
I (29) boot: compile time 16:07:38
I (31) boot: Enabling RNG early entropy source...
I (35) boot: SPI Speed : 40MHz
I (39) boot: SPI Mode : DIO
I (43) boot: SPI Flash Size : 4MB
I (47) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (58) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (65) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (73) boot: 2 factory factory app 00 00 00010000 00100000
I (80) boot: End of partition table
I (84) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x1fe1c (130588) map
I (139) esp_image: segment 1: paddr=0x0002fe44 vaddr=0x3ffb0000 size=0x001cc ( 460) load
I (140) esp_image: segment 2: paddr=0x00030018 vaddr=0x400d0018 size=0x1fdb4 (130484) map
0x400d0018: _flash_cache_start at ??:?
I (192) esp_image: segment 3: paddr=0x0004fdd4 vaddr=0x3ffb01cc size=0x02164 ( 8548) load
I (195) esp_image: segment 4: paddr=0x00051f40 vaddr=0x3ffb2330 size=0x00000 ( 0) load
I (198) esp_image: segment 5: paddr=0x00051f48 vaddr=0x40080000 size=0x00400 ( 1024) load
0x40080000: _iram_start at C:/msys32/home/J/esp/esp-adf/esp-idf/components/freertos/xtensa_vectors.S:1685
I (208) esp_image: segment 6: paddr=0x00052350 vaddr=0x40080400 size=0x0a4c8 ( 42184) load
I (234) esp_image: segment 7: paddr=0x0005c820 vaddr=0x400c0000 size=0x00000 ( 0) load
I (234) esp_image: segment 8: paddr=0x0005c828 vaddr=0x50000000 size=0x00000 ( 0) load
I (247) boot: Loaded app from partition at offset 0x10000
I (247) boot: Disabling RNG early entropy source...
I (252) cpu_start: Pro cpu up.
I (256) cpu_start: Starting app cpu, entry point is 0x40080f6c
0x40080f6c: call_start_cpu1 at C:/msys32/home/J/esp/esp-adf/esp-idf/components/esp32/cpu_start.c:225
I (248) cpu_start: App cpu up.
I (266) heap_init: Initializing. RAM available for dynamic allocation:
I (273) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (279) heap_init: At 3FFB33A0 len 0002CC60 (179 KiB): DRAM
I (285) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (292) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (298) heap_init: At 4008A8C8 len 00015738 (85 KiB): IRAM
I (304) cpu_start: Pro cpu start user code
I (322) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (324) PLAY_MP3_FLASH: [ 1 ] Start audio codec chip
I (344) PLAY_MP3_FLASH: [ 2 ] Create audio pipeline, add all elements to pipeline, and subscribe pipeline event
I (344) PLAY_MP3_FLASH: [2.1] Create mp3 decoder to decode mp3 file and set custom read callback
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400014dc PS : 0x00060b30 A0 : 0x80001459 A1 : 0x3ffb4ea0
A2 : 0x00000003 A3 : 0xffffffff A4 : 0x000000ff A5 : 0x0000ff00
A6 : 0x00ff0000 A7 : 0xff000000 A8 : 0x80084e36 A9 : 0x3ffb4e70
A10 : 0x3ffb519c A11 : 0x000000a8 A12 : 0x00060720 A13 : 0x00000001
A14 : 0x00060723 A15 : 0x00000000 SAR : 0x00000004 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000003 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
Backtrace: 0x400014dc:0x3ffb4ea0 0x40001456:0x3ffb4eb0 0x40001445:0x3ffb4ed0 0x400e35ad:0x3ffb4ef0 0x400e3a85:0x3ffb4f20 0x400ea73a:0x3ffb4fa0 0x400d2bc2:0x3ffb5000 0x400d112e:0x3ffb5110
0x400e35ad: audio_element_set_tag at C:/msys32/home/J/esp/esp-adf/components/audio_pipeline/audio_element.c:661
0x400e3a85: audio_element_init at C:/msys32/home/J/esp/esp-adf/components/audio_pipeline/audio_element.c:661
0x400ea73a: mp3_decoder_init at /Users/maojianxin/duros/esp-adf-libs-source-dev/esp_codec/./esp-wrapper/mp3_decoder.c:477
0x400d2bc2: app_main at D:/esp32/play_mp3/main/play_mp3_example.c:67
0x400d112e: main_task at C:/msys32/home/J/esp/esp-adf/esp-idf/components/esp32/cpu_start.c:470
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x3f (SPI_FAST_FLASH_BOOT)
configsip: 0, 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:5756
load:0x40078000,len:7684
load:0x40080000,len:7392
I do not know what's wrong I have,can you give me some suggestions?
Guru Meditation Error
-
- Posts: 14
- Joined: Sat Dec 05, 2015 7:59 am
Re: Guru Meditation Error
Hi @jiang123
Could you please help setup gdb debug: http://esp-idf.readthedocs.io/en/latest ... nitor.html
When the reset occurs, it will jump to gdb, then type bt and copy full backtrace information to here
Thanks
Could you please help setup gdb debug: http://esp-idf.readthedocs.io/en/latest ... nitor.html
When the reset occurs, it will jump to gdb, then type bt and copy full backtrace information to here
Thanks
Re: Guru Meditation Error
Thanks for you reply!After I setup gdb debug,the log is :
Entering gdb stub now.
$T0b#e6GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-host_pc-mingw32 --target=xtensa-esp32-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from D:/esp32/play_mp3/build/play_mp3.elf...done.
Remote debugging using COM1
0x400014dc in ?? ()
(gdb) bt
#0 0x400014dc in ?? ()
#1 0x40001459 in ?? ()
#2 0x40001448 in ?? ()
#3 0x400e3cb4 in audio_element_set_tag (el=0x3ffb3840, tag=0x3 '\377' <repeats 200 times>...) at C:/msys32/home/J/esp/esp-adf/components/audio_pipeline/./audio_element.c:468
#4 0x400e418c in audio_element_init (config=0x3ffb49f0) at C:/msys32/home/J/esp/esp-adf/components/audio_pipeline/./audio_element.c:747
#5 0x400eae39 in mp3_decoder_init (config=<optimized out>) at /Users/maojianxin/duros/esp-adf-libs-source-dev/esp_codec/./esp-wrapper/mp3_decoder.c:477
#6 0x400d2f92 in app_main () at D:/esp32/play_mp3/main/play_mp3_example.c:67
#7 0x400d1161 in main_task (args=0x0) at C:/msys32/home/J/esp/esp-adf/esp-idf/components/esp32/cpu_start.c:449
(gdb)
Entering gdb stub now.
$T0b#e6GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-host_pc-mingw32 --target=xtensa-esp32-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from D:/esp32/play_mp3/build/play_mp3.elf...done.
Remote debugging using COM1
0x400014dc in ?? ()
(gdb) bt
#0 0x400014dc in ?? ()
#1 0x40001459 in ?? ()
#2 0x40001448 in ?? ()
#3 0x400e3cb4 in audio_element_set_tag (el=0x3ffb3840, tag=0x3 '\377' <repeats 200 times>...) at C:/msys32/home/J/esp/esp-adf/components/audio_pipeline/./audio_element.c:468
#4 0x400e418c in audio_element_init (config=0x3ffb49f0) at C:/msys32/home/J/esp/esp-adf/components/audio_pipeline/./audio_element.c:747
#5 0x400eae39 in mp3_decoder_init (config=<optimized out>) at /Users/maojianxin/duros/esp-adf-libs-source-dev/esp_codec/./esp-wrapper/mp3_decoder.c:477
#6 0x400d2f92 in app_main () at D:/esp32/play_mp3/main/play_mp3_example.c:67
#7 0x400d1161 in main_task (args=0x0) at C:/msys32/home/J/esp/esp-adf/esp-idf/components/esp32/cpu_start.c:449
(gdb)
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Guru Meditation Error
Hi @jiang123,
New commits have been pushed to https://github.com/espressif/esp-adf.
They should resolve this issue.
Please pull the latest master, recompile and check.
New commits have been pushed to https://github.com/espressif/esp-adf.
They should resolve this issue.
Please pull the latest master, recompile and check.
Re: Guru Meditation Error
Hi @ krzychb
After I update the ESP-ADF,the project works fine.Thanks for you help!
After I update the ESP-ADF,the project works fine.Thanks for you help!
Who is online
Users browsing this forum: No registered users and 32 guests