Hello,
We have been trying to boot from the QSPI flash of the EVK (IMXRT1180) and copy in to the internal RAM but have not been able. We are working with the MCUExpresso IDE and with the Secure provisioning tool. I´m working with the most simple project that I could find in the SDK example: rled_blinky_cm33.
The project is set to work with XIP, but as I do not want it, I have set it XIP_EXTERNAL_FLASH=0, and XIP_BOOT_HEADER_ENABLE=0. Also I selected the option Link application to RAM. To be safe, I deleted the flash from the memory map.
I can debug the binary in the MCUExpresso but I want to flash it to the QSPI and boot from it.
I know the following application note but is not for MCUExprreso: AN14589: Boot the i.MX RT1180 and Test the Boot Time from Different Devices | NXP Semiconductors
I have tried with the GUI flash tool but as it doesn´t exist any flash it does not work.
I have tried with the Secure Provisioning tool and it states that the image is non XIP, I have configured the correct flash and I can connect to the device and it doesn´t work. The RAM offset seems right, in the 0x0ff memory section (internal RAM, ITC).
The flash is correct, but then I change the SW5 to 0100 position to boot from QSPI and reboot the device, and I cannot see the light blinking.
I have tried with the same Secure Provisioning tool settings to flash the example provided in the Secure Provisioning tool (_inRAM.s19) and it works, so the issue is with the binary generated from MCUexpresso, what are the settings to create a non-XIP image?
Thanks a lot!