raspberrypi / picotool

BSD 3-Clause "New" or "Revised" License
579 stars 103 forks source link

-f option missing for load command on Windows #79

Closed ck2510 closed 1 month ago

ck2510 commented 1 year ago

As per README it is stated that the load command supports the "-f" option as of version 1.1.

When using the picotool version 1.1.1 on Windows this option still is absent. Also help does not show it and trying to use it results in error. This is the help excerpt I get: picotool load [-n] [-N] [-u] [-v] [-x] [-t ] [-o ] [--bus ] [--address ]

Potzi123 commented 8 months ago

Did you fix the issue in the mean time?

GoldeggCoder commented 8 months ago

I also face the same issue. I want to upload to my PicoW without always unplugging it and pressing the BOOTSEL button.

will-v-pi commented 1 month ago

This has been added with picotool 2.0.0 - previously the -f option was only available for the reboot command on Windows, as it does not work with RP2040 on Windows for other commands. Now, it is available for all commands as it works on RP2350, but will throw an error if you use -f with RP2040 on Windows telling you to reboot with picotool reboot -f -u first