Boot from QSPI on the MIMXRT1062

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

Boot from QSPI on the MIMXRT1062

1,845 Views
edcs
Contributor I

Hello,

I am new to this and working on a custom board with MIMXRT1062DVJ6B. I am able

to write code using mcuxpresso ide and using the ARM Keil debugger probe able to

debug and run the code. Can someone please post mcuxpresso example to boot from

QSPI on MIMXRT1062 or what steps to make the code bootable?? 

Your help would be greatly appreciated. 

Thank you in advance.

JK.-edcs

Labels (1)
0 Kudos
Reply
4 Replies

1,798 Views
bruceeisenhard
Contributor I

The part is W25Q128JVS

In Keil we can load code and execute from QSPI, just can't get the bootloader to recognize the part

In MCUxpresso says we loaded the code, but can't see it.

0 Kudos
Reply

1,787 Views
Masmiseim
Senior Contributor I

Hello bruceeisenhard,

do you have made the adjustments in the flexspi_nor_config_t datastructure for your flash type? This data structure is read by the HW-Bootloader (Preloader) on startup and defines how the flash is accessed.

Check also your linker configuration to ensure that the .boot sectors are placed in the right order at the beginning on the image placed in your flash.

Best Regards

0 Kudos
Reply

1,807 Views
mjbcswitzerland
Specialist V

Hi

Booting from serial NOR is controlled by BOOT_CFG[4:7] - pins GPIO_B0_08..GPIO_B0_11, which should be '0' at reset. There are other pins controlling some further details too.
If these are not defines like this the processor will try booting from other sources.

In case the HW is not allowing t to boot as required and can't be modified to do so you can connect in ISP mode and program eFUSEs to override it checking the pins and force the mode that you require.

Regards

Mark


[uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or rapid product development requirements

For professionals searching for faster, problem-free Kinetis and i.MX RT 10xx developments the uTasker project holds the key: https://www.utasker.com/iMX/RT1062.html

0 Kudos
Reply

1,829 Views
Masmiseim
Senior Contributor I

Hello edc,

the examples from the SDK can boot from the flash. Are these examples working on your board?

If not, which QSPI-Flash are you using in your design?

Best regards

0 Kudos
Reply