mcuboot
mcuboot copied to clipboard
How to know what is the active image?
Hi all,
I'm working on a project where I've set loading mode from RAM. The final application is copied to external RAM and run. I've set two slot on flash: primary and secondary slot. How can I know in which slot there is the active image? I need to know that in order to copy the newest application image to the correct slot.
Anyone?
I'm using RAMLOAD mode. With this mode the newer image will be executed. I need to know where is the newer image (slot 1 or 2?) in order to understand what is the slot that I can erase when I have to upload a new image.
Thanks a lot!
From the image running itself? You can use shared boot data to get the current running image number and then use that to determine which slot to erase from the application.
Can you provie me a detailed procedure of making a signed application binary using ther imgtool.
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.