@@ -8650,6 +8650,11 @@ int main(int argc, char **argv) {
8650
8650
bool had_note = false ;
8651
8651
fos << missing_device_string (tries>0 , selected_cmd->requires_rp2350 ());
8652
8652
if (tries) {
8653
+ #if defined(_WIN32)
8654
+ if (settings.force_rp2040 ) {
8655
+ fos << " You may need to install a driver via Zadig. See \" Getting started with Raspberry Pi Pico\" for more information." ;
8656
+ }
8657
+ #endif
8653
8658
fos << " It is possible the device is not responding, and will have to be manually entered into BOOTSEL mode.\n " ;
8654
8659
had_note = true ; // suppress "but:" in this case
8655
8660
}
@@ -8681,13 +8686,8 @@ int main(int argc, char **argv) {
8681
8686
printer (dr_vidpid_micropython,
8682
8687
" appears to be an RP-series MicroPython device not in BOOTSEL mode." );
8683
8688
if (selected_cmd->force_requires_pre_reboot ()) {
8684
- #if defined(_WIN32)
8685
- printer (dr_vidpid_stdio_usb,
8686
- " appears to have a USB serial connection, not in BOOTSEL mode. You can force reboot into BOOTSEL mode via 'picotool reboot -f -u' first." );
8687
- #else
8688
8689
printer (dr_vidpid_stdio_usb,
8689
8690
" appears to have a USB serial connection, so consider -f (or -F) to force reboot in order to run the command." );
8690
- #endif
8691
8691
} else {
8692
8692
// special case message for what is actually just reboot (the only command that doesn't require reboot first)
8693
8693
printer (dr_vidpid_stdio_usb,
@@ -8734,6 +8734,7 @@ int main(int argc, char **argv) {
8734
8734
libusb_get_device_descriptor (to_reboot, &desc);
8735
8735
if (desc.idProduct == PRODUCT_ID_RP2040_STDIO_USB || settings.force_rp2040 ) {
8736
8736
disable_mask = 0 ; // enable MSC interface so Zadig works correctly
8737
+ settings.force_rp2040 = true ;
8737
8738
}
8738
8739
}
8739
8740
#endif
0 commit comments