dbisu / pico-ducky

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

Problem with USB enable/disable mode #292

Closed TheMrM closed 2 weeks ago

TheMrM commented 2 weeks 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 2 weeks 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 2 weeks 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 2 weeks 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 2 weeks ago

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

TheMrM commented 2 weeks ago

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

dbisu commented 2 weeks ago

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

TheMrM commented 2 weeks 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!

TheMrM commented 2 weeks ago

Thank you very much! I just tried it out and it worked. Gonna close this issue now.