Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8093

SDK • Re: Creating a uf2 that doesn't start at address 0

$
0
0
You probably need to specify the family ID you want to use for the UF2 - the automated block search that picotool does to guess the family ID when you don't specify one will only search the first 0x1000 of the binary as it will be located on the device, because for a bootable block loop on RP2350 you must have your first block in that region. So if you're putting your binary at 0x10001000 then it won't find a first block and will therefore guess an RP2040 family ID, unless you specify a different one. This means you're actually generating an RP2040 UF2 when you use offset 0x10001000 (which you can tell from looking at the last word of the UF2 header, which is the family ID), and an RP2350 UF2 when you use offset 0x10000100.

Simplest fix is to specify the family you want to use (presumably absolute in this case)

Code:

picotool uf2 convert test.bin test.uf2 -o 0x10001000 --family absolute

Statistics: Posted by will-v-pi — Mon Jul 07, 2025 1:31 pm



Viewing all articles
Browse latest Browse all 8093

Trending Articles