Replies: 1 comment 2 replies
-
You have to request upgrade for image collected in external slot. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm using MCU overwrite strategy and secondary slot (for upgrade) is located in external flash. The active FW is located right after the boot loader with 4kB header.
I have signed the FW upgrade image in the external flash memory with image tool this way:
imgtool sign --align 4 -v 1.2.4+4 --header-size 4096 --pad-header -S 0xE1000 fw_upraged_image.bin fw_upraged_image-signed.bin
Here is my configuration for the boot loader:
I have copied upgrade FW image (version in bigger than the current FW) to the right place and mcuboot seems to recognise it because it fills the image slots with correct header information. But for some reason it does not copy the FW over the active one.
Any suggestions why? Which functions should be called that actually do the erasing of the primary slot and copying of the FW upgrade image in case of the overwrite-only type of upgrading?
Beta Was this translation helpful? Give feedback.
All reactions