使用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开发版的,特别是语音这块的说明,很少,可能也是新板子,得等官方慢慢完善吧

撰写答案

请登录后再发布答案,点击登录