Hi,
We are working on FlexSpi module, we have tested SDK 2.9 on IMXRT1050-EVKB with SDK_2.9.1_EVKB-IMXRT1050\boards\evkbimxrt1050\driver_examples\flexspi\hyper_flash\polling_transfer example using linker file MIMXRT1052xxxxx_flexspi_nor.icf and it is working fine on IAR toolchain.
Also we have our own SDK but Flex SPI almost ported from NXP also we have tested on IMXRT1050-EVKB IAR toolchain using linker file MIMXRT1052xxxxx_flexspi_nor.icf and it is also working fine.
But our requirement is we have to build on eclipse using cmake. And our SDK with ported FlexSpi is working fine with linker MIMXRT1052xxxxx_ram.icf file on eclipse with cmake but with linker MIMXRT1052xxxxx_flexspi_nor.icf (we have used XIP also with XIP_EXTERNAL_FLASH=1 XIP_BOOT_HEADER_ENABLE=1) somewhere going to unknown location or giving DAP error.
I have attached image for error. Kindly help us in resolving this issue almost struck in this.
Mostly when I debug it fails during FlexSpi init when trying to reset
void FlexSpi_SoftwareReset(void)
{
FLEXSPI_Type * const pFlexSpiBaseAddress = FLEXSPI;
base->MCR0 |= FLEXSPI_MCR0_SWRESET_MASK;
or when trying to read from MCR0, MCR1, MCR2.

Thanks and Regards,
Shailesh Kumar