Non-xip for hyperFlash boot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Non-xip for hyperFlash boot

跳至解决方案
1,934 次查看
rans
Senior Contributor I

Hello,

I am trying to understand what makes the bootable image to be detected as non-xip but the bootrom.

We actually need to make modification in helloworld_xip example, so that it will be non-xip bootable image (running from RAM). 

Does anyone knows what are the required steps to modify the example from xip to non-xip with MCUXpresso IDE (yet, still a bootable image from hyperFlash) ?

Thank you,

Ranran

0 项奖励
1 解答
1,589 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ranran

one can look at

RT1050 - Booting from serial NOR flash to SDRAM 
or reuse non-xip example from SD described in AN1207 How to Enable Boot from Octal
SPI Flash and SD Card
https://www.nxp.com/docs/en/application-note/AN12107.pdf 
Also SDK contains a led blinky example gpio_led_output which by
default runs from a RAM region.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
4 回复数
1,589 次查看
jay_heng
NXP Employee
NXP Employee

You can also try this tool, with this tool, You can flash bare image into various boot devices easily and don't need to care about headers (ivt, boot data...)

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

1,590 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ranran

one can look at

RT1050 - Booting from serial NOR flash to SDRAM 
or reuse non-xip example from SD described in AN1207 How to Enable Boot from Octal
SPI Flash and SD Card
https://www.nxp.com/docs/en/application-note/AN12107.pdf 
Also SDK contains a led blinky example gpio_led_output which by
default runs from a RAM region.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
1,588 次查看
rans
Senior Contributor I

I also don't understand where is the flexSPI configuration parameter added with elftosb,

and how it can boot if it is not added....

I asked it in another question, I hope someone can take a look at it

https://community.nxp.com/thread/484576 

ranran

0 项奖励
1,589 次查看
rans
Senior Contributor I

Thank you igor.

I am already familiar with these documents.

I work with MCUXpresso, not IAR.

I tried in my question to understand the required steps for building non-xip in MCUXpresso, and what makes a project non-xip.

Thank you,

ranran

0 项奖励