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

CC1312 firmware upgrade via iot module

CC1312 is connected to the Internet of things module through the UART interface,and the firmware upgrade of CC1312 is downloaded through the server.
After power on MCU, first run bootloader, bootloader should include what configuration?
And then I'm going to run either a-app or b-app, and in the APP, what configuration do I want to do?
Hope experts can provide support, it is best to have a source demo, thank you.
YiKai Chen:

CC1312R has serial bootloader for firmware update from UART. You can to refer to chapter 10 Bootloader in CC13x2, CC26x2 SimpleLink™ Wireless MCU Technical Reference Manual and Linux® Serial Bootloader Example Application.

Susan Yang:

您现在是想通过串口来升级程序?对此,我们有一个专门的文档以及代码,您可以先参考一下

www.ti.com/…/swra466b.pdf

www.ti.com/…/swra466

guoli si:

回复 YiKai Chen:

MCU serial port needs to communicate with 4G module all the time. If you use hardware BOOT, the 4G network will be disconnected. I had to keep the server connected to the 4G module and download the new application into flash. Hardware BOOT does not support this.So, I want to use software to configure and update the application code.But I don't know how to code software BOOT( the boot program).

guoli si:

回复 Susan Yang:

这个方案是我需要的,不知道有没有demo,有的话请发送到我的邮箱1531739026@qq.com谢谢

Susan Yang:

回复 guoli si:

点击我之前回复的 第二个链接 就可以下载代码了

guoli si:

回复 Susan Yang:

我详细看了一下,这个是片上的boot。我要把服务器里面放的应用程序,通过4G模块下载到MCU的flash。如果要是用硬件boot,这样会导致4G模块掉线,没有办法执行啊。有没有一种办法,像我们平时往flash中存放数据一样,把代码存储进去,然后复位MCU,通过引导程序,来执行新的应用代码,然后擦除旧的应用程序。我希望是通过这种模式实现固件的更新。

YiKai Chen:

回复 guoli si:

这樣的引导程序要自己去作

guoli si:

回复 YiKai Chen:

有没有这样的例程,思路是有,但是不知道如何去实现。

YiKai Chen:

回复 guoli si:

可以參考BIM例程

guoli si:

回复 YiKai Chen:

BIM例程在SDK里面吗?我没有找到这个例程。我安装的simplelink_cc13x2_26x2_sdk_3_20_00_68

赞(0)
未经允许不得转载:TI中文支持网 » CC1312 firmware upgrade via iot module
分享到: 更多 (0)