目录
img文件格式... 3
各个img文件的关系... 4
CSR OTA Update bootloader shared data. 5
触摸屏固件升级... 6
小贴士... 6
术语... 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
概述
蓝牙遥控器固件升级采用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升级日志上看,升级程序从蓝牙遥控器读取BDADDR、CRYSTAL_FTRIM、IDENTITY_ROOT、ENCRYPTION_ROOT等CS 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 =