Hi Team,
Can we flash only bootloader in imxrt106s(sln-local2-iot)using Ivaldi tool instead of erasing the entire flash memory ?
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?
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
Hi @kerryzhou ,
Thank you for the response.Actually I want to flash the bootloader without debugger.
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:
chapter 2.3 playback audio data prepare and burn
The bootloader related area, you can find it in the UG pdf:
Wish it helps you!
Best Regards,
Kerry
Hi @kerryzhou ,
I have one doubt regarding the HAB .After turning on the HAB, can we update the image binaries any further?
Hi @jnj ,
You already enable the HAB?
Yes, even you enable the HAB, you still can update the app.
Best Regards,
kerry
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?
Hi @jnj ,
In fact, bootloader, bootstrap is still the special app, so the same situation.
Best Regards,
Kerry