Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "reset" command for non BOOTSEL device with STDIO USB reset interface #13

Closed
kilograham opened this issue Mar 6, 2021 · 6 comments
Assignees
Milestone

Comments

@kilograham
Copy link
Contributor

SDK 1.1.0 adds (optional) support for code exposing STDIO USB to be reset via another USB vendor interface. This obviously makes sense for the the "reset" command, though we should probably add a -f, --force or whatever option to make this happen.

@lurch
Copy link
Contributor

lurch commented Mar 8, 2021

IIRC that new USB vendor interface allows resetting to BOOTSEL or resetting to flash boot, so perhaps picotool should expose both those options?

@kilograham
Copy link
Contributor Author

picotool already does

@lurch
Copy link
Contributor

lurch commented Mar 8, 2021

I guess that must be only in the Graham-version? https://github.com/raspberrypi/picotool/commits/master

@kilograham
Copy link
Contributor Author

the picotool reboot already supports options to specify which type of boot you want (flash boot or usb boot), has since the get go; it is in master

@lurch
Copy link
Contributor

lurch commented Mar 8, 2021

Ahh, I was getting confused by the already-existing-reboot (i.e. over PICOBOOT?) and the new-USB-vendor-reboot.
Also, I'd never thought to run picotool help reboot which is the only place where this is ever mentioned 😜

@lurch
Copy link
Contributor

lurch commented Mar 8, 2021

And based on our internal discussions, I wonder if picotool reboot also ought to have an option for "reboot into BOOTSEL mode but only enable PICOBOOT, don't enable the MSD interface" ? 🤷

@kilograham kilograham added this to the 1.1.0 milestone May 15, 2021
@kilograham kilograham self-assigned this May 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants