Hello
I developed Custom board using iMX RT 1064.
My program is writing to the built-in Flash ROM and running.
Suddenly, I couldn't write to the built-in Flash ROM.
Please tell me how to deal with it.
It seems that it has not been erased.
Best Regards.
Hi @hiro33
1. When you enter the serial download mode, do you use USB HID or UART to download the code?
If you are using the USB HID, can you find the PID VID?
Then, can you connect the chip or not?
Do you use the Secure provisional tool or the MCUbootUtility to download the code?
2. Do you use external debugger? Can you download the code to the internal RAM through the SWD?
3. What's the external flash you are using, if QSPI, you need to enable the QE bit to the new chip.
Best Regrads
Kerry
Hi Kerry
I'm using internal Flash (0x70000000) of iMX RT 1064.
I used to be able to use Flash well.
I'm using SEGGER J-Link Debugger.
The debugger connection is successful, and read memory.
But I couldn't erase internal Flash.
Best Regards
Hi @hiro33 ,
If you can't erase the internal flash.
Please enter the serial download mode, use the MCUBootUtility tool connect and erase your chip, please try it, whether it is OK or not?
You can download the MCUbootUtility tool from this link:
https://github.com/JayHeng/NXP-MCUBootUtility/archive/refs/tags/v3.4.0.zip
the related user manual is:
https://github.com/JayHeng/NXP-MCUBootUtility
Any updated information, please kindly let me know.
Best Regards,
Kerry
Hi @hiro33
Do you have any other board? I mean the same board, whether that works, just to check whether it is related to your RT1064 flash.
BTW, in the serial download mode, if you have the USB HID, you also can try it, whether it is the same result.
Best Regards,
Kerry