Hello, on the documentation I found that by default it is the external QSPI memory that is used for flashing the board mimxrt1170-evkb, in my case I want to use the internal memory and activate the execute in place, is it possible to do this? If yes, may you provide me the steps to do it ?
Hello @amira ,
In order to support you better, could you please provide me with the IDE and version you are currently using?
I understand that your intention is to use the flash that comes pre-installed on the EVKB (W25Q512NWEIQ), if this is the case, you can use it executing in XIP mode by following this application note (How to Enable Debugging for FLEXSPI NOR Flash (nxp.com)). Additionally, you can get more information about XIP in the reference manual, under chapter 30.3.18 called "Execute-In-Place (XIP) enhanced mode".
BR,
Habib.
Hello again @amira ,
In order to use the external flash that comes preinstalled on the EVKB you need to add two macros called XIP_EXTERNAL_FLASH and XIP_BOOT_HEADER_ENABLE. When you make a new project, these macros are not enabled by default, but can be added to the project as follows:
These macros are necessary so that the memories can be configured properly. The following image shows the different functionality states of these macros:
The last image was taken by the application note that I provided, if you need get more information you can consult it.
Also, if you experience any issue, do not hesitate to let me know.
BR,
Habib.