Hi @Muhammet
Thank you for your response. Do you need to copy M7 code to SRAM on runtime? If yes, the alternative is to create your secondary bootloader code. I say this because the bootROM is capable to copy whole M7 application from FLASH to SRAM or SDRAM, but this is only prior to aplication boot. This process is used to load and execute an application that will boot on a volatile memory (like SDRAM, SRAM) and will have its code stored in non-volatile memory. We can call this a NON-XIP image.
We provide two bootloader sample codes in the SDK ( flashloader, MCUboot_opensource), and the NXP SBL. But they migth be more complex than what you may need.
I hope this helps, if you are still having questions, please let me know.
Diego