RT1176远程升级遇到的问题

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

RT1176远程升级遇到的问题

Jump to solution
965 Views
YueXia
Contributor I

当我按照论坛中的另一个帖子(帖子链接在最后),进行远程升级时,我遇到了一个问题,在SBL文件的配置和生成过程是很顺利的,随后我使用MCUXpresso IDE生成了一个HELLO_WORLD APP,并且为这个APP生成了与SBL相匹配的头,按照教程我将APP通过NXP-MCUBootUtility烧写到0x30100000地址下,对板卡进行复位,SBL成功启动,并且能够引导APP程序,串口可以打印出HELLO信息

随后我尝试使用Keil生成一个HELLO_WORLD APP,并对这个APP配置了与上面相同的SBL头,并也将APP通过通过NXP-MCUBootUtility烧写到0x30100000地址下,对板卡进行复位,SBL成功启动,并且能够引导APP程序,但串口无任何打印信息

我认为这样的现象是SBL正常、且对于APP配置的头也正常,这样才能对APP进行正确的引导,但是APP内容或配置不正常,导致的无法正常输出打印信息

我对比了我用MCUXpresso编译APP时和用keil编译APP时的操作

对于MCUXpresso来说,我去掉了FCB头,并且配置了FLASH地址偏移到了0x30100400

YueXia_0-1729128831759.png

YueXia_1-1729129003109.png

YueXia_5-1729129538096.png

 

对于Keil来说,我同样去掉了FCB头,并且配置了FLASH地址偏移到了0x30100400

YueXia_2-1729129117799.png

YueXia_3-1729129142844.png

YueXia_4-1729129270913.png

YueXia_6-1729129582372.png

 

但最后,keil生成出的bin加上引导头后,经过SBL引导,并不能成功打印出,但MCUXpresso的却可以成功打印,请帮忙看看是哪里出了问题,谢谢

PS:帖子链接如下

https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/RT1170-SBL-ISP-download-SDRAM-APP/ta-p...

i.MX-RT1170 

0 Kudos
Reply
1 Solution
921 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @YueXia ,

 

对于SDK的keil project,修改flash起始地址不是在Target界面里,而是在Linker界面里编辑scf文件。

Kan_Li_0-1729565105773.png

 

Have a great day,
Kan


-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------

 

View solution in original post

0 Kudos
Reply
2 Replies
922 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @YueXia ,

 

对于SDK的keil project,修改flash起始地址不是在Target界面里,而是在Linker界面里编辑scf文件。

Kan_Li_0-1729565105773.png

 

Have a great day,
Kan


-------------------------------------------------------------------------------
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
909 Views
YueXia
Contributor I
非常感谢您的答复,按照您所说的,我修改了分散加载文件后,目前已经可以成功引导了,感谢!
0 Kudos
Reply