Flashing of Bootloader in the Imxrt106s using Ivaldi tool

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

Flashing of Bootloader in the Imxrt106s using Ivaldi tool

2,235 次查看
jnj
Contributor III

Hi Team,

 

Can we flash only bootloader in imxrt106s(sln-local2-iot)using Ivaldi tool instead of erasing the entire flash memory ?

0 项奖励
回复
8 回复数

2,218 次查看
jnj
Contributor III

Hi Team,

Please respond to the above question. I tried using the Ivaldi tool to flash the entire binary package, including the bootloader, bootstrap, customised application binary, and certificates. Updates are being made to the bootstrap and bootloader. However the application keeps crashing. The application binary for Sln-local2-iot(default binary)is correctly updated. I only need the bootloader to be updated.

Can we do the same(Flash bootloader only) using ivaldi without erasing flash memory?

0 项奖励
回复

2,174 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @jnj 

  Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.

  As I know, the Ivaldi tool will flash the entire binary package, including the bootloader, bootstrap, customised application binary, and certificates.

  If you just want to update the bootloader, I highly recommend you use the debugger to download the bootloader directly, you even can turning off image verfication to test it at first, as the certificates relate the bootloader code, so if the bootloader code is changed, the related certificate data may also changed.

  If you just want to test, you can refer to this document SLN-LOCAL2-IOT-DG.pdf:

https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true 

Chapter 5
Building and programming with MCUXpresso

Then, even you change the bootloader, you also can test it, just without the certificate, after everthing works OK, you can add the certificate again.

 

Wish it helps you!

Best Regards,

Kerry

0 项奖励
回复

2,161 次查看
jnj
Contributor III

Hi @kerryzhou ,

Thank you for the response.Actually I want to flash the bootloader without debugger.

0 项奖励
回复

2,156 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @jnj ,

  It's also easy to realize.

  You can generate the bootloader.bin, then use the mcubootutility tool to download directly in the serial download mode with USB or the UART.

  You can refer to my post:

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT106L-S-voice-control-system-based-on-the-Baidu...

chapter 2.3 playback audio data prepare and burn

The bootloader related area, you can find it in the UG pdf:

kerryzhou_0-1680143637185.png

 

Wish it helps you!

Best Regards,

Kerry

 

 

0 项奖励
回复

2,152 次查看
jnj
Contributor III

Hi @kerryzhou ,

I have one doubt regarding the HAB .After turning on the HAB, can we update the image binaries any further?

0 项奖励
回复

2,148 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @jnj ,

  You already enable the HAB?

  Yes, even you enable the HAB, you still can update the app.

Best Regards,

kerry

0 项奖励
回复

2,145 次查看
jnj
Contributor III

Hi @kerryzhou ,

Thank you for the confirmation .So even if we enable HAB we can update the app further.What about bootloader and bootstrap binaries?

0 项奖励
回复

2,143 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @jnj ,

  In fact, bootloader, bootstrap is still the special app, so the same situation.

 

Best Regards,

Kerry

0 项奖励
回复