我用的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 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