为了方便客户实现各种自定义参数的烧录。 Onmicro软件提供居于命令行的烧录工具,客户可以用这烧录,实现各种自定义参数的烧写。 以下简单演示一下使用过程。详情请向对接窗口索使用手册及对应的工具。 参数,如下图,但在命令行输入中,是不允许回车换行的。下面换行显示,是为了方便阅读对比。 .\BleIspTool_Rev2.0.0.exe -s COM8 -b 115200 -appfile D:\cmd_burn\662X命令行工具及测试demo\BleIspTool\ble_app_multilink_rev0.5.bin -erase -appaddress 0 -bluetooth 112233445566 -jtag -conftag 2,STRING,Y1MO240528042000001 -nvdstag 103,ARRAY,3141592653589793 .\BleIspTool_Rev2.0.0.exe -s COM8 -b 115200 -appfile D:\cmd_burn\662X命令行工具及测试demo\BleIspTool\ble_app_multilink_rev0.5.bin -erase -appaddress 0 -bluetooth 112233445566 -conftag 2,STRING,Y1MO240528042000001 -nvdstag 103,ARRAY,3141592653589793 PowerShell 测试Log PS D:\cmd_burn\662X命令行工具及测试demo\BleIspTool> .\BleIspTool_Rev2.0.0.exe -s COM8 -b 115200 -appfile D:\cmd_burn\662X命令行工具及测试demo\BleIspTool\ble_app_multilink_rev0.5.bin -erase -appaddress 0 -bluetooth 112233445566 -conftag 2,STRING,Y1MO240528042000001 -nvdstag 103,ARRAY,3141592653589793 {"result":"START","reason":"COM8 Start downloading!"} {"result":"RUN","reason":"progress: 0.5%"} {"result":"RUN","reason":"progress: 1.0%"} {"result":"RUN","reason":"progress: 1.4%"} {"result":"RUN","reason":"progress: 1.9%"} {"result":"RUN","reason":"progress: 2.4%"} {"result":"RUN","reason":"progress: 2.9%"} {"result":"RUN","reason":"progress: 3.4%"} {"result":"RUN","reason":"progress: 3.9%"} {"result":"RUN","reason":"progress: 4.3%"} .... {"result":"RUN","reason":"progress: 96.1%"} {"result":"RUN","reason":"progress: 96.6%"} {"result":"RUN","reason":"progress: 97.1%"} {"result":"RUN","reason":"progress: 97.6%"} {"result":"RUN","reason":"progress: 98.1%"} {"result":"RUN","reason":"progress: 98.6%"} {"result":"RUN","reason":"progress: 99.0%"} {"result":"RUN","reason":"progress: 100.0%"} {"result":"SUCCESS","reason":"COM8 Download successfully! ROMID:0x6626A100, FlashSize:0x00100000 "} {"result":"SUCCESS","reason":"COM8 Download successfully! ROMID:0x6626A100, FlashSize:0x00100000 32.8sec progress: 100.0%"} 烧录完毕。 字符串形式 -conftag 2,STRING,Y1MO240528042000001 16进制数据 -nvdstag 103,ARRAY,3141592653589793 MAC地址数据 -bluetooth 112233445566 对应FLash的数据 终端用,可以通过指定不同的Tag,类型,内容,来烧录不同的自定义Tag。 烧录进的Tag数据,可以用NVDS来读取。 需要注意的事, 如果使用-jtag 保护后, Reboot指令是不响应的。 |