I.MX RT1050是否支持IAP的功能,有没有官方的demo可供参考

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I.MX RT1050是否支持IAP的功能,有没有官方的demo可供参考

2,973 Views
lifeiyan
Contributor I

I.MX RT1050是否支持IAP的功能,有没有官方的demo可供参考,谢谢

Labels (1)
0 Kudos
8 Replies

2,173 Views
jay_heng
NXP Employee
NXP Employee

那么DCD是什么?dcd其实就是告诉ROM在搬运image之前要配置哪些寄存器,dcd的语法非常简单。试试我为RT做的上位机工具吧,你会得到答案

GitHub - JayHeng/nxp-sec-boot-ui: A one-stop GUI tool to work with NXP MCU (Kinetis, i.MXRT, LPC) RO... 

0 Kudos

2,173 Views
lifeiyan
Contributor I

有没有如下的demo呢:

1、应用程序存储在外部的flash上

2、启动时一段小rom将应用程序搬运到外部的SDRAM中,并运行在SDRAM中

谢谢

2,173 Views
jay_heng
NXP Employee
NXP Employee

RT ROM支持从外部Flash加载image进SDRAM执行,不需要IAP即可做到

1. 你的image需要链接到SDRAM map空间里(0x8000_0000 ~ )

2. 使用elftosb工具生成bootable image时需要同时提供dcd.bin

3.使用MfgTool2下载含dcd的bootable image进外部Flash

底下就交给RT ROM,芯片上电启动,ROM会从外部Flash里加载一部分image data进内部OCRAM,这部分image data包含IVT, dcd。如果是有效的dcd,ROM会根据dcd的指示配置SDRAM控制器(SEMC),配置正确后,SDRAM便可正常访问,然后ROM会根据IVT里指示的image信息进一步搬运image进目标地址(可以是ITCM, DTCM, OCRAM, SDRAM),搬运完成即跳转到目标地址执行image

0 Kudos

2,173 Views
1920844004
Contributor III

你好,朋友,我也有一样的需求;另外,IAP目前国内只有周立功做了的,我有相关资料。

0 Kudos

2,173 Views
zhangyanming
Contributor I

最近我也在做程序放在片外Flash中,运行在SDRAM的研究,希望您也给我发一份资料给我,非常感谢,邮箱是:zym198778@163.com

0 Kudos

2,173 Views
1920844004
Contributor III

这个原点的开发板的例程就有的啊

0 Kudos

2,173 Views
chunleizhang
Contributor I

@zhihui liu 您好,

您的IAP搞好了吗?非常感谢您能发到我邮箱一份,934932313@qq.com

0 Kudos

2,173 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi,

The i.MX RT does not have internal flash memory so seems ISP or IAP, we are not applicable to it. i.MX RT work only with external flash memories. Hope this can do help for you.

Have a nice day

Rita

0 Kudos