sfw版本为 1.1.0
mcu: rt1052
1、在使用sfw时出现的文件缺失问题:
menuconfig配置如下:
生成mdk5工程后,编译出现错误
添加了这两个文件后解决
2、配合sbl 出现的问题:
1、根据这个文档配置了sbl,并用jlink下载到norflash,能够正常跑;
2、接着将sfw生成的bin文件 签名和添加头部生成版本不一样的app1和app2;
接着将app1烧录到norflash 0x100000的位置,并复位开发板跑程序,结果可以正常跳转到app1
3、将app2.bin改成newapp.bin,并放到u盘,然后将u盘插入,识别并且能够升级自动复位后跳转到了app2运行,如下面的打印信息
按道理此时应该算是app更新成功,以后bootloader应该会跳转到app2 运行 , 但是有一个问题,把开发板复位后打印下面的信息后直接就卡死,不打印app2信息了,技术人员看能不能分析一下是哪里的问题?
Hi,
我这边没有少文件的现象,USB更新等我拿到转接口测试一下。
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
非常感谢使用NXP产品,很高兴为你提供技术支持!
首先,缺两个文件的问题,我这边没有出现,其次,U-Disk boot我确实没有做过,因为手上没有USB转换接口,要不你先分享一下这个更新过程的打印结果,最后,你有修改过代码吗?
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
1、menuconfig 不开启OTA from cloud,就会少那两个文件;
2、更新结果最后几张图片就是呀,更新完之后程序自动复位跳转到app2,现在问题就是我自己硬件复位后跳转不到app2;
3、程序没有改动;
Hi,
今天我在MIMXRT1050测试了一下U-disk OTA方式,缺两个文件的问题,我这边没有出现,这在之前就已经告诉你了,至于更新过程,也是成功的,而且在更新成功后,也可以直接运行更新后的工程,附件是测试记录。
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
您好,最近回来搞这个sbl和sfw。最终还是会出现上面的问题:用u盘将app1升级到app2后,程序是可以跳转到APP2,但是此时我再用开发板的硬件复位,程序没有跳转到app2或者app1,按道理此时应该跳转到app2才对,直接卡死,试了很多次一直有这个问题,用的是飞凌的OK1052开发板。有可能是哪些问题?
sbl的配置:
sfw的配置:
感谢,我重新下sfw 和sbl再测试一下