Page 1 of 1

SDCARD_MP3_CONTROL_EXAMPLE

Posted: Thu Jun 11, 2020 3:31 am
by mnjhuy86
使用esp32_lyrat运行$ADF_PATH/examples/player/pipeline_sdcard_mp3_control 的例程,
按播放播放,串口提示[0;31mE (5527) FATFS_STREAM: Error, uri is not set[0m
esp32复位。这个是什么问题?

[0;32mI (1597) SDCARD_MP3_CONTROL_EXAMPLE: [5.1] Listen for all pipeline events[0m
[0;33mW (1607) SDCARD_MP3_CONTROL_EXAMPLE: [ 6 ] Press the keys to control music player:[0m
[0;33mW (1617) SDCARD_MP3_CONTROL_EXAMPLE: [Play] to start, pause and resume, [Set] next song.[0m
[0;33mW (1637) SDCARD_MP3_CONTROL_EXAMPLE: [Vol-] or [Vol+] to adjust volume.[0m

[0;32mI (5517) SDCARD_MP3_CONTROL_EXAMPLE: [ * ] input key id is 3[0m
[0;32mI (5517) SDCARD_MP3_CONTROL_EXAMPLE: [ * ] [Play] input key event[0m
[0;32mI (5517) SDCARD_MP3_CONTROL_EXAMPLE: [ * ] Starting audio pipeline[0m
[0;31mE (5527) FATFS_STREAM: Error, uri is not set[0m
[0;31mE (5537) AUDIO_ELEMENT: [file] AEL_STATUS_ERROR_OPEN[0m
[0;33mW (5537) AUDIO_ELEMENT: IN-[mp3] AEL_IO_ABORT[0m
[0;31mE (5547) STAGEFRIGHTMP3_DECODER: failed to read audio data (line 123)[0m
[0;31mE (5547) AUDIO_ELEMENT: [mp3] AEL_STATUS_ERROR_OPEN[0m
[0;32mI (5577) SDCARD_MP3_CONTROL_EXAMPLE: [ * ] Finished, advancing to the next song[0m
[0;31mE (5577) PLAYLIST_SDCARD: C:/msys32/home/52455/esp/esp-adf/components/playlist/playlist_operator/sdcard_list.c:224 (sdcard_list_next): Got NULL Pointer[0m
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400014fd PS : 0x00060830 A0 : 0x800dc6d8 A1 : 0x3ffb4bb0
A2 : 0x000
00000 A3 : 0xfffffffc A4 : 0x000000ff A5 : 0x0000ff00
A6 : 0x00ff0000 A7 : 0xff000000 A8 : 0x00000000 A9 : 0x3ffb4b60
A10 : 0x00000000 A11 : 0x3f402f9e A12 : 0x3ffb4df4 A13 : 0x3ffae920
A14 : 0x00000000 A15 : 0x00000001 SAR : 0x00000004 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffff

ELF file SHA256: 873971d0d5f7e3d4

Backtrace: 0x400014fa:0x3ffb4bb0 0x400
dc6d5:0x3ffb4bc0 0x400ddd11:0x3ffb4ed0 0x4008279d:0x3ffb4f00 0x400827c1:0x3ffb4f30 0x400d42bd:0x3ffb4f80 0x400d22f6:0x3ffb5150 0x40087339:0x3ffb5170

Rebooting...
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x1f (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:6924
load:0x40078000,len:14724
load:0x40080400,len:4292
entry 0x400806e4
[0;32mI (72) boot:
Chip Revision: 1[0m
[0;32mI (72) boot_comm: chip revision: 1, min. bootloader chip revision: 0[0m
[0;32mI (39) boot: ESP-IDF v4.0.1-dirty 2nd stage bootloader[0m
[0;32mI (39) boot: compile time 10:42:53[0m
[0;32mI (40) boot: Enabling RNG early entropy source...[0m
[0;32mI (45) boot: SPI Speed : 40MHz[0m
[0;32mI (49) boot: SPI Mode : DIO[0m
[0;32mI (53) boot: SPI Flash Size : 4MB[0m
[0;32mI (57) boot: Partition Table:[0m
[0;32mI (61) boot: ## Label Usage
Type ST Offset Length[0m
[0;32mI (68) boot: 0 nvs WiFi data 01 02 00009000 00006000[0m
[0;32mI (75) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (83) boot: 2 factory factory app 00 00 00010000 00100000[0m
[0;32mI (90) boot: End of partition table[0m
[0;32mI (94) boot_comm: chip revision: 1, min. application chip revision: 0[0m
[0;32mI (102) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x12e50 ( 77392
) map[0m
[0;32mI (138) esp_image: segment 1: paddr=0x00022e78 vaddr=0x3ffb0000 size=0x0219c ( 8604) load[0m
[0;32mI (142) esp_image: segment 2: paddr=0x0002501c vaddr=0x40080000 size=0x00400 ( 1024) load[0m
[0;32mI (145) esp_image: segment 3: paddr=0x00025424 vaddr=0x40080400 size=0x0abec ( 44012) load[0m
[0;32mI (172) esp_image: segment 4: paddr=0x00030018 vaddr=0x400d0018 size=0x36494 (222356) map[0m

[0;32mI (251) esp_image: segment 5: paddr=0x000664b4 vaddr=0x4008afec size=0x02094 ( 8340) load[0m
[0;32mI (263) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (263) boot: Disabling RNG early entropy source...[0m
[0;32mI (264) cpu_start: Pro cpu up.[0m
[0;32mI (267) cpu_start: Application information:[0m
[0;32mI (272) cpu_start: Project name: play_sdcard_mp3_control[0m
[0;32mI (278) cpu_start: App version: 299fa2e-dirty[0m
[0;32mI (284) cpu_start: Compile time:
Jun 11 2020 10:43:33[0m
[0;32mI (290) cpu_start: ELF file SHA256: 873971d0d5f7e3d4...[0m
[0;32mI (296) cpu_start: ESP-IDF: v4.0.1-dirty[0m
[0;32mI (301) cpu_start: Starting app cpu, entry point is 0x400812ec[0m
[0;32mI (288) cpu_start: App cpu up.[0m
[0;32mI (312) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (319) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM[0m
[0;32mI (325) heap_init: At 3FFB3330 len 0002CCD0 (179 KiB): DRAM[0m

Re: SDCARD_MP3_CONTROL_EXAMPLE

Posted: Fri Jun 12, 2020 12:20 pm
by jason.mao
Hi mnjhuy86 ,

帮把你sdcard里面的list文件发出来

Re: SDCARD_MP3_CONTROL_EXAMPLE

Posted: Sat Jun 13, 2020 6:37 am
by mnjhuy86
这个的原因是make menuconfig 配置的原因。
TIM图片20200611203537.png
TIM图片20200611203537.png (27.82 KiB) Viewed 5225 times
,把配置设置成这样就可以了,例程里面都没有写这些配置。叫我们这些新手如何学习啊。