CSR蓝牙遥控器OTA固件升级

本文档详细介绍了CSR蓝牙遥控器如何通过CSR uEnergy SDK的Over-the-Air Update功能进行固件升级。内容包括OTA升级过程、日志、img文件格式、各img文件关系、OTA EEPROM Memory Map、触摸屏固件升级步骤以及一些小贴士,如修改发射功率和蓝牙地址。同时,还提供了相关工具和参考资料。
摘要由CSDN通过智能技术生成

目录

 

概述... 2

OTA升级过程简介... 2

日志... 2

img文件格式... 3

各个img文件的关系... 4

OTA EEPROM Memory Map. 4

CSR OTA Update bootloader shared data. 5

Application NVM.. 5

触摸屏固件升级... 6

替换触摸屏固件... 6

小贴士... 6

修改缺省发射功率... 6

修改蓝牙地址... 6

擦除EEPROM.. 7

EEPROM内容保存到文件eeprom.img. 7

下载keyboard.imgEEPROM并运行... 7

术语... 7

参考资料... 7

CSR8510 Bluetooth 4.0 USB Dongle driver7

CSR µEnergy Over-the-Air application demo. 7

CSR µEnergy Over-the-Air Updater 2.4.0.13. 8

CS Key. 8

CSR µEnergy SDK tools8

csconfigcmd. 8

otauimgcmd. 10

e2cmd. 11


概述

蓝牙遥控器固件升级采用CSRuEnergy SDK-2.4.2.1提供的Over-the-Air Update升级功能来实现。触摸屏固件内嵌在键盘应用的代码中,键盘应用初始化时检查触摸屏固件版本号,当版本号不相等时执行更新触摸屏固件操作,否则略过更新。

OTA升级过程简介

硬件:电脑、CSR8510Bluetooth 4.0 USB Dongle、蓝牙遥控器

软件:Windows操作系统、CSR µEnergy Over-the-AirUpdater 2.4.0.13

所需文件:keyboard_update.img

 

OTA升级日志上看,升级程序从蓝牙遥控器读取BDADDRCRYSTAL_FTRIMIDENTITY_ROOTENCRYPTION_ROOTCS Key,并把这些Key的值合并到用于升级的keyboard应用的img文件中。蓝牙遥控器进入bootloader模式,升级程序重新连接bootloader模式的蓝牙遥控器,传输数据完成升级后蓝牙遥控器重启进入keyboard应用。

日志

06:11:31 Status: Scanning for devices aborted.

06:11:31 Status: Device connecting...

06:11:31 Status: Connected to the device.

06:11:31 Status: Readingdatabase.

06:11:31 Status: Pairing request received.

06:11:31 Status: Bonded to device 0x.00:0b:82:6f:8b:bb

06:11:32 Status: Discovery successful

06:11:32 Status: Detected the CSR µEnergy OTA Update Application service.

06:11:32 Status: Connected to the device.

06:11:32 Status: Configuring device notifications...

06:11:32 Status: Configuring device indications...

06:11:32 Status: Reading information from the device...

06:11:32 Status: Current application position is 1.

06:11:32 Status: Reading CS Key block...

06:11:32 Status: Reading the Bluetooth address of the device...

06:11:32 Status: Bluetooth address: 00:0b:82:6f:8b:bb.

06:11:32 Status: Reading the device's crystal trim...

06:11:32 Status: Crystaltrim: 0x20.

06:11:32 Status: Reading the device's Identity Root...

06:11:32 Status: Identity Root: 0x00000000000000000000000100000000

06:11:32 Status: Reading the device's Encryption Root...

06:11:32 Status: Encryption Root: 0x00000000000000000000000300000000

06:11:32 Status: Merging the image and key file...

06:11:32 Status: Switching the device to bootloader mode.

06:11:32 Status: Current application position has been set successfully.

06:11:32 Status: Switching the device to bootloader mode.

06:11:32 Status: Disconnected from the device (source =

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值