使用HLK-W800生成的SDK編譯通過固件燒錄能語音識別但是沒有聲音

發布於 2022-12-15 22:22:42

我用的HLK-W800-KIT-PRO板子,我在http://voice.hlktech.com/配置了個燈控制器玩玩,生成了SDK發布成功後,按照官方教程一比一複原編譯環境,編譯通過沒有報錯,然後按照教程一路燒錄,中間沒有改動任何東西,喇叭沒有任何聲音,也能進行語音識別(但是識別靈敏度好像比原來差),IO控制也正常,奇怪的是即使燒錄出廠固件(https://h.hlktech.com/Mobile/download/fdetail/188.html)也是同樣的問題,但是收到貨的時候固件是正常的。
下面是打印的信息,<E>us615_codec es8311 config failed,原本以為是語音芯片配置問題,但是拿全新正常的板子輸出也有這句,是不是有可能最近板子改版了,和原來的出廠固件和在線SDK生成不匹配了。反複試了找不到問題,不知道有哪位大俠知道問題,萬謝。
我又用一塊正常板子重複過程,問題一樣的,基本可以排除板子損壞問題。
Welcome boot2.0!
build: Jul 19 2021 15:53:39
Use develop key to verify...
load img & jump to [prim]
load&jump 0x8012000,0x8012000,1766108
all copy over..j m
j 0x08012014
internalflsID:85
[ 0.021][uni_auto_ctrl] user_gpio_init success
[ 0.035]KWS kws version is :7.4.0
[ 0.039]<W>VCPROC samples_per_frame=256
[ 0.043]sampling samples_per_frame=1024
[ 0.047]sampling freq=16000, bits=16, frame_size=2048, buf_size=4096
[ 0.053]<D>us615_codec period=2048, fifo_size=4096
[ 0.058]<E>us615_codec es8311_reinit, 278 fail
[ 0.063]<E>us615_codec es8311 config failed
[ 0.067]<D>sampling sample open success, bit width 16, sample rate 16000
[ 0.074]<D>sampling codec sampling start success
[ 0.078]VCPROC frame_size=512
[ 0.082]INIT find 5 partitions
[ 0.094]<D>bt_hci_h4 bt_us615_register
[ 0.098]<D>bt_hci_h4 h4_hal_init
Welcome to CLI...

[ 0.105]<D>APP 1.0.0

[ 0.108]<D>APP_SYS boot reason 0
[ 0.111]<D>us615_codec start es8311 config
[ 0.172]<D>us615_codec end es8311 config
[ 0.175]<D>LAUDIO local_audio_init buf_size=1024, period=512
[ 0.182]<D>app_fota 1.0.0
[ 0.195]APP wifi in mode 0
[ 0.198]<D>user_player play 109 file, addr=81a4440, len=1378
[ 0.204]<D>VCPROC ai mute [0]
[ 0.207]<D>KWS kws stop
[ 0.209]<D>KWS kws is not running, skip stop
TTS START
[ 0.215]<D>LAUDIO play start lock
[ 0.218]<D>LAUDIO play start locked
[ 0.271]<D>LAUDIO codec output configed
[ 0.274]<D>LAUDIO codec output started
[ 0.279]<D>LAUDIO inter started
[ 1.512]<D>user_player next num is -1
[ 1.516]<D>user_player feed data end
[ 1.588]<D>LAUDIO play stop unlock
[ 1.591]<D>LAUDIO play stop unlocked
TTS END
[ 1.596]<D>VCPROC ai unmute [1]
[ 1.599]<D>us615_codec period=2048, fifo_size=4096
[ 1.604]<D>us615_codec skip config same sr:16000
[ 1.608]<D>sampling sample open success, bit width 16, sample rate 16000
[ 1.615]<D>sampling codec sampling start success
[ 1.620]<D>KWS kws relaunch
[ 1.622]<D>KWS kws relaunch lock
[ 1.626]<D>KWS kws relaunch locked
enter wakeup_normal
[ 1.650]KWS kws start in 0 mode
[ 1.654]<D>KWS kws relaunch done
[ 7.981]<D>lasr_parse command=打開日光燈, score=12.79
[ 7.986]KWS command=打開日光燈, score=12.79, std_thresh=2.53
[ 7.993]<D>KWS recv result:打開日光燈, score:12.79
[ 7.998]<D>nlu found map 33
[ 8.001]nlu found result {"cmd":"SunlightLamp#val#100","pcm":"[139]"}
KWS offline_result:[wakeup_normal] command[打開日光燈] score[12.79] SunlightLamp#val#100
[ 8.017]<D>[uni_auto_ctrl] handle kws result action: SunlightLamp#val#100
[ 8.024]<D>user_player play 139 file, addr=81b2380, len=2026
[ 8.029]<D>VCPROC ai mute [0]
[ 8.032]<D>KWS kws stop
[ 8.035]KWS inter kws stop
[ 8.038]<D>KWS kws stop unlock
[ 8.041]<D>KWS kws stop unlocked
[ 8.044]<D>KWS kws stop done
TTS START
[ 8.048]<D>LAUDIO play start lock
[ 8.051]<D>LAUDIO play start locked
[ 8.055]<D>us615_codec skip config same sr:16000
[ 8.059]<D>LAUDIO codec output configed
[ 8.063]<D>LAUDIO codec output started
[ 8.067]<D>LAUDIO inter started
[ 9.944]<D>user_player next num is -1
[ 9.948]<D>user_player feed data end
[ 10.017]<D>LAUDIO play stop unlock
[ 10.020]<D>LAUDIO play stop unlocked
TTS END
[ 10.025]<D>VCPROC ai unmute [1]
[ 10.028]<D>us615_codec period=2048, fifo_size=4096
[ 10.032]<D>us615_codec skip config same sr:16000
[ 10.037]<D>sampling sample open success, bit width 16, sample rate 16000
[ 10.044]<D>sampling codec sampling start success
[ 10.048]<D>KWS kws relaunch
[ 10.051]<D>KWS kws relaunch lock
[ 10.054]<D>KWS kws relaunch locked
enter wakeup_normal
[ 10.079]KWS kws start in 0 mode
[ 10.082]<D>KWS kws relaunch done

查看更多

關注者
0
被浏覽
1.8k
2 個回答
isme
isme 認證專家 2022-12-16
冰鎮大西瓜

如果燒錄官方固件也不行的話,大概率板子有問題,哪裡買的板子找他們客服問下。

1521748205
1521748205 2023-01-10
這家夥很懶,什麼也沒寫!

和樓主差不多的情況,使用自定義的語音sdk,然後按照官方的說明編譯出.fls的文件,但是燒錄進板子,燈亮但沒有語音播報。不過下載官方的出廠固件,自行編譯出出廠的.fls,可以回到剛剛拿到板子的狀態。

這種情況,應該是http://voice.hlktech.com生成的sdk有問題(在編譯自定義sdk的過程中,確實有發現一個頭文件ecc_platform_specific,沒有後綴,官方的sdk裡就有後綴.h,修改後編譯通過,說明確實在該網址下生成的sdk,大概率是有問題的,但具體情況未知)

板子硬件方面確實性價比很高,但是售後以及配套軟件還是得加把勁,之前用過天問的板子,確實配套相比之下要好很多,也許是我的問題,找了很多地方,只有w800芯片相關的說明,至於這個w800-kit-pro開發版的,特別是語音這塊的說明,很少,可能也是新板子,得等官方慢慢完善吧

撰寫答案

請登錄後再發布答案,點擊登錄

發布
問題

分享
好友

手機
浏覽

掃碼手機浏覽