Firmware Update

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

Firmware Update

3,078 Views
sagar_prajapati
Contributor II

Hello all,

I am trying to use secondary bootloader in IMX RT 1064 development board with default configuration in IAR Embedded Workbench. I have tried using SDK example by changing the linker file.Firmware is boot from QSPI Flash.BL_TARGET_RAM is defined as preprocessor. Will you please give some working example?

Labels (1)
Tags (1)
0 Kudos
Reply
7 Replies

2,393 Views
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Sagar Prajapati

Yes, as you mentioned, the secondary bootloader that we provide with the mcuboot is a RAM bootloader, and unfortunately, at the moment there isn't a flash resident bootloader for the RT families, you can implement this application, but you will need to place the "erase/write" code in the internal ram.

Using QSPI Flash on imxrt1060 EVK for booting and back-up storage 

RT1050 QSPI Flash Limitations 

Hope this helps.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
-------------------------------------------------------------------------------

0 Kudos
Reply

2,393 Views
sagar_prajapati
Contributor II

Hello, Then what is the procedure to update firmware in field without debugger?Regards,SagarFrom: jorge_a_vazquez <admin@community.nxp.com>Sent: Wed, 10 Jul 2019 05:10:32 GMT+0530To: Sagar Prajapati <sagar.prajapati@mantratec.com>Subject: Re: - Firmware Update  NXP Community

Re: Firmware Update

reply from Jorge Antonio Alcala Vazquez in i.MX RT - View the full discussion

Hi Sagar Prajapati

 

Yes, as you mentioned, the secondary bootloader that we provide with the mcuboot is a RAM bootloader, and unfortunately, at the moment there isn't a flash resident bootloader for the RT families, you can implement this application, but you will need to place the "erase/write" code in the internal ram.

 

Using QSPI Flash on imxrt1060 EVK for booting and back-up storage 

RT1050 QSPI Flash Limitations 

 

Hope this helps. Have a great day, TIC

 

0 Kudos
Reply

2,393 Views
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Sagar Prajapati

If you enable USB or UART, you can use the ROM code that is in the RT10xx families, this code can be used along with the mfgtool tool or with the MCUbootutility to program your external memory.

One-stop secure boot tool: NXP-MCUBootUtility is upgraded to v1.4.0 

Hope this helps

Best regards

0 Kudos
Reply

2,393 Views
sagar_prajapati
Contributor II

But for this functionality, every time we need to enable serial download boot mode using switch. For custom hardware it is not proper way. We need something like ROM bootloader like after every power on reset it boots and coming in HID devices.

0 Kudos
Reply

2,393 Views
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Sagar Prajapati

You can enable serial download by default out of reset and after every power-on reset, it will boot from the ROM code with HID interface.

Regards

0 Kudos
Reply

2,393 Views
sagar_prajapati
Contributor II

Hello jorge,Can you please share related document and procedure to enable this feature?RegardsSagarFrom: jorge_a_vazquez <admin@community.nxp.com>Sent: Wed, 17 Jul 2019 01:00:48 GMT+0530To: Sagar Prajapati <sagar.prajapati@mantratec.com>Subject: Re: - Firmware Update  NXP Community

Re: Firmware Update

reply from Jorge Antonio Alcala Vazquez in i.MX RT - View the full discussion

Hi Sagar Prajapati

 

You can enable serial download by default out of reset and after every power-on reset, it will boot from the ROM code with HID interface.

 

Regards

Reply to this message by replying to this email, or go to the message on NXP Community Start a new discussion in i.MX RT by email or at NXP Community Following Re: Firmware Update in these streams: Inbox

This email was sent by NXP Community because you are a registered user. You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences s

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. 

0 Kudos
Reply

2,393 Views
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Sagar Prajapati

If you mean how to enable the boot from the ROM code, it can be done with the GPIO (boot from GPIO) or you can use the boot from the fuses, so every time you have a reset, it will boot from the ROM code.

Best regards

Jorge Alcala

0 Kudos
Reply