Hi harry_liang,
Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.
The new chip need to enable the quad mode, this is the non-volatile memory cells, which need to write it at first.
I think your MCUXPresso has download issues, it is due to the program driver in the Mcuxpresso didn't add the QE, that why when you use the MDK download it, then the MCUXPresso can download it again.
Normally, to this situation in the MCUXPresso IDE, you can try these method:
1. run the flexspi_nor_polling_transfer code:
SDK_2.8.2_EVK-MIMXRT1020\boards\evkmimxrt1020\driver_examples\flexspi\nor\polling_transfer
, this code contains the enter quad mode:
/* Enter quad mode. */
status = flexspi_nor_enable_quad_mode(EXAMPLE_FLEXSPI);
if (status != kStatus_Success)
{
return status;
}
You can run this project in the RAM at first, then you should can program the external qspi flash again.
2. You can use the MCUBootUtility tool download the code in the serial download mode at first.
https://github.com/JayHeng/NXP-MCUBootUtility/archive/v2.3.1.zip
the related user manual is:
https://github.com/JayHeng/NXP-MCUBootUtility
Wish it helps you!
If you still have questions about it, please kindly let me know!
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------