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
if I do
picotool uf2 convert -o 0x10001000 table.bin pico.uf2
picotool uf2 convert -o 0x10002000 configuration.bin pico.uf2
then I got :
a file pico.uf2 of 512 bytes long. It means table.bin has been removed from pico.uf2 (or pico.uf2 has been deleted before adding configuration.bin)
Thanks to picotool uf2 convert we should be able to add arbitrary data at arbitrary location.
I do not have this issue when I append binary codes compiled for the right location.
The text was updated successfully, but these errors were encountered:
The picotool uf2 convert command does not append data to the uf2 file - it just creates a new UF2 file with the data you give it. Hence overwriting the pico.uf2 file when you run the command a second time.
We could maybe add a picotool uf2 combine command to combine 2 UF2 files into one, but that wouldn't be a priority as you can just make 2 UF2 files then copy them one at a time.
I’ve got 2 data files :
table.bin (283 bytes)
configuration.bin (64 bytes)
if I do
picotool uf2 convert -o 0x10001000 table.bin pico.uf2
picotool uf2 convert -o 0x10002000 configuration.bin pico.uf2
then I got :
a file pico.uf2 of 512 bytes long. It means table.bin has been removed from pico.uf2 (or pico.uf2 has been deleted before adding configuration.bin)
Thanks to picotool uf2 convert we should be able to add arbitrary data at arbitrary location.
I do not have this issue when I append binary codes compiled for the right location.
The text was updated successfully, but these errors were encountered: