How to use mcuboot to upgrade

Hi,

I am using nrf52832 to test the function of mcuboot. The reference routine used is D:\ncs\v2.6.0\zephyr\samples\application_development\sysbuild\with_mcuboot. After compilation, I get the following output:

Download the image to flash and get the following log output:

From the above log output, I think that both the mcuboot image and the app image were burned into the FLASH possibly by merged.hex, and mcuboot successfully booted the app.

The problem now is that I want to test the upgrade function of mcuboot. The version number is upgraded to CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION="0.0.0+1". At the same time, I change the log in the main function. After compilation, I also get app_signed.hex, app_update.bin, app_test_update.hex , merged.hex, in order to test the upgrade function, which file should I use to burn into the flash and how do I burn it? Do I need to specify the address of the flash when burning?

Parents Reply Children
No Data
Related