Quantcast
Viewing all articles
Browse latest Browse all 5139

SDK • Issue with 'picotool' 2.0.0

Pi 3B (non-plus), Buster 32-bit, Pico SDK 2.0.0, 'picotool' version "v2.0.0 (Linux, GNU-8.3.0, Release)"

Code:

pi@Pi3B:~ $ picotool help loadLOAD:    Load the program / memory range stored in a file onto the device.SYNOPSIS:    picotool load [--ignore-partitions] [--family <family_id>] [-p <partition>]                [-n] [-N] [-u] [-v] [-x] <filename> [-t <type>] [-o <offset>]                [device-selection]
I was expecting the '--family' option to disregard everything not for the Family ID specified but that doesn't work.

I can upload a 'pico_and_pico2.uf2' created from concatenating a 'pico.uf2' and 'pico2.uf2' by copying to '/media/user/RPI_RP2' but not with 'picotool'.

If I specify '--family 0xE48BFF56' for the RP2040 it still appears to see both images, unsurprisingly errors on the same addresses being used in both -

Code:

pi@Pi3B:~ $ picotool load pico_and_pico2.uf2 --family 0xE48BFF56ERROR: Found overlapping memory ranges 0x20000000->0x20000100 and 0x20000000->20000100
Have I misunderstood what '--family' should be doing ?

Also, assuming it should be disregarding everything not for the specified family, given it doesn't appear to accept multiple '--family' options; how would one filter for all the RP235X options; 'RP2350_ARM_S', 'RP2350_ARM_NS', 'RP2350_RISCV', 'RP2xxx_ABSOLUTE' and 'RP2xxx_DATA', basically everything RP235X but not RP2040 to get the same 'pico_and_pico2.uf2' into a Pico 2 ?

Statistics: Posted by hippy — Sat Aug 17, 2024 4:53 pm



Viewing all articles
Browse latest Browse all 5139

Trending Articles