RT1052 关于bootloader 问题

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

RT1052 关于bootloader 问题

1,528 Views
gossipboy
Contributor II

你好,

我想实现网络OTA功能,这就需要一个bootloader,但是我找了nxp的demo只发现了一个flashloader和两个APP(其实是加载的位置不一样)。但是我这里有几个疑问:

1、我仔细看了flashloader的代码,发现每次跳转的时候,app的偏移地址都是0,这是怎么意思,这样能正常跳转进App吗?进不去吧,比如我把App连接到了外部flash里,那便宜地址是错的应该跳不进去吧。

2、我发现flashloader的连接地址跟app运行在内部ram的地址是冲突的,那这样的话如果成功烧写了app,那flashloader可定会被擦掉,那下一次使用这个的时候是不是就要先下载flashloader了。还是说就是这样设计的,问题就来到第一个问题,每次load完app都会擦掉flashloader,那这样就说的通。那这样的话要这个功能有什么用呢?

3、我仔细看了app在内部内存和外部flash的代码,发现,如果要实现bootloader功能,那么app不管在不在外部flash里,都不需要XIP去加载IVT数据了吧。

那这样的话如果我两个程序都在外部flash里,那这个要怎么处理。只有bootloader需要XIP就行吗?那这样APP程序是怎么加载的?怎样加载到运行区的?我怎么感觉rt1052实现不了这个功能?能解释一下吗?谢谢

0 Kudos
Reply
1 Reply

1,521 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
To provide the fastest possible support, I'd highly recommend you refer to the post to implement the 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.
-------------------------------------------------------------------------------

0 Kudos
Reply