Hi @LuigiV ,
Sure, in fact, you need the flash operation code, you can refer to the MIMXRT1010-EVK SDK demo:
SDK_2_15_0_EVK-MIMXRT1010\boards\evkmimxrt1010\driver_examples\flexspi\nor
You can download the SDK from this link:
https://mcuxpresso.nxp.com/en/builder?hw=EVK-MIMXRT1010
Please note, the FlexSPI related operation code need to copy to internal RAM when you do the flash operation, and the external flash can't support the RWW function.
Wish it helps you!
If you still have question about it, please kindly let me know.
If your question is solved, please help me to mark the correct answer, just to close this case.
Any new issues, welcome to create the new question post, thanks.
Best Regards,
Kerry