Hi @gianpiero_lenta ,
What's the QSPI flash chip you are using, it is new, right?
Please tell me your QSPI flash chip partnumber at first.
Please check whether you can download the code to the internal RAM,

if yes, you can download this code:
\SDK_2_11_0_EVKB-IMXRT1050\boards\evkbimxrt1050\driver_examples\flexspi\nor\polling_transfer
to the RAM,
Please also check your QSPI flash chip, if it is not the same as the MIMRT1050-EVKB board, then you need to follow your QSPI flash datasheet to modify the LUT command, and test it.
For the new chip, you need to enable the QE bit.
Test the polling_transfer project, whether you can finish the flash chip erase, write and read.
Please test it.
Best Regards,
Kerry