IMXRT10xx Recovery with SPT Mass Erase - SPT Tool Usage with UART

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMXRT10xx Recovery with SPT Mass Erase - SPT Tool Usage with UART

431 Views
Lukas_Frank
Senior Contributor I

Hi Dear Authorized,

 

I am getting below error while trying to debug my card.

Lukas_Frank_0-1691587176893.png

 

 

I am using this NXP Specialist's post [RT Board Recovery]  to recover my card.

 

I tried it with MicroUSB with my EVK Board. The USB connection is failing. Why this is happening even I am able to debug my card successfully?:

Lukas_Frank_0-1691588279418.png

 

I need to recover my 6 cards which use IMXRT1024 and IMXRT1064. They crashed after I program them with GUI Flash Tool. I tried IDE Mass Erase -> Erase Flash Action. It doesn't fixed. Therefore I am trying to apply SPT Mass Erase. But I don't have USB_Micro IO in my specifically designed card so I can't use USB option in SPT Mass Erase:

Lukas_Frank_2-1691587506884.png

 

Could you please help me how to use UART for recovering my card? I can't also apply SW7 pins to recover my card because it requires debugging with USB_Micro after change Internal Boot mode into Serial Downloader. I am stuck please help me.

Thanks and Regards.

Labels (1)
0 Kudos
Reply
2 Replies

406 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, I have some questions let me know if you did that to understand the scenario, and what will be next.

I am using this NXP Specialist's post [RT Board Recovery] to recover my card.I tried it with MicroUSB with my EVK Board. The USB connection is failing. Why is this happening even I am able to debug my card successfully?
Did you use the Boot pin on SW8 [1:0] b01, as mentioned on the thread with all your boards? Do you have all your jumpers in a default position? When you try to use the USB as a SD did you connect another USB-micro to the board?

I need to recover my 6 cards which use IMXRT1024 and IMXRT1064. They crashed after I program them with GUI Flash Tool. I tried IDE Mass Erase -> Erase Flash Action. It doesn't fix. Therefore, I am trying to apply SPT Mass Erase. But I don't have USB_Micro IO in my specifically designed card so I can't use USB option in SPT Mass Erase: Could you please help me with how to use UART for recovering my card?
To use the UART as SD you must change the SW8 Boot pins [1:0] to b01, only need a bridge between a USB > [USB Serial] > EVK.

I can't also apply SW7 pins to recover my card because it requires debugging with USB_Micro after changing Internal Boot mode into Serial Downloader. 
I did not understand this could you elaborate further?

SW8 is the switch BOOT MODE on the schematic from the MIMXRT1020-EVK.

Pavel_Hernandez_0-1691609738594.png

Best regards,
Pavel

0 Kudos
Reply

387 Views
Lukas_Frank
Senior Contributor I

Hi Dear @Pavel_Hernandez ,

 

I actually mistake by saying SW7 for IMXRT1024. You right it uses SW8. I also use IMXRT1064 (SW7) and confuse with it while mentioning. I am using below.

 

1064:

Lukas_Frank_0-1691648181391.png

1024:

Lukas_Frank_1-1691648232866.png

 

Pavel:

Did you use the Boot pin on SW8 [1:0] b01, as mentioned on the thread with all your boards? Do you have all your jumpers in a default position? When you try to use the USB as a SD did you connect another USB-micro to the board?

-I tried with another USB-micro but it still is not connecting.

 

 

Pavel:

To use the UART as SD you must change the SW8 Boot pins [1:0] to b01, only need a bridge between a USB > [USB Serial] > EVK.

I can't also apply SW7 pins to recover my card because it requires debugging with USB_Micro after changing Internal Boot mode into Serial Downloader. 


I did not understand this could you elaborate further?

-I actually tried to mention about my previous issue which is not solved. I have custom designed cards which uses IMXRT1024 (2 card which lost debug connection) and IMXRT1064 (4 card which lost debug connection). In total I have lost connection with my six card. It increasingly continue. I have only JTAG connection with my card. There is no USB-Micro port. Therefore, I can't apply SPT Mass Erase recovery methodology to my card. Then, I requested help from you related to the way of recovering my cards by using FTDI module with LPUART1 which you mentioned previously in this post RT Recovery Previous Issue.

 

Here are my pins for BOOT MODE in my card's schematic. If you need further information please share the details with me.

BOOT_Mode.png

BOOT_Mode_2.JPG

 

 

Could you please help me? Is it enough for connecting FTDI module to my PC and connecting RX and TX pins to LPUART1 to use below connection and provision the code by SPT? I will apply this methodology in my specifically designed card after I success it with EVK. Here is my setup and output screenshoot:

It uses:

  • LPUART1
  • FTDI Module
  • PmodRS485
  • Type-C USB Convertion HUB for Mac.

Lukas_Frank_0-1691669757076.png

Lukas_Frank_1-1691672661786.png

 

 

Best wishes.

0 Kudos
Reply