I press and hold “BOOTSEL”, plug in the USB cable, and upload the firmware. But uploading the firmware again nothing happens. I can only unplug the USB cable again and repeat the previous operation.
C:\Users\17299\tool-pico-openocd>windows\picoprobe.exe -s share\openocd\scripts -f interface/picoprobe.cfg -f target/rp2040.cfg
Open On-Chip Debugger 0.10.0+dev-g14c0d0d-dirty (2021-01-27-15:43)
Licensed under GNU GPL v2
For bug reports, read OpenOCD: Bug Reporting
Info : only one transport option; autoselect ‘swd’
adapter speed: 5000 kHz
Info : Hardware thread awareness created
Info : Hardware thread awareness created
Info : RP2040 Flash Bank Command
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: Failed to open or find the device
Error: Can’t find a picoprobe device! Please check device connections and permissions.
C:\Users\17299\tool-pico-openocd>windows\picoprobe.exe -s share\openocd\scripts -f interface/picoprobe.cfg -f target/rp2040.cfg
Open On-Chip Debugger 0.10.0+dev-g14c0d0d-dirty (2021-01-27-15:43)
Licensed under GNU GPL v2
For bug reports, read OpenOCD: Bug Reporting
Info : only one transport option; autoselect ‘swd’
adapter speed: 5000 kHz
Info : Hardware thread awareness created
Info : Hardware thread awareness created
Info : RP2040 Flash Bank Command
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: Failed to open or find the device
Error: Can’t find a picoprobe device! Please check device connections and permissions.
So you did flash one Pico the picoprobe.uf2 firmware and changed the driver for “Picoprobe (Interface 2)” to WinUSB using Zadig? Because if yes, it should work.
C:\Users\Max\temp\tool-pico-openocd>windows\picoprobe.exe -s share\openocd\scripts -f interface/picoprobe.cfg -f target/rp2040.cfg
Open On-Chip Debugger 0.10.0+dev-g14c0d0d-dirty (2021-01-27-15:43)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'swd'
adapter speed: 5000 kHz
Info : Hardware thread awareness created
Info : Hardware thread awareness created
Info : RP2040 Flash Bank Command
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 5000 kHz
Info : SWD DPIDR 0x0bc12477
Info : SWD DLPIDR 0x00000001
Info : SWD DPIDR 0x0bc12477
Info : SWD DLPIDR 0x10000001
Info : rp2040.core0: hardware has 4 breakpoints, 2 watchpoints
Info : rp2040.core1: hardware has 4 breakpoints, 2 watchpoints
Info : starting gdb server for rp2040.core0 on 3333
Info : Listening on port 3333 for gdb connections
shutdown command invoked
You have two Raspberry Pi Picos. One of them you designate to be the Picoprobe, the other one to run your firmware.
You disconnect all cables between them (USB, jumper cables).
You take the Pico that is supposed to become the Picoprobe, hold down the BOOTSEL button and plug it into your computer via USB.
The bootdrive should appear.
You drag and drop the picoprobe.uf2 file into the bootdrive.
The Pico is now programmed to be the Picoprobe and should automatically reboot.
You should now see “Picoprobe (Interface 2)” as a device in Zadig.
Change the driver to WinUSB.
Rerun the windows\picoprobe.exe -s share\openocd\scripts -f interface/picoprobe.cfg -f target/rp2040.cfg command with still only the Picoprobe plugged. It should now not say "Error: Can’t find a picoprobe device! " anymore, but should complain that it cannot find a chip connected to the Picoprobe. Is that correct?