hi @diego_charles @johannzimmerman @kerryzhou
Controller :MIMXRT1176AVM8A
SDK version: 2.14.0 and 2.15.100
IDE version: 11.8.0 and 11.9.1
I tried as you mentioned in the post but still it didn't worked for me.
We used Winbond W25Q64JVSSIQ but it does not supports, RWW(read while write),. so we are trying to use ROM API to write to the flash when in XIP.
1st try:
So for this I tried by importing the example: evkmimxrt1170_fsl_romapi_cm7.
before dumping code the code i modified evkmimxrt1170_flexspi_nor_config.c as below
.readSampleClksrc=kFlexSPIReadSampleClk_LoopbackInternally,
.serialClkFreq = kFlexSpiSerialClk_100MHz,
after this i dumped the code.
In debug mode ROM_FLEXSPI_NorFlash_GetConfig when this function is called got below fault:
Break address to 0x35052 with no debug information available or outside of program code.

try2:
I tried with as you suggested by replacing evkmimxrt1170_flexspi_nor_config.c with SDK version 2.14.0 still its not working.

Try 3:
i tried with as in the link mention SDK version 2.15.1 just by changing MACRO's still its not working .
Try 4:
by removing OCRAM region also still didn't worked out.
Working: When i link whole application to the RAM, but for our case it should work in XIP mode
Schematic:

I tried all the ways as you mentioned please look in to my shared files.
Can you share the working code.
Regards,
Sandeep c