MIMXRT1160-EVK Octal Flash #83607
-
I have a MIMXRT1160-EVK, modified to use the on-board octal flash. I've confirmed it's working by flashing a modified Blinky example from MCUXPresso using LinkServer. I tried enabling the octal flash from Zephyr by including the What is the correct procedure for enabling and using octal flash with NXP IMXRT processors? In this case I am using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @rtborg , The MIMXRT595-EVK or VMU-RT1170 boards would be good references for this flash to review, and see how they differ from the MIMXRT1160-EVK board files. Let us know what you find. Best regards |
Beta Was this translation helpful? Give feedback.
-
Hi @DerekSnell, Following your instructions I managed to modify the I'm pasting the structure below for reference:
The board I am working on is a custom one and I will define it as an out-of-tree board, however the above structure is defined in Ideally I would like to not do that and keep the changes to my local project only. |
Beta Was this translation helpful? Give feedback.
Hi @rtborg ,
Did you also update the Flash Configuration Block (FCB) for the octal flash? NXP does have other boards supported in Zephyr using the mx25um51345g flash, including the MIMXRT595-EVK or VMU-RT1170. The boards include a flash_config file, with the flash_config structure stored in the FCB. This tells the ROM bootloader how to configure the FlexSPI interface to access the external flash. The MIMXRT1160-EVK CMakeList.txt includes a file evkmimxrt1160_flexspi_nor_config.c which includes the
qspiflash_config
struct for the default QSPI flash on that EVK. The MIMXRT595-EVK includes a different flash_config.c for the octal flash mx25um51345g. Your board would need a similar FCB to boo…