Hi,
i have an issue with the example project play_embed_flash_example.After (1342) PLAY_EMBED_FLASH_MP3: [3.1] Listening event from all elements of pipeline i got an exception and i do not know why.
[Codebox]Core 0 register dump:
PC : 0x400305a9 PS : 0x00060f33 A0 : 0x8002fd3d A1 : 0x3ffc70f0
0x400305a9: insert_free_block at /home/schwm/data/tools/esp-idf/components/heap/tlsf/tlsf.c:362
(inlined by) block_insert at /home/schwm/data/tools/esp-idf/components/heap/tlsf/tlsf.c:388
(inlined by) block_trim_free at /home/schwm/data/tools/esp-idf/components/heap/tlsf/tlsf.c:502
(inlined by) block_prepare_used at /home/schwm/data/tools/esp-idf/components/heap/tlsf/tlsf.c:579
(inlined by) tlsf_malloc at /home/schwm/data/tools/esp-idf/components/heap/tlsf/tlsf.c:1006
A2 : 0x3f800014 A3 : 0xffffffff A4 : 0x3f800074 A5 : 0x3f800854
A6 : 0x3f80088c A7 : 0x3f005e94 A8 : 0x3f801fcc A9 : 0x3f801fe0
A10 : 0x0000001f A11 : 0x0000000e A12 : 0x00000005 A13 : 0x00000000
A14 : 0x3f9ffff8 A15 : 0x3f801fe0 SAR : 0x0000001b EXCCAUSE: 0x0000001d
EXCVADDR: 0x0000000b LBEG : 0x00000005 LEND : 0x00000000 LCOUNT : 0x40026418
0x40026418: _xt_handle_exc at /home/schwm/data/tools/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/xtensa_vectors.S:739
Backtrace: 0x400305a6:0x3ffc70f0 0x4002fd3a:0x3ffc7110 0x40025c21:0x3ffc7130 0x40025c79:0x3ffc7150 0x400915f7:0x3ffc7170 0x400899ad:0x3ffc7190 0x400882b9:0x3ffc71c0 0x40089cd4:0x3ffc71e0 0x40087d3c:0x3ffc7200 0x400a93ab:0x3ffc7370 0x4002cf1d:0x3ffc73a0
0x400305a6: insert_free_block at /home/schwm/data/tools/esp-idf/components/heap/tlsf/tlsf.c:360
(inlined by) block_insert at /home/schwm/data/tools/esp-idf/components/heap/tlsf/tlsf.c:388
(inlined by) block_trim_free at /home/schwm/data/tools/esp-idf/components/heap/tlsf/tlsf.c:502
(inlined by) block_prepare_used at /home/schwm/data/tools/esp-idf/components/heap/tlsf/tlsf.c:579
(inlined by) tlsf_malloc at /home/schwm/data/tools/esp-idf/components/heap/tlsf/tlsf.c:1006
0x4002fd3a: multi_heap_malloc_impl at /home/schwm/data/tools/esp-idf/components/heap/multi_heap.c:211
0x40025c21: heap_caps_malloc_base at /home/schwm/data/tools/esp-idf/components/heap/heap_caps.c:179
0x40025c79: heap_caps_malloc at /home/schwm/data/tools/esp-idf/components/heap/heap_caps.c:202
0x400915f7: audio_calloc at /home/schwm/data/tools/esp-idf/esp-adf/components/audio_sal/audio_mem.c:91
0x400899ad: audio_event_iface_set_listener at /home/schwm/data/tools/esp-idf/esp-adf/components/audio_pipeline/audio_event_iface.c:185
0x400882b9: audio_element_msg_set_listener at /home/schwm/data/tools/esp-idf/esp-adf/components/audio_pipeline/audio_element.c:595
0x40089cd4: audio_pipeline_set_listener at /home/schwm/data/tools/esp-idf/esp-adf/components/audio_pipeline/audio_pipeline.c:217
0x40087d3c: app_main at /home/schwm/data/work/test_mp3/main/play_embed_flash_example.c:89 (discriminator 13)
0x400a93ab: main_task at /home/schwm/data/tools/esp-idf/components/freertos/app_startup.c:208 (discriminator 13)
0x4002cf1d: vPortTaskWrapper at /home/schwm/data/tools/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:162[/Codebox]
When i debug to the point where it fails i have added a picture. Why is current 0xFFFFFFFF?
i have tried it now also with the esp32s2 kaluga -1 v1.3. With this dev board it is working. It seems i have an issue by adding a custom audio board. What is the prefered way to create a custom audio audio board.
When i switch to the my board with a ES8388 as audio ic and the ESP32-S2-WROVER i have the issue. It is strange what could cause to such a behaviour.
thanks michael
issue in play_embed_flash_example
-
- Posts: 3
- Joined: Fri Jan 08, 2021 6:10 pm
issue in play_embed_flash_example
Last edited by MSD-Systems on Tue Jan 09, 2024 3:17 pm, edited 1 time in total.
Re: issue in play_embed_flash_example
Hi MSD-Systems
This phenomenon can not accurately judge the problem, but there are some lessons to share with you. This seems to be a memory problem, it is recommended to check the code first, you can turn on the IDF heap debug function.
This phenomenon can not accurately judge the problem, but there are some lessons to share with you. This seems to be a memory problem, it is recommended to check the code first, you can turn on the IDF heap debug function.
Who is online
Users browsing this forum: No registered users and 43 guests