esp32-c3-wroom-02模组
运行官方pipeline_play_mp3_with_dac_or_pdm例程,配置对应芯片
开发板,配置pwm左右通道引脚分别为GPIO0、GPIO3,此外无任何更改,结果烧录后运行异常:看门狗超时。
运行log如下:
[Codebox]ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x1 (POWERON),boot:0xd (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5810,len:0x16bc
load:0x403cc710,len:0x930
load:0x403ce710,len:0x2d28
SHA-256 comparison failed:
Calculated: 62f3b81659a66cce95713413127eab3f0f599feb9c44555c28705762b8655f57
Expected: adef8716c33cabbc299cb10cfe7234c94c96ecd6e85f10e05a6f5d6f60bdc295
Attemp
ting to boot anyway...
entry 0x403cc710
I (48) boot: ESP-IDF v4.4.3-dirty 2nd stage bootloader
I (49) boot: compile time 11:06:11
I (49) boot: chip revision: 3
I (51) boot.esp32c3: SPI Speed : 80MHz
I (56) boot.esp32c3: SPI Mode : DIO
I (60) boot.esp32c3: SPI Flash Size : 4MB
I (65) boot: Enabling RNG early entropy source...
I (70) boot: Partition Table:
I (74) boot: ## Label Usage Type ST Offset Length
I (81) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (89) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (96) boot: 2 factory factory app 00 00 00010000 00100000
I (104) boot: End of partition table
I (108) esp_image: segment 0: paddr=00010020 vaddr=3c030020 size=1f6c0h (128704) map
I (137) esp_image: segment 1: paddr=0002f6e8 vaddr=3fc8b800 size=00930h ( 2352) load
I (137) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=2360ch (144908) map
I (165) esp_image: segment 3: paddr=00053634 vaddr=3fc8c130 size=00ad4h ( 2772) load
I (166) esp_image: segment 4: paddr=00054110 vaddr=40380000 size=0b7e4h ( 47076) load
I (179) esp_image: segment 5: paddr=0005f8fc vaddr=50000010 size=00010h ( 16) load
I (183) boot: Loaded app from partition at offset 0x10000
I (185) boot: Disabling RNG early entropy source...
I (202) cpu_start: Pro cpu up.
I (211) cpu_start: Pro cpu start user code
I (211) cpu_start: cpu freq: 160000000
I (211) cpu_start: Application information:
I (214) cpu_start: Project name: play_mp3_pwm_or_dac
I (220) cpu_start: App version: 1
I (224) cpu_start: Compile time: Jun 20 2023 11:16:33
I (230) cpu_start: ELF file SHA256: 09b49e4cdeb57ac4...
I (236) cpu_start: ESP-IDF: v4.4.3-dirty
I (242) heap_init: Initializing. RAM available for dynamic allocation:
I (249) heap_init: At 3FC8DC00 len 0004EB10 (314 KiB): DRAM
I (255) heap_init: At 3FCDC710 len 00002950 (10 KiB): STACK/DRAM
I (262) heap_init: At 50000020 len 00001FE0 (7 KiB): RTCRAM
I (268) spi_flash: detected chip: generic
I (273) spi_flash: flash io: dio
I (277) sleep: Configure to isolate all GPIO pins in sleep state
I (283) sleep: Enable automatic switching of GPIO sleep configuration
I (290) cpu_start: Starting scheduler.
I (295) MP3_PWM_DAC_EXAMPLE: [ 1 ] Periph init
I (295) MP3_PWM_DAC_EXAMPLE: [ 2 ] Create audio pipeline for playback
I (305) MP3_PWM_DAC_EXAMPLE: [2.1] Create output stream to write data to codec chip
I (315) MP3_PWM_DAC_EXAMPLE: [2.2] Create wav decoder to decode wav file
I (315) MP3_PWM_DAC_EXAMPLE: [2.3] Register all elements to audio pipeline
I (325) MP3_PWM_DAC_EXAMPLE: [2.4] Link it together [mp3_music_read_cb]-->mp3_decoder-->output_stream-->[pa_chip]
I (335) MP3_PWM_DAC_EXAMPLE: [ 3 ] Set up event listener
I (345) MP3_PWM_DAC_EXAMPLE: [3.1] Listening event from all elements of pipeline
I (355) MP3_PWM_DAC_EXAMPLE: [3.2] Listening event from peripherals
I (355) MP3_PWM_DAC_EXAMPLE: [ 4 ] Start audio_pipeline
I (365) MP3_PWM_DAC_EXAMPLE: [ 5 ] Listen for all pipeline events
I (375) MP3_PWM_DAC_EXAMPLE: [ * ] Receive music info from mp3 decoder, sample_rates=44100, bits=16, ch=2
E (5295) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (5295) task_wdt: - IDLE (CPU 0)
E (5295) task_wdt: Tasks currently running:
E (5295) task_wdt: CPU 0: output
E (10295) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (10295) task_wdt: - IDLE (CPU 0)
E (10295) task_wdt: Tasks currently running:
E (10295) task_wdt: CPU 0: output[/Codebox]
请大佬帮忙看下为什么esp32-c3不能运行这个例程?