[活动] [ESP32-Audio-Kit音频开发板测评]二、下载音频固件

ddllxxrr   2021-9-5 21:11 楼主

这周我在官网下了下载FLASH的软件。

也下了音频开发板的固件。https://docs.ai-thinker.com/esp32-audio-kit-factory-bin

总共三个bin文件,我把第一个最全的烧进去了。

esp333.jpg

 

我用串口助手观察,发现没有声音,只有噪声。我想得改那个I2C引脚。那就得搭开发环境了。

以下是我串口的数据,按KEY2是WIFI同SD卡的切换。

event
I (44369) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Volume set to 0 
I (46929) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Vol+] touch tap event
I (46929) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Volume set to 5 
I (48039) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Vol+] touch tap event
I (48039) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Volume set to 10 
I (48759) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Vol+] touch tap event
I (48759) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Volume set to 15 
I (49219) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Vol+] touch tap event
I (49229) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Volume set to 20 
I (49759) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Vol+] touch tap event
I (49769) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Volume set to 25 
I (50219) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Vol+] touch tap event
I (50219) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Volume set to 30 
I (53289) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Vol-] touch tap event
I (53289) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Volume set to 25 
I (53749) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Vol-] touch tap event
I (53749) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Volume set to 20 
I (54069) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Vol-] touch tap event
I (54069) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Volume set to 15 
I (54339) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Vol-] touch tap event
I (54339) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Volume set to 10 
I (55539) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Vol+] touch tap event
I (55539) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Volume set to 15 
I (55899) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Vol+] touch tap event
I (55899) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Volume set to 20 
I (56209) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Vol+] touch tap event
I (56209) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Volume set to 25 
ets Jun  8 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
I (28) boot: ESP-IDF v3.0.1 2nd stage bootloader
I (28) boot: compile time 13:49:50
I (28) boot: Enabling RNG early entropy source...
I (32) boot: SPI Speed      : 40MHz
I (37) boot: SPI Mode       : DIO
I (41) boot: SPI Flash Size : 4MB
I (45) boot: Partition Table:
I (48) boot: ## Label            Usage          Type ST Offset   Length
I (56) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (63) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (70) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (78) boot:  3 factory          factory app      00 00 00010000 00300000
I (85) boot: End of partition table
I (90) boot: Defaulting to factory image
I (94) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x40a94 (264852) map
I (196) esp_image: segment 1: paddr=0x00050abc vaddr=0x3ffc0000 size=0x02a48 ( 10824) load
I (200) esp_image: segment 2: paddr=0x0005350c vaddr=0x40080000 size=0x00400 (  1024) load
I (203) esp_image: segment 3: paddr=0x00053914 vaddr=0x40080400 size=0x0c6fc ( 50940) load
I (233) esp_image: segment 4: paddr=0x00060018 vaddr=0x400d0018 size=0x98f40 (626496) map
I (452) esp_image: segment 5: paddr=0x000f8f60 vaddr=0x4008cafc size=0x037e8 ( 14312) load
I (459) esp_image: segment 6: paddr=0x000fc750 vaddr=0x400c0000 size=0x00000 (     0) load
I (468) boot: Loaded app from partition at offset 0x10000
I (469) boot: Disabling RNG early entropy source...
I (471) cpu_start: Pro cpu up.
I (474) cpu_start: Starting app cpu, entry point is 0x4008103c
I (0) cpu_start: App cpu up.
I (485) heap_init: Initializing. RAM available for dynamic allocation:
I (492) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (498) heap_init: At 3FFCF520 len 00010AE0 (66 KiB): DRAM
I (504) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (510) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (517) heap_init: At 400902E4 len 0000FD1C (63 KiB): IRAM
I (523) cpu_start: Pro cpu start user code
I (205) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.


START OK



USER_PARTION_2

I (209) gpio: GPIO[22]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (519) phy: phy_version: 3662, 711a97c, May  9 2018, 14:29:06, 0, 0
I (559) SDCARD_BT_CONTROL_EXAMPLE: [1.0] Initialize peripherals management
I (559) SDCARD_BT_CONTROL_EXAMPLE: [1.1] Start SD card peripheral
I (559) SDCARD_BT_CONTROL_EXAMPLE: [1.2] Start SD card peripheral
I (569) SDCARD_BT_CONTROL_EXAMPLE: [1.3] Create Bluetootlh peripheral
mounted!

--->姜育恒~1.mp3 



I (619) SDCARD_BT_CONTROL_EXAMPLE: [1.4] Initialize Touch peripheral
I (619) SDCARD_BT_CONTROL_EXAMPLE: [ 2 ] Start codec chip
E (1629) AC101_DRIVER: reset failed!
I (1739) SDCARD_BT_CONTROL_EXAMPLE: [3.0] Create audio pipeline for playback
I (1739) SDCARD_BT_CONTROL_EXAMPLE: [3.1] Create i2s stream to write data to codec chip
I (1749) SDCARD_BT_CONTROL_EXAMPLE: [3.2] Get Bluetooth stream
I (1749) SDCARD_BT_CONTROL_EXAMPLE: [3.2] Create mp3 decoder to decode mp3 file
I (1759) SDCARD_BT_CONTROL_EXAMPLE: [4.0] Setup event listener
I (1759) SDCARD_BT_CONTROL_EXAMPLE: [4.1] Listen for all pipeline events
I (1769) SDCARD_BT_CONTROL_EXAMPLE: [4.2] Listening event from peripherals
I (1779) SDCARD_BT_CONTROL_EXAMPLE: [3.3] Link it together [Bluetooth]-->bt_stream_reader-->i2s_stream_writer-->[codec_chip]
W (1789) SDCARD_BT_CONTROL_EXAMPLE: [ 5 ] Tap touch buttons to control music player:
W (1799) SDCARD_BT_CONTROL_EXAMPLE:       [KEY1][Prev] Previous song.
W (1809) SDCARD_BT_CONTROL_EXAMPLE:       [KEY2][mode] Select sd or bt mode.
W (1809) SDCARD_BT_CONTROL_EXAMPLE:       [KEY3][next] Next song.
W (1819) SDCARD_BT_CONTROL_EXAMPLE:       [KEY4][stop] Stop or Play.
W (1829) SDCARD_BT_CONTROL_EXAMPLE:       [KEY5][vol+] adjust volume +.
W (1829) SDCARD_BT_CONTROL_EXAMPLE:       [KEY6][vol-] adjust volume -.
I (1839) SDCARD_BT_CONTROL_EXAMPLE: [ * ] AEL msg cmd reported status
I (11829) SDCARD_BT_CONTROL_EXAMPLE: [ * ] BT mode Touch_set
I (12819) SDCARD_BT_CONTROL_EXAMPLE: [ * ] BT mode Touch_set
I (13519) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Current Mode: SD_Mode 
W (18549) AUDIO_PIPELINE: There are no listener registered
I (18549) SDCARD_BT_CONTROL_EXAMPLE: [3.4] Link it together [my_sdcard_read_cb]-->mp3_decoder-->i2s_stream-->[codec_chip]
+++++:/sdcard/music/姜育恒~1.mp3

I (18559) SDCARD_BT_CONTROL_EXAMPLE: [ * ] AEL msg cmd reported status
I (18579) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Received music info from mp3 decoder, sample_rates=44100, bits=16, ch=2
I (18619) SDCARD_BT_CONTROL_EXAMPLE: [ * ] AEL msg cmd reported status
I (18619) SDCARD_BT_CONTROL_EXAMPLE: [ * ] AEL msg cmd reported status
I (71409) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Set] touch tap event
I (71409) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Finishing current song
E (71449) MP3_DECODER: output aborted 3584
I (71449) SDCARD_BT_CONTROL_EXAMPLE: [ * ] AEL msg cmd reported status
I (71449) SDCARD_BT_CONTROL_EXAMPLE: [ * ] AEL msg cmd reported status
I (71539) SDCARD_BT_CONTROL_EXAMPLE: [ * ] AEL msg cmd reported status
I (71539) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Finished, advancing to the next song
+++++:/sdcard/music/姜育恒~1.mp3

I (71549) SDCARD_BT_CONTROL_EXAMPLE: [ * ] AEL msg cmd reported status
I (71569) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Received music info from mp3 decoder, sample_rates=44100, bits=16, ch=2
I (71599) SDCARD_BT_CONTROL_EXAMPLE: [ * ] AEL msg cmd reported status
I (71599) SDCARD_BT_CONTROL_EXAMPLE: [ * ] AEL msg cmd reported status
I (72569) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Play] touch tap event
I (72569) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Pausing audio pipeline
I (72629) SDCARD_BT_CONTROL_EXAMPLE: [ * ] AEL msg cmd reported status
I (74929) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Play] touch tap event
I (74929) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Resuming audio pipeline
I (74939) SDCARD_BT_CONTROL_EXAMPLE: [ * ] AEL msg cmd reported status
I (76489) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Play] touch tap event
I (76499) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Pausing audio pipeline
I (76529) SDCARD_BT_CONTROL_EXAMPLE: [ * ] AEL msg cmd reported status
I (77769) SDCARD_BT_CONTROL_EXAMPLE: [ * ] [Play] touch tap event
I (77769) SDCARD_BT_CONTROL_EXAMPLE: [ * ] Resuming audio pipeline
I (77779) SDCARD_BT_CONTROL_EXAMPLE: [ * ] AEL msg cmd reported status

这是几天 以前的实验了,但我今天觉得奇怪,我打开固件那个连接,固件下载居然没了。给我感觉,厂家对音频我觉得不太认真。因为固件根本就是以前版本的。

 

http://shop34182318.taobao.com/ https://shop436095304.taobao.com/?spm=a230r.7195193.1997079397.37.69fe60dfT705yr

回复评论 (4)

技术支持很少啊。没有资料怎么玩??

点赞  2021-9-6 09:39

但是这不就是一个专门为音频设计的开发套件吗?

点赞  2021-9-7 11:53

从串口数据来看,基本是可以控制音频了

点赞  2021-9-7 17:45

赚个积分

点赞  2021-10-13 16:13
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复