原创 CC2642蓝牙相关记录

2023-2-24 16:54 1381 6 6 分类: 汽车电子 文集: CC2642
1. 官方文档:https://www.ti.com.cn/product/cn/CC2642R-Q1
2. TI E2E蓝牙问题交流:https://e2echina.ti.com/support/wireless-connectivity/bluetooth/f/bluetooth-forum
3. sdk包文件组成:docs 帮助文档相关,examples 范例。。。。。。
doc OAD阅读
OAD拓扑结构:OAD Target、OAD Distributor
OAD分发器可以采用任何形式。连接到相关PC工具的TI开发套件,但也可以是实现协议特定传输的移动设备或另一个TI嵌入式设备。
OAD存储
On-chip OAD stores the downloaded image to internal flash, while off-chip OAD stores the downloaded image to external flash.
Both OAD storage and OAD security can be configured independently.
OAD storage comparison
On-chip: Advantages(No external flash required),Limitations(Application size restriction)
Off-chip:Advantages(Ability to store multiple / backup images、App + Stack merged update supported、Maximum application size available to customer),
Limitations(Low power external flash required)
OAD Security
Boot Image Manager (BIM): Image validation/verification procedure
OAD Image Header OAD image header: Added security segment
OAD Image Tool: Added key generation functionality/ ability to sign image
It is imperative that the system developer protect the corresponding private key. Since any party that has access to the private key can generate signed images, these images will be treated as a valid authentic image and executed by the device. Likewise, if the private key is lost, the ability to generate new valid firmware images is lost.
Unsecure:Advantages(Less complexity runtime、Requires less flash),Limitations(Will naively accept, install and execute any downloaded images with valid CRC)
Secure:Advantages(Verifies OAD image authenticity before installing and enabling device execution of the new image),Limitations(All downloaded images are required to be signed、Requires more flash for the for the OAD Image Header、Takes longer time (more energy) to perform the firmware upgrade)
Secure BIM
安全BIM和不安全BIM之间的唯一区别是在BIM过程中增加了安全步骤。
安全检查步骤发生在CRC检查之后。
Secure BIM will always reject new OAD images that are not signed. However, Unsecure BIM will accept both signed and unsigned OAD images.
OAD目标操作需要BIM应用程序,但不会随OAD样本应用程序自动导入。因此,BIM项目必须加载到工作空间中并单独下载。BIM项目可位于/examples/nortos//common/BIM/BIM_/内,具体取决于所使用的设备和配置。
此示例应用程序在闪存的最后一页与修改后的CCFG寄存器一起闪存,强制起始地址为BIM。这允许BIM执行,并决定MCU通电时的引导顺序。BIM使用的CCFG位于/examples/nortos//common/BIM/BIM_chip/src,其链接器文件位于/source/ti/common/cc26xx/
BIM应用程序必须与OAD应用程序一起下载,任何项目都不应删除或覆盖另一个项目的闪存内容。
待续。。。

作者: 蓝牙菜鸟, 来源:面包板社区

链接: https://mbb.eet-china.com/blog/uid-me-4026903.html

版权声明:本文为博主原创,未经本人允许,禁止转载!

文章评论0条评论)

登录后参与讨论
我要评论
0
6
关闭 站长推荐上一条 /2 下一条