TI中文支持网
TI专业的中文技术问题搜集分享网站

CC3200进行OTA升级需要/sys/mcubootinfo.bin,请问这个文件怎么生成

您好,我看了Terry Han的Bootloader Application Update Sequence还有SDK1.5.0的ota例程,发现在Terry Han的文档中多次提及到了/sys/mcubootinfo.bin,这个文件是/sys/mcubootinfo.bin需要读取并以此选择是启动mcuimg1还是2的条件。但是没有说怎么编写这个info的文件啊。只是说没有读取到会创建,但是我运行了以此ota例程在ufilash里也没看到这个info文件。请问下1、这个mcubootinfo文件是怎么编写生成的;2、怎么将relocator与bootmgr合起来;3、OTA能否不使用服务器,直接通过AP模式建立TCP/IP传输进行升级

Viki Shi:

"/sys/mcubootinfo.bin”

This file is updated by the FLC library and is referred to by the MCU’s Application

(secondary) boot loader to implement commit/rollback feature. If this file is flashed during

production then the application bootloader generates this file on the first power up cycle

based on the following rules

If the mcubootinfo.bin file doesn’t exists on the file system it is auto generated by this

bootloader by scanning the file system for bootable images in the following order, if none

exists, the booting is aborted

OTA的实现可参考下面文档:CC3200 Over-The-Air (OTA) Update Application Note (1).pdf

Kevin Qiu1:

1,2可以看C:\ti\CC3200SDK_1.5.0\cc3200-sdk\docs 中的CC3200_OTA_Update_Application_Note,介绍的很详细
3.例程中目前是通过服务器实现的,其他的需要自己实现

user6458813:

回复 Kevin Qiu1:

application_bootloader如何生成?application_bootloader的简介里说Rebuild the bootmgr project to generate application_bootloader.bin.但是不是得结合reload文件一起生成application_bootloader吗?这一步怎么操作???

Viki Shi:

回复 user6458813:

application_bootloader本身就是reloactor和boot manager的串联文件,你按照Adding OTA Feature to Existing MCU Application,然后build生成application_bootloader即可

user6458813:

回复 Viki Shi:

这一步不懂。。。我在CCS中Import ccs project,发现application_bootloader里是两个CCS project。你说的Adding OTA Feature to Existing MCU Application 我还不清楚怎么弄。

Kevin Qiu1:

回复 user6458813:

CCS通过C:\ti\CC3200SDK_1.5.0\cc3200-sdk\example\application_bootloader\bootmgr\ccs中的工具bootgen.exe
将relocator.bin和bootmgr.bin合并成application_bootloader.bin

user6458813:

回复 Kevin Qiu1:

我把relocator.bin和bootmgr.bin与工具放在同一个文件夹并运行了这个bootgen.exe工具但是并没有生成application_bootloader.bin

user6458813:

回复 Kevin Qiu1:

嗯,是的,我检查过CCS的配置。发现这部分没有配置上。当这部分配置好后可以生成application_bootloader的文件。

赞(0)
未经允许不得转载:TI中文支持网 » CC3200进行OTA升级需要/sys/mcubootinfo.bin,请问这个文件怎么生成
分享到: 更多 (0)