dbisu / pico-ducky

Create a USB Rubber Ducky like device using a Raspberry PI Pico
GNU General Public License v2.0
2.4k stars 435 forks source link

Problem with USB enable/disable mode #292

Open TheMrM opened 19 hours ago

TheMrM commented 19 hours ago

For the Pico pi w model. When I place jumpers on pin 18 (GND) and pin 20 (GPIO15), and plug it into my PC, the files are shown but the script also runs, which it should not. These are all my files when the Py is running as CIRCUITPY image

I don't know if this is the correct place to make an issue regarding the problem. Also, this is the guide that I followed https://www.youtube.com/watch?v=ctCmOhoT9po

dbisu commented 10 hours ago

On a Pico W, you need the jumper wire to make it show up as a USB drive. Without the jumper it will not show up as a USB drive. This sounds like it is running as designed.

TheMrM commented 8 hours ago

I am using the jump wires so I can see it as usb, but my problem is, it also runs the script.

dbisu commented 8 hours ago

Correct, you need to put a jumper from pin 1 to pin 3 to enter setup mode. In setup mode it will not auto run the scripts.

TheMrM commented 7 hours ago

I also did that, but then I don't have access to the files

TheMrM commented 7 hours ago

Wait you mean I need jumpers on both 1 and 3 , 18 and 20 , at the same time?

dbisu commented 7 hours ago

Yes, both at the same time. they are separate functions.

TheMrM commented 6 hours ago

OMG, I have not thought of that. Thank you very much! Will give it a go. And thanks for the time you took to help me out with the issue!