IMXRT10xx Boot ROM Firmware Default Location

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

IMXRT10xx Boot ROM Firmware Default Location

1,639 Views
Lukas_Frank
Senior Contributor I

Hi Dear Authorized,

 

I need an information related to boot process of iMX.RT Processors. My specifically designed card which use IMXRT1064 is lost debug connection after program my flash. I want to be sure that were the default firmware of bootloader in IMXRT1064. Could you please validate me?

 

  • Is the On Chip Memory - Boot ROM (96KB) hold the default boot loader software of IMXRT? 
  • Is there possibility to corrupt that software during programming the IMXRT over GUI Flash Tool?

 

Lukas_Frank_1-1691665051639.png

 

Thanks and Regards.

Labels (1)
Tags (2)
0 Kudos
Reply
5 Replies

1,583 Views
MultipleMonomials
Contributor IV

I will say that I have never been able to brick an MIMXRT by a failed or corrupt program operation.  However, I have observed something like this happen in the case where I load code which does something bad in the startup phase (e.g. where the first few assembly instructions set an invalid FlexRAM configuration or read from a peripheral which is powered off).  When this happens, the debugger isn't able to connect to the chip, because the chip starts executing the first lines of code *after* being reset by the debugger but *before* the debugger can pause it, and then locks up.

To recover from this type of situation, you have to use the boot mode pins to start the MIMXRT in another boot mode, such as Serial Downloader.  Then you should be able to connect to it again in the debugger as it won't execute the bad instructions out of flash.  Hope that helps!

1,622 Views
Miguel04
NXP TechSupport
NXP TechSupport

Hi @Lukas_Frank 

1. Yes the default bootloader is located on the ROM.

2. The GUI flash tool shouldn't be corrupting the software while programming the RT.

Is the project from the SDK or is your own developed project?

Have you tried to flash the RT using another method?

Best Regards, Miguel.

1,471 Views
Lukas_Frank
Senior Contributor I

Hi Dear @Miguel04 ,

 

I tried both SDK examples and my default project from scratch. In both scenarios, my cards loss connection for debug. By the way, I am using specifically designed card which uses RT1024 and RT1064 separately. I also programmed flash by using different debuggers(SEGGER, PEMicro and LinkServer Debug) and options.

 

I am trying to recover my cards but as I understood it is not possible without USB_Micro port available in card. My cards not consist of USB_Micro port. It only includes LPUARTn. I am trying to recover it by using MCUXpresso Secure Provisioning Tool. But it is not seeing my card. 

 

Do you have specific advice about how to recover my cards?

 

Thanks and Regards.

0 Kudos
Reply

1,448 Views
Miguel04
NXP TechSupport
NXP TechSupport

Hi @Lukas_Frank 

I have some questions. 

You said you lost connection to debuger after flashing the program, have you been able to verify if your program is working after the board disconnects from the debuger? I mean, does the program executes correctly after a power reset.

I understand that the secure provisioning tool is not detecting your board, with which RT are you trying to enable a connection and how?

Best Regards, Miguel.

0 Kudos
Reply

1,401 Views
Lukas_Frank
Senior Contributor I

Hi Dear @Miguel04,

 

I actually did not sure whether the code works as expected. I didn't verify that by some test.

 

Here is my setup and related information. Did you realized such kind of recovery operation before? Is this the official way of using secure provisioning tool by UART?

It uses:

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

 

IMG_4089.jpg

Lukas_Frank_0-1691669757076.png

Thanks and Regards.

0 Kudos
Reply