Hello,
We've got a custom board with the RT1165 on it, as well as an SDRAM (IS42SM16320E-75BLI) and a QSPI Flash (IS25LP512M-RHLE).
The flash is connected to the FlexSPI2A pins.
We've burned no fuses, BOOT_MODE is set to 0x10. BOOT_CFG is 0b100000000001 . Both of these have jumpers / alternate pulls so I can change them if needed.
I have a J-Link Ultra+ connected to the MCU.
I've imported the Hello World example in MCUexpresso, and run it on the eval board (EVKMIMXRT1160) successfully. But I'm having trouble porting the example to our custom board.
I've changed the MCU settings to point BOARD_FLASH to flex spi 2A:

In evkmimxrt1160_flexspi_nor_config.c, I've changed the memConfig to the following:

I've changed BOARD_FLASH_SIZE to 0x20000000U, and FLASH_BASE to FlexSPI2_AMBA_BASE.
When I debug, it seems to reach the ResetISR before hanging. When I pause debugging, it breaks at 0x223104. "Break at address "0x223104" with no debug information available, or outside of program code."
Not sure what I'm missing here, any tips very appreciated. Let me know if I can provide any more information too.
Thanks,
Tristan