You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use MCUBOOT_DATA_SHARING feature with nrf5340 which uses multiple images (NET+APP).
But doing so prevents booting to application because boot_add_shared_data() in boot/bootutil/src/loader.c is called twice from context_boot_go() when looping images. Indeed, with nrf5340, MCUBOOT_IMAGE_NUMBER is set to 2.
Second time boot_add_shared_data() is called, it returns SHARED_MEMORY_OVERWRITE which causes context_boot_go() to return an error and abort the boot process.
Hello,
I want to use MCUBOOT_DATA_SHARING feature with nrf5340 which uses multiple images (NET+APP).
But doing so prevents booting to application because
boot_add_shared_data()
inboot/bootutil/src/loader.c
is called twice fromcontext_boot_go()
when looping images. Indeed, with nrf5340, MCUBOOT_IMAGE_NUMBER is set to 2.Second time
boot_add_shared_data()
is called, it returnsSHARED_MEMORY_OVERWRITE
which causescontext_boot_go()
to return an error and abort the boot process.Anyway to workaround that ?
Thank you.
mcuboot version: daf2946a0f07
Same issue mentioned on Nordic DevZone: https://devzone.nordicsemi.com/f/nordic-q-a/115960/problem-with-data-sharing/509304
The text was updated successfully, but these errors were encountered: