program the external flash

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

program the external flash

601 Views
sapirbuz
Contributor IV

Hi,

We are using MCU PN MIMXRT1051CVL5B. 

The Boot will be through an external 8Mb serial NOR Flash using the NXP 3.3V FlexSPI port A secondary pins (see pictures below).

We want the user to do SW updates (write new data to the external flash) through the host without additional HW steps to support the SW updates. 

Can we program the external flash through the host when the boot mode is defined as "boot from fuse"?

In case no, is there any way to control the boot mode pins by SW and not by HW? (for example, send a gpio from the MCU to the boot_mode[0] pin to define it as '1')

sapirbuz_0-1657115593633.png

sapirbuz_1-1657115605174.png

sapirbuz_0-1657116116553.png

 

 

0 Kudos
3 Replies

589 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Can we program the external flash through the host when the boot mode is defined as "boot from fuse"?
-- Yes, you can program the QSPI via the SWD/JTAG interface with the debug tools, for instance, Jlink, etc.
2) Is there any way to control the boot mode pins by SW and not by HW?
-- No, it's impossible to make it.
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

587 Views
sapirbuz
Contributor IV

Thank you for you answer,

|We want to do the updates through the host (USB), without any additional HW cable/board change.

How can we do that?

0 Kudos

573 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) How can we do that?
-- Actually, it's able to program the QSPI flash via the USB or UART interface when forcing the RT series MCU to enter the Serial Download mode, you can refer to it for details.
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