ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

WQ7033开发指南(基础篇)之1.2 烧录固件详解

2022-01-19 18:35:43  阅读:416  来源: 互联网

标签:bin 烧录 1.2 dac fifo json adc 255 WQ7033


整个系列文章查看:

​​​​​​WQ7033开发指南汇总


目录

修改后缀名

解压固件文件包

app_evt.xml

audmap_config.json

buidl_info.txt 

dbglog_table.txt

dsp_tws_app.bin 

fw_updater_core0.bin

iomap_config.json

kv_left.json

kv_right.json

memory_config.json

sbl_core0.bin

 tone.bin

tws_core0.bin 

 tws_core1.bin

 修改UI和打包WPK


修改后缀名

从前面的文章中我们已经了解到了,WQ7033编译后的文件格式是wpk.

把.wpk文件后缀改成.rar

解压固件文件包

解压patch_tws_1_1-6.1.0.295-release.rar:

app_evt.xml

应用事件集

audmap_config.json

MIC 硬件通道配置相关
{
    "version": "2.0",
    "audmap": [
        {
            "name":"voice_main",
            "id":0,
            "bias": 0,
            "adc": 1,
            "chn":0,
            "asrc":2,
            "rx_fifo":0,
            "dac":255,
            "note1":"bias is mic adc power switch, ranges is 0~1",
            "note2":"adc is analog to digital module,ranges is 0~2",
            "note3":"chn is adc digital front, filter, adjusted gain,ranges is 0~5",
            "note4":"asrc is transfer sampling rate adjust frequency offset",
            "note5":"rx fifo is adc path data stream buffer module,allow dma high speed transmission,ranges is 0~7",
            "note6":"dac is digital to analog module,ranges is 0~1"
        },
        {
            "name":"anc_ff",
            "id":1,
            "bias": 0,
            "adc": 0,
            "chn":1,
            "asrc":255,
            "rx_fifo":255,
            "dac":1
        },
        {
            "name":"anc_fb",
            "id":2,
            "bias": 1,
            "adc": 2,
            "chn":2,
            "asrc":255,
            "rx_fifo":255,
            "dac":1
        },
        {
            "name":"voice_second",
            "id": 3,
            "bias": 0,
            "adc":0,
            "chn":3,
            "asrc":3,
            "rx_fifo":1,
            "dac":255
        },
        {
            "name":"voice_third",
            "id": 4,
            "bias": 1,
            "adc":2,
            "chn":4,
            "asrc":0,
            "rx_fifo":2,
            "dac":255
        },
        {
            "name":"vad",
            "id":5,
            "bias": 0,
            "adc":1,
            "chn":4,
            "asrc":255,
            "rx_fifo":255,
            "dac":255
        },
        {
            "name":"play",
            "id":6,
            "bias": 255,
            "adc":255,
            "chn":255,
            "asrc":1,
            "rx_fifo":255,
            "dac":1
        }
    ]
}

buidl_info.txt 

SDK版本信息

Commit ID: 75a1864c7
Version: 6.1.0.295-release
Data: 2022-01-04 20:16:49

dbglog_table.txt

log 索引信息,打印 log 必须使用该文件

 

dsp_tws_app.bin 

DSP core固件

fw_updater_core0.bin

charger 单线升级固件

iomap_config.json

硬件 IO 映射配置相关

kv_left.json

左耳UI配置

kv_right.json

右耳UI配置

memory_config.json

flash 分区配置信息,烧录时 tool 根据此信息进行分区烧录

sbl_core0.bin

二级 boot 固件

 tone.bin

提示音文件

tws_core0.bin 

app 应用固件(core0),SDK 编译只编译这个核

 tws_core1.bin

BT 核固件(core1)

 修改UI和打包WPK

在E:\..\sdk_tws_6.1.0.295\sdk\core0\src\customer\demo\prebuild目录下,是UI配置工具生成的文件,然后编译WPK,就可以把修改好后的UI放在了新的WPK中。

也可以先编译WPK,然后修改UI配置文件,把下面的文件放在WPK目录下

 

标签:bin,烧录,1.2,dac,fifo,json,adc,255,WQ7033
来源: https://blog.csdn.net/dop102/article/details/122580817

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有