The issue here is you’re using embedded partition tables in the binaries (5.1.14 in the datasheet), rather than a fixed partition table at the start of flash (5.1.13). This means the bootrom is doing Slot 0/1 booting (5.1.15) which is based on the partition table versions rather than the image versions, and unless you’ve changed the slot size in OTP it will only check the first 4K vs the second 4K, so won’t even see the tick binary.
If you want to do Partition A/B booting, you should delete the “start” of the A partition which means picotool will put the start at 2 x 4K into the flash (leaving slots 0 & 1 free for partition tables), use the “picotool partition create” command to create a BIN/UF2 of just the partition table, and then load it & reboot. Then you can load your binaries, and A/B boot them as expected.
An oddity here is that the load is based on the partition table in slot 0, so it is loading into partitions in an A/B manner, but then booting based on slot 0 only. This is by design as it’s required for a bootloader with an embedded partition table, so the binaries that bootloader boots are loaded into partitions when dragged & dropped, but when booting the bootloader is booted first, so it can then boot the binaries in the partitions.
If you want to do Partition A/B booting, you should delete the “start” of the A partition which means picotool will put the start at 2 x 4K into the flash (leaving slots 0 & 1 free for partition tables), use the “picotool partition create” command to create a BIN/UF2 of just the partition table, and then load it & reboot. Then you can load your binaries, and A/B boot them as expected.
An oddity here is that the load is based on the partition table in slot 0, so it is loading into partitions in an A/B manner, but then booting based on slot 0 only. This is by design as it’s required for a bootloader with an embedded partition table, so the binaries that bootloader boots are loaded into partitions when dragged & dropped, but when booting the bootloader is booted first, so it can then boot the binaries in the partitions.
Statistics: Posted by will-v-pi — Wed Apr 30, 2025 7:49 pm