编辑语:
芯片开放社区(OCC)面向广大开发者推出应用实战系列内容,通过分享开发者实战开发案例,总结应用开发经验,梳理开发中的常见问题及解决方案,为后续参与的开发者提供更多参考与借鉴。
本文是关于开发者 qinyunti基于BL606P-DVK开发板实战开发的系列文章中的一篇,主要介绍了智能音箱测试,后面还会持续更新该开发者的测评内容,敬请期待!
01前言
上一篇我们进行蓝牙音频播放测试,这一篇进行智能音箱应用案例测试。
02过程
2.1 安装喇叭如下
2.2 下载代码
https://occ.t-head.cn/community/download?id=4080667575720153088
解压到非中文路径
双击打开
longyuan_v2.1.1solutionssmart_speaker_v2project.cdkws
2.3 编译
编译时间比较久
下载,注意JTAG跳线
复位可以听到语音播放”正在启动”
串口输入
kvsetwifi_ssid0wifi名
kvsetwifi_psk0wifi密码
reboot
重启后可以听到语音播报”网络连接成功”
语音”天猫精灵”
程序奔溃
打印如下
!!!!!!!!!!Exception!!!!!!!!!!
crashtime:2023-01-152012
currenttask:pool_0x543be150
==========Regsinfo==========
X1(ra)0x00000000540A698A
X2(sp)0x00000000543C02F8
X3(gp)0x000000005428D2FC
X4(tp)0x0000000004040404
X5(t0)0x00000000E080100C
X6(t1)0x0000000000000001
X7(t2)0x0000000000000001
X8(s0)0x00000000543C7F28
X9(s1)0x0000000000000003
X10(a0)0x0000000054BBAD90
X11(a1)0x0000000000000000
X12(a2)0x00000000FFFFFFFF
X13(a3)0x0000000000000001
X14(a4)0x0000000001834EC4
X15(a5)0x00000000543C7F68
X16(a6)0x0000000004871446
X17(a7)0x0000000000000000
X18(s2)0x0000000054BBAE38
X19(s3)0x0000000054BBAD90
X20(s4)0x00000000543BE150
X21(s5)0x0000000000000005
X22(s6)0x0000000000000005
X23(s7)0x00000000543BE170
X24(s8)0x00000000543BE178
X25(s9)0x00000000543EE4B0
X26(s10)0x0000000054BBAD90
X27(s11)0x0000000054BBADB8
X28(t3)0x0000000028282828
X29(t4)0x0000000029292929
X30(t5)0x0000000030303030
X31(t6)0x0000000031313131
MEPC0x0000000001834EC4
MSTAT0x0000000080007880
MCAUSE0x0000000038000002
MTVAL0x0000000000000000
SP0x00000000543C02F8
LR0x00000000540A698A
==========Callstack==========
pPC=pLR:0x1834ec4
backtrace:0x540a698a
backtrace:^taskentry^
==========HeapInfo==========
---------------------------------------------------------------------------
[HEAP]|TotalSz|FreeSz|UsedSz|MinFreeSz|MaxFreeBlkSz|
|0x008F5B40|0x00045270|0x008B08D0|0x000450E8|0x000450E8|
---------------------------------------------------------------------------
[POOL]|PoolSz|FreeSz|UsedSz|MinFreeSz|MaxFreeBlkSz|
|0x00000400|0x00000000|0x00000400|0x00000000|0x00000100|
---------------------------------------------------------------------------
==========TaskInfo==========
--------------------------------------------------------------------------
TaskNameStatePrioStackStackSize(MinFree)
--------------------------------------------------------------------------
dyn_mem_proc_taskPEND0x000000060x543082C80x00000800(0x00000688)
idle_taskRDY0x0000003D0x54308B040x00000860(0x00000714)
timer_taskPEND0x000000050x543093740x00001000(0x00000DE4)
cpu_statsSLP0x0000003C0x543079E40x00000528(0x000003CC)
app_taskSLP0x000000200x5430AB600x00002000(0x000014CC)
ipc->0PEND0x0000000A0x54311BA00x00001000(0x00000DD8)
ser85->0PEND0x000000090x543134100x00001800(0x00001414)
cli-uartPEND0x000000050x54315F980x00008000(0x00007CC4)
event_svrPEND0x000000200x5431E4180x00001000(0x00000978)
selectPEND0x000000200x5431F6400x00000800(0x0000030C)
ulogRDY0x0000003C0x543341400x00000C00(0x00000778)
yloopPEND0x000000200x54334D600x00001800(0x00001378)
disp_taskPEND0x000000200x54336F580x00001000(0x00000C44)
keymsgPEND0x000000240x54338D200x00001000(0x00000E58)
smtaudio_event_taskPEND0x000000200x54339F800x00000C00(0x00000814)
task_mediaPEND0x000000200x5433AE880x00001000(0x00000B64)
softwdtSLP0x0000001B0x5433C1B80x00000800(0x00000688)
TCP/IPPEND0x000000020x5433CF400x00000800(0x000004B8)
fwPEND0x000000010x620398FC0x00001800(0x00000C38)
netmgrPEND0x000000200x5433E2080x00002800(0x000023F4)
mixer_aoPEND0x0000001E0x543634480x00000C00(0x000007D4)
task_micPEND0x000000200x543744F80x00002800(0x000025E8)
wifi_mgmrPEND0x000000020x543676080x00000C00(0x00000688)
voice_mindPEND0x0000000B0x543B9F800x00002000(0x00001808)
ser238->0PEND0x000000090x543BC4100x00001800(0x00001168)
pool_0x543be150RDY0x0000001C0x543BE3580x00002000(0x00001E58)
pool_0x543be230PEND0x0000001C0x543C04B80x00002000(0x00001E58)
PcmInputPEND0x0000001C0x543C49A80x00002000(0x00001A38)
nuithings_event_cb_thSLP0x000000200x543F4F480x00004000(0x00003E48)
nuithings_tts_threadSLP0x000000200x5442D0180x00002000(0x00001E88)
blecontrollerPEND0x0000001F0x5442F4D80x00001000(0x00000968)
kws_data_taskPEND0x0000001C0x544307380x00002000(0x00001E98)
bt_co_threadPEND0x000000220x5443C7780x00001000(0x00000C34)
==========QueueInfo==========
-------------------------------------------------------
QueAddrTotalSizePeakNumCurrNumTaskWaiting
-------------------------------------------------------
========BufQueueInfo========
------------------------------------------------------------------
BufQueAddrTotalSizePeakNumCurrNumMinFreeSzTaskWaiting
------------------------------------------------------------------
0x5430A3740x000001E00x000000010x000000000x000001C8timer_task
0x543133A00x000001400x000000000x000000000x00000140ser85->0
0x5431E3180x000001E00x000000170x000000000x00000070event_svr
0x54312F900x000140000x0000006D0x000000000x0001055D
0x54336E580x000000F00x000000000x000000000x000000F0disp_task
0x54338CB00x000000280x000000000x000000000x00000028keymsg
0x54339F100x000000280x000000000x000000000x00000028smtaudio_event_task
0x5433AD880x000000600x000000020x000000000x00000040task_media
0x5433CE880x000002000x000000000x000000000x00000200TCP/IP
0x5433E1080x000000600x000000010x000000000x00000050netmgr
0x543413C00x000000F00x000000010x000000000x000000E0task_mic
0x54368B000x000003800x000000010x000000000x0000036Fwifi_mgmr
0x543BC3A00x000001400x000000030x000000000x000000D4ser238->0
0x5442F4680x000000A00x000000010x000000000x00000094blecontroller
0x5443AE000x000000100x000000010x000000010x00000008
0x5443BDA80x000000280x000000010x000000010x00000020
0x5443C2280x000000080x000000000x000000000x00000008
0x5443C3980x000000A00x000000010x000000000x00000098
0x5443C5500x000000A00x000000000x000000000x000000A0
0x5443C7080x000000A00x000000010x000000000x00000098
0x5443D8D00x000000500x000000000x000000000x00000050
0x5443F6B80x000000100x000000000x000000000x00000010
0x5443F8280x000000A00x0000000A0x0000000A0x00000050
0x544413E80x000000080x000000000x000000000x00000008
0x544416900x000000080x000000000x000000000x00000008
=========SemWaiting==========
--------------------------------------------
SemAddrCountPeakCountTaskWaiting
--------------------------------------------
0x543076A00x000000000x00000000dyn_mem_proc_task
0x5431F5780x000000000x00000000select
0x5433D9700x000000000x0000000Afw
0x543412800x000000000x00000000voice_mind
0x5436E7580x000000000x00000000kws_data_task
0x543C04700x000000000x00000000pool_0x543be230
0x5443C5C00x000000000x00000002bt_co_thread
0x544A4D900x000000000x00000000yloop
Total:0x00000016
========MutexWaiting=========
--------------------------------------------
MutexAddrTaskOwnerNestCntTaskWaiting
--------------------------------------------
0x54314DF8cli-uart0x543BE1E8pool_0x543be1500x543C7FC8pool_0x543be1500x543EE828PcmInputTotal:0x00000059
========allmemoryerrorblocks=========
kernelspacememlayout:
g_kmm_head=0x5430a4c0
ALLBLOCKS
Blk_AddrStatLenChkCallerPoint
==========Stackinfo==========
(0x543BE358):0xDEADBEAF0x000000000x000000000x00000000
.........................(AllZeros).........................
(0x543C01A8):0x000000000x000000000x000000000x543C01C8
(0x543C01B8):0xFFFFFFFF0x543BE3100x543C02E80x54020CE0
(0x543C01C8):0x541A8C8E0x5428D2FC0x040404040xE080100C
(0x543C01D8):0x000000010x000000010x543C02E80x543BE310
(0x543C01E8):0x800060880x543C24D80x543BE3100x00000000
(0x543C01F8):0x0000001C0x543076AE0x0017BD370x00000000
(0x543C0208):0xFFFFFFFF0xFFFFFFFF0x543077F80x80006088
(0x543C0218):0x222222220x543BE1700x543BE1780x25252525
(0x543C0228):0x262626260x272727270x282828280x29292929
(0x543C0238):0x303030300x313131310x000000000x541A8C8E
(0x543C0248):0x123456780x123456780x123456780x12345678
(0x543C0258):0x123456780x123456780x123456780x12345678
(0x543C0268):0x123456780x123456780x123456780x12345678
(0x543C0278):0x123456780x123456780x123456780x12345678
(0x543C0288):0x123456780x123456780x123456780x12345678
(0x543C0298):0x123456780x123456780x123456780x12345678
(0x543C02A8):0x123456780x123456780x123456780x543C02C8
(0x543C02B8):0x800060880x543BE3100x543C02E80x541A7D92
(0x543C02C8):0x303030300x000000050x543BE1500x19191919
(0x543C02D8):0x181818180x543C7FC80x543C02F80x540BE868
(0x543C02E8):0x123456780x000000030x543C7F280xE080100C
(0x543C02F8):0x123456780x123456780x123456780x12345678
(0x543C0308):0x123456780x123456780x000000000x00000000
(0x543C0318):0x123456780x123456780x123456780x27272727
(0x543C0328):0x262626260x252525250x242424240x23232323
(0x543C0338):0x222222220x212121210x202020200x19191919
(0x543C0348):0x181818180x090909090x080808080x541A9B3C
!!!!!!!!!!dumpend!!!!!!!!!!
03总结
语音”天猫精灵”后程序奔溃,修改编译器版本为2.4解决。
审核编辑:汤梓红
-
芯片
+关注
关注
453文章
50383浏览量
421716 -
音视频
+关注
关注
4文章
463浏览量
29854 -
开发板
+关注
关注
25文章
4943浏览量
97177 -
智能音箱
+关注
关注
31文章
1783浏览量
78491 -
蓝牙音频
+关注
关注
0文章
56浏览量
8560
原文标题:应用速递 | 博流BL606P音视频开发板:(七)智能音箱测试
文章出处:【微信号:芯片开放社区,微信公众号:芯片开放社区】欢迎添加关注!文章转载请注明出处。
发布评论请先 登录
相关推荐
评论