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 @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