MIMXRT1051CVL5B

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

MIMXRT1051CVL5B

1,469 Views
sapirbuz
Contributor IV

How does the boot process work?

How can we program the external flash?

As I understood, we should define the boot mode as a serial downloader to program the external flash through the NXP MCU (is that the only way to program the external flash?);

then, we need to change the mode to boot from fuses/internal boot so the NXP can boot after power-on.

Is it going that way?

0 Kudos
Reply
9 Replies

1,443 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) So when we program the external flash via Jlink we can define permanently the boot mode as "boot from fuses/internal boot", and program the flash even when the boot mode is on "boot from fuses"?
-- Yes.
2) When we program via serial downloader we must have the internal boot option? (because the eFuses aren't rewritable)
-- Yes.
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

1,441 Views
sapirbuz
Contributor IV

Thank you!

what debuggers can we use besides the Jilnk to program the external flash through the NXP MCU?

0 Kudos
Reply

1,432 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) What debuggers can we use besides the Jilnk to program the external flash through the NXP MCU?
-- MCU-Link Pro, Multilink Debug Probes, etc.
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

1,412 Views
sapirbuz
Contributor IV

Hi,

We will use MCU-Link Debug Probe as a debugger to program the external flash and to burn fuses.

https://www.nxp.com/design/microcontrollers-developer-resources/mcu-link-debug-probe:MCU-LINK?SAMLar... 

We will use it with SWD, not JTAG. Will it work fine?

Do you provide a cable from the debugger (J6 connector) to the NXP board that supports only the SWD? (we want to use on our board a connector with less pins, and smaller dimensions) 

0 Kudos
Reply

1,406 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) We will use it with SWD, not JTAG. Will it work fine?
-- Yes.
1) Do you provide a cable from the debugger (J6 connector) to the NXP board that supports only the SWD? (we want to use on our board a connector with less pins, and smaller dimensions)
-- Yes, just as the below figure shows.

jeremyzhou_0-1653875902561.png


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

1,404 Views
sapirbuz
Contributor IV

Thank you

I don't see the cable ends in the picture below.

Can you please send its datasheet?

0 Kudos
Reply

1,398 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) Can you please send its datasheet?
-- It's just a cable, it doesn't have the datasheet.

jeremyzhou_0-1653960818605.png


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

1,461 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1)How does the boot process work?
-- Please refer to the figure FlexSPI NOR boot flow in the RM.
2) As I understood, we should define the boot mode as a serial downloader to program the external flash through the NXP MCU (is that the only way to program the external flash?);
-- No, it's not the only way, you can use the debug tool like the Jlink to program the image to the external flash directly, without forcing the MCU to enter Serial Downloader at first.
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

1,456 Views
sapirbuz
Contributor IV

Thank you

So when we program the external flash via Jlink we can define permanently the boot mode as "boot from fuses/internal boot", and program the flash even when the boot mode is on "boot from fuses"?

When we program via serial downloader we must have the internal boot option? (because the eFuses aren't rewritable) 

0 Kudos
Reply