Non-xip for hyperFlash boot

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Non-xip for hyperFlash boot

ソリューションへジャンプ
2,306件の閲覧回数
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,961件の閲覧回数
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,961件の閲覧回数
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,962件の閲覧回数
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,960件の閲覧回数
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,961件の閲覧回数
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 件の賞賛
返信