ESP32_LyraT4.3开发板运行element_sdcard_mp3 demo不通过

SY-TEC
Posts: 6
Joined: Mon Jul 18, 2022 8:45 am

ESP32_LyraT4.3开发板运行element_sdcard_mp3 demo不通过

Postby SY-TEC » Thu Jul 21, 2022 7:18 am

编译烧录到开发板程序运行不起来,报错日志如下,谁知道什么原因呢?

Code: Select all

[/
rst:0x1 (POWERON_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:0x3fff0030,len:6612
load:0x40078000,len:14780
load:0x40080400,len:3792
entry 0x40080694
[0;32mI (27) boot: ESP-IDF v4.4-dirty 2nd stage bootloader[0m
[0;32mI (27) boot: compile time 13:43:12[0m
[0;32mI (27) boot: chip revision: 1[0m
[0;32mI (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0[0m
[0;32mI (37) boot.esp32: SPI Speed      : 40MHz[0m
[0;32mI (42) boot.esp32: SPI Mode       : DIO[0m
[0;32mI (46) boot.esp32: SPI Flash Size : 2MB[0m
[0;32mI (51) boot: Enabling RNG early entropy source...[0m
[0;32mI (56) boot: Partition Table:[0m
[0;32mI (60) boot: ## Label            Usage          Type ST Offset   Length[0m
[0;32mI (67) 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 (82) 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 (101) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=13a54h ( 80468) map[0m
[0;32mI (139) esp_image: segment 1: paddr=00023a7c vaddr=3ffb0000 size=02530h (  9520) load[0m
[0;32mI (143) esp_image: segment 2: paddr=00025fb4 vaddr=40080000 size=0a064h ( 41060) load[0m
[0;32mI (161) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=3212ch (205100) map[0m
[0;32mI (236) esp_image: segment 4: paddr=00062154 vaddr=4008a064 size=05918h ( 22808) load[0m
[0;32mI (245) esp_image: segment 5: paddr=00067a74 vaddr=50000000 size=00010h (    16) load[0m
[0;32mI (253) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (253) boot: Disabling RNG early entropy source...[0m
[0;32mI (267) cpu_start: Pro cpu up.[0m
[0;32mI (267) cpu_start: Starting app cpu, entry point is 0x400813ec[0m
[0;32mI (0) cpu_start: App cpu up.[0m
[0;32mI (281) cpu_start: Pro cpu start user code[0m
[0;32mI (281) cpu_start: cpu freq: 160000000[0m
[0;32mI (281) cpu_start: Application information:[0m
[0;32mI (285) cpu_start: Project name:     raw_pipeline_demo[0m
[0;32mI (291) cpu_start: App version:      v2.2-82-g184ed67-dirty[0m
[0;32mI (298) cpu_start: Compile time:     Jul 21 2022 13:42:40[0m
[0;32mI (304) cpu_start: ELF file SHA256:  d62004de61d10486...[0m
[0;32mI (310) cpu_start: ESP-IDF:          v4.4-dirty[0m
[0;32mI (315) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (322) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM[0m
[0;32mI (328) heap_init: At 3FFB3050 len 0002CFB0 (179 KiB): DRAM[0m
[0;32mI (334) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM[0m
[0;32mI (341) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m
[0;32mI (347) heap_init: At 4008F97C len 00010684 (65 KiB): IRAM[0m
[0;32mI (355) spi_flash: detected chip: generic[0m
[0;32mI (358) spi_flash: flash io: dio[0m
[0;33mW (362) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.[0m
[0;32mI (376) cpu_start: Starting scheduler on PRO CPU.[0m
[0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m
[0;32mI (386) PIPELINE_PARTIAL_EXAMPLE: [ 1 ] Mount sdcard[0m
[0;32mI (896) PIPELINE_PARTIAL_EXAMPLE: [ 2 ] Start codec chip[0m
[0;31mE (896) gpio: gpio_install_isr_service(449): GPIO isr service already installed[0m
[0;32mI (916) PIPELINE_PARTIAL_EXAMPLE: [3.0] Create i2s stream to write data to codec chip[0m
[0;32mI (916) PIPELINE_PARTIAL_EXAMPLE: [3.1] Create mp3 decoder to decode mp3 data[0m
[0;32mI (926) PIPELINE_PARTIAL_EXAMPLE: [3.2] Associate custom read callback to mp3 decoder[0m
[0;32mI (926) PIPELINE_PARTIAL_EXAMPLE: [3.3] Create a ringbuffer and insert it between mp3 decoder and i2s writer[0m
[0;32mI (946) PIPELINE_PARTIAL_EXAMPLE: [ 4 ] Start audio elements[0m
Error opening file
[0;31mE (986) AUDIO_ELEMENT: IN-[mp3] AEL_STATUS_ERROR_INPUT[0m
[0;31mE (986) MP3_DECODER: failed to read audio data (line 118)[0m
[0;31mE (996) AUDIO_ELEMENT: [mp3] AEL_STATUS_ERROR_OPEN,-1[0m
[0;33mW (996) AUDIO_ELEMENT: [mp3] audio_element_on_cmd_error,7[0m
[0;33mW (1006) AUDIO_ELEMENT: IN-[iis] AEL_IO_ABORT[0m
]

ESP_HengYC
Posts: 184
Joined: Fri Dec 15, 2017 2:45 am

Re: ESP32_LyraT4.3开发板运行element_sdcard_mp3 demo不通过

Postby ESP_HengYC » Wed Aug 03, 2022 3:09 am

Error opening file
LOG 显示,打开文件错误,检查 mp3 文件,或者更换其他 mp3 文件试试。

Who is online

Users browsing this forum: No registered users and 19 guests