編輯語(yǔ):
芯片開(kāi)放社區(qū)(OCC)面向廣大開(kāi)發(fā)者推出應(yīng)用實(shí)戰(zhàn)系列內(nèi)容,通過(guò)分享開(kāi)發(fā)者實(shí)戰(zhàn)開(kāi)發(fā)案例,總結(jié)應(yīng)用開(kāi)發(fā)經(jīng)驗(yàn),梳理開(kāi)發(fā)中的常見(jiàn)問(wèn)題及解決方案,為后續(xù)參與的開(kāi)發(fā)者提供更多參考與借鑒。
本文是關(guān)于開(kāi)發(fā)者 qinyunti基于BL606P-DVK開(kāi)發(fā)板實(shí)戰(zhàn)開(kāi)發(fā)的系列文章中的一篇,主要介紹了智能音箱測(cè)試,后面還會(huì)持續(xù)更新該開(kāi)發(fā)者的測(cè)評(píng)內(nèi)容,敬請(qǐng)期待!
01前言
上一篇我們進(jìn)行藍(lán)牙音頻播放測(cè)試,這一篇進(jìn)行智能音箱應(yīng)用案例測(cè)試。
02過(guò)程
2.1 安裝喇叭如下
2.2 下載代碼
https://occ.t-head.cn/community/download?id=4080667575720153088
解壓到非中文路徑
雙擊打開(kāi)
longyuan_v2.1.1solutionssmart_speaker_v2project.cdkws
2.3 編譯
編譯時(shí)間比較久
下載,注意JTAG跳線
復(fù)位可以聽(tīng)到語(yǔ)音播放”正在啟動(dòng)”
串口輸入
kvsetwifi_ssid0wifi名
kvsetwifi_psk0wifi密碼
reboot
重啟后可以聽(tīng)到語(yǔ)音播報(bào)”網(wǎng)絡(luò)連接成功”
語(yǔ)音”天貓精靈”
程序奔潰
打印如下
!!!!!!!!!!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總結(jié)
語(yǔ)音”天貓精靈”后程序奔潰,修改編譯器版本為2.4解決。
審核編輯:湯梓紅
-
芯片
+關(guān)注
關(guān)注
455文章
50812瀏覽量
423582 -
音視頻
+關(guān)注
關(guān)注
4文章
475瀏覽量
29878 -
開(kāi)發(fā)板
+關(guān)注
關(guān)注
25文章
5050瀏覽量
97456 -
智能音箱
+關(guān)注
關(guān)注
31文章
1783瀏覽量
78593 -
藍(lán)牙音頻
+關(guān)注
關(guān)注
0文章
59瀏覽量
8584
原文標(biāo)題:應(yīng)用速遞 | 博流BL606P音視頻開(kāi)發(fā)板:(七)智能音箱測(cè)試
文章出處:【微信號(hào):芯片開(kāi)放社區(qū),微信公眾號(hào):芯片開(kāi)放社區(qū)】歡迎添加關(guān)注!文章轉(zhuǎn)載請(qǐng)注明出處。
發(fā)布評(píng)論請(qǐng)先 登錄
相關(guān)推薦
評(píng)論