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

SDK • Re: How to properly enable picoloader ability (-f) when using tusb host on pio?

$
0
0
My uderstanding is that 'picotool' uses custom commands to interact with the Pico via USB when running, for example to put it into BOOTSEL mode when '-f' is used, so the USB Device has to handle those custom commands.

Handling of these custom commands is automatically supported when using the default Pico SDK USB but won't be when you are using your own USB definitions.

I never figured out how to add support for custom commands and call the Pico SDK functions to handle those, nor did I find an example of how to do that. If anyone does know, or figures it out, I would also be grateful to know how it should be done.

The custom commands are separate to the 'Enter BOOTSEL on baud rate change' which is handled by the USB CDC device. You may need to raise a new issue on the GitHub to receive the information you actually require.

Statistics: Posted by hippy — Wed Dec 17, 2025 3:11 pm



Viewing all articles
Browse latest Browse all 8013

Trending Articles