[ESP32-Audio-Kit音频开发板测评]二、下载音频固件
<p>这周我在官网下了下载FLASH的软件。</p><p>也下了音频开发板的固件。<a href="https://docs.ai-thinker.com/esp32-audio-kit-factory-bin">https://docs.ai-thinker.com/esp32-audio-kit-factory-bin</a></p>
<p>总共三个bin文件,我把第一个最全的烧进去了。</p>
<p></p>
<p> </p>
<p>我用串口助手观察,发现没有声音,只有噪声。我想得改那个I2C引脚。那就得搭开发环境了。</p>
<p>以下是我串口的数据,按KEY2是WIFI同SD卡的切换。</p>
<pre>
<code>event[0m
Volume set to 0 [0m
touch tap event[0m
Volume set to 5 [0m
touch tap event[0m
Volume set to 10 [0m
touch tap event[0m
Volume set to 15 [0m
touch tap event[0m
Volume set to 20 [0m
touch tap event[0m
Volume set to 25 [0m
touch tap event[0m
Volume set to 30 [0m
touch tap event[0m
Volume set to 25 [0m
touch tap event[0m
Volume set to 20 [0m
touch tap event[0m
Volume set to 15 [0m
touch tap event[0m
Volume set to 10 [0m
touch tap event[0m
Volume set to 15 [0m
touch tap event[0m
Volume set to 20 [0m
touch tap event[0m
Volume set to 25 [0m
ets Jun8 2016 00:22:57
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:0x3fff0018,len:4
load:0x3fff001c,len:5564
load:0x40078000,len:0
load:0x40078000,len:13756
entry 0x40078fb4
[0;32mI (28) boot: ESP-IDF v3.0.1 2nd stage bootloader[0m
[0;32mI (28) boot: compile time 13:49:50[0m
[0;32mI (28) boot: Enabling RNG early entropy source...[0m
[0;32mI (32) boot: SPI Speed : 40MHz[0m
[0;32mI (37) boot: SPI Mode : DIO[0m
[0;32mI (41) boot: SPI Flash Size : 4MB[0m
[0;32mI (45) boot: Partition Table:[0m
[0;32mI (48) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (56) boot:0 nvs WiFi data 01 02 00009000 00004000[0m
[0;32mI (63) boot:1 otadata OTA data 01 00 0000d000 00002000[0m
[0;32mI (70) boot:2 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (78) boot:3 factory factory app 00 00 00010000 00300000[0m
[0;32mI (85) boot: End of partition table[0m
[0;32mI (90) boot: Defaulting to factory image[0m
[0;32mI (94) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x40a94 (264852) map[0m
[0;32mI (196) esp_image: segment 1: paddr=0x00050abc vaddr=0x3ffc0000 size=0x02a48 ( 10824) load[0m
[0;32mI (200) esp_image: segment 2: paddr=0x0005350c vaddr=0x40080000 size=0x00400 (1024) load[0m
[0;32mI (203) esp_image: segment 3: paddr=0x00053914 vaddr=0x40080400 size=0x0c6fc ( 50940) load[0m
[0;32mI (233) esp_image: segment 4: paddr=0x00060018 vaddr=0x400d0018 size=0x98f40 (626496) map[0m
[0;32mI (452) esp_image: segment 5: paddr=0x000f8f60 vaddr=0x4008cafc size=0x037e8 ( 14312) load[0m
[0;32mI (459) esp_image: segment 6: paddr=0x000fc750 vaddr=0x400c0000 size=0x00000 ( 0) load[0m
[0;32mI (468) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (469) boot: Disabling RNG early entropy source...[0m
[0;32mI (471) cpu_start: Pro cpu up.[0m
[0;32mI (474) cpu_start: Starting app cpu, entry point is 0x4008103c[0m
[0;32mI (0) cpu_start: App cpu up.[0m
[0;32mI (485) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (492) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM[0m
[0;32mI (498) heap_init: At 3FFCF520 len 00010AE0 (66 KiB): DRAM[0m
[0;32mI (504) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM[0m
[0;32mI (510) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m
[0;32mI (517) heap_init: At 400902E4 len 0000FD1C (63 KiB): IRAM[0m
[0;32mI (523) cpu_start: Pro cpu start user code[0m
[0;32mI (205) cpu_start: Starting scheduler on PRO CPU.[0m
[0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m
START OK
USER_PARTION_2
| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 [0m
[0;32mI (519) phy: phy_version: 3662, 711a97c, May9 2018, 14:29:06, 0, 0[0m
Initialize peripherals management[0m
Start SD card peripheral[0m
Start SD card peripheral[0m
Create Bluetootlh peripheral[0m
mounted!
--->姜育恒~1.mp3
Initialize Touch peripheral[0m
Start codec chip[0m
[0;31mE (1629) AC101_DRIVER: reset failed![0m
Create audio pipeline for playback[0m
Create i2s stream to write data to codec chip[0m
Get Bluetooth stream[0m
Create mp3 decoder to decode mp3 file[0m
Setup event listener[0m
Listen for all pipeline events[0m
Listening event from peripherals[0m
Link it together -->bt_stream_reader-->i2s_stream_writer-->[0m
Tap touch buttons to control music player:[0m
Previous song.[0m
Select sd or bt mode.[0m
Next song.[0m
Stop or Play.[0m
adjust volume +.[0m
adjust volume -.[0m
AEL msg cmd reported status[0m
BT mode Touch_set[0m
BT mode Touch_set[0m
Current Mode: SD_Mode [0m
[0;33mW (18549) AUDIO_PIPELINE: There are no listener registered[0m
Link it together -->mp3_decoder-->i2s_stream-->[0m
+++++:/sdcard/music/姜育恒~1.mp3
AEL msg cmd reported status[0m
Received music info from mp3 decoder, sample_rates=44100, bits=16, ch=2[0m
AEL msg cmd reported status[0m
AEL msg cmd reported status[0m
touch tap event[0m
Finishing current song[0m
[0;31mE (71449) MP3_DECODER: output aborted 3584[0m
AEL msg cmd reported status[0m
AEL msg cmd reported status[0m
AEL msg cmd reported status[0m
Finished, advancing to the next song[0m
+++++:/sdcard/music/姜育恒~1.mp3
AEL msg cmd reported status[0m
Received music info from mp3 decoder, sample_rates=44100, bits=16, ch=2[0m
AEL msg cmd reported status[0m
AEL msg cmd reported status[0m
touch tap event[0m
Pausing audio pipeline[0m
AEL msg cmd reported status[0m
touch tap event[0m
Resuming audio pipeline[0m
AEL msg cmd reported status[0m
touch tap event[0m
Pausing audio pipeline[0m
AEL msg cmd reported status[0m
touch tap event[0m
Resuming audio pipeline[0m
AEL msg cmd reported status[0m
</code></pre>
<p>这是几天 以前的实验了,但我今天觉得奇怪,我打开固件那个连接,固件下载居然没了。给我感觉,厂家对音频我觉得不太认真。因为固件根本就是以前版本的。</p>
<p> </p>
<p>技术支持很少啊。没有资料怎么玩??</p>
<p>但是这不就是一个专门为音频设计的开发套件吗?</p>
<p>从串口数据来看,基本是可以控制音频了</p>
<p>赚个积分</p>
页:
[1]