i.MX RT :I can no longer write to the built-in Flash ROM.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX RT :I can no longer write to the built-in Flash ROM.

1,215 次查看
hiro33
Contributor III

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.

0 项奖励
回复
7 回复数

1,202 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

1,173 次查看
hiro33
Contributor III

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

0 项奖励
回复

1,166 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

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

kerryzhou_0-1640329305026.png

Any updated information, please kindly let me know.

Best Regards,

Kerry

 

0 项奖励
回复

1,157 次查看
hiro33
Contributor III

Hi Kerry

>whether it is OK or not?
not.

I use the MCUBootUtility tool, but do not erase chip.

Is the chip broken?

Best Regards

0 项奖励
回复

1,148 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @hiro33 

  Do you enter the serial download mode, and connect it?

  Please share me some screen picture about the MCUbootutility connection and read, and erase.

 

Best Regards,

kerry

0 项奖励
回复

1,137 次查看
hiro33
Contributor III

Hi Kerry

I took pictures.

-read is OK

MCUbootUtility_Read_OK.png

 

-erase is NG

MCUbootUtility_Erase_NG.png

Best Regards

0 项奖励
回复

1,127 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复