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,502件の閲覧回数
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,489件の閲覧回数
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,460件の閲覧回数
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,453件の閲覧回数
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,444件の閲覧回数
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,435件の閲覧回数
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,424件の閲覧回数
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,414件の閲覧回数
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 件の賞賛
返信