Adafruit_TinyUSB_Arduino icon indicating copy to clipboard operation
Adafruit_TinyUSB_Arduino copied to clipboard

Pico 2 W not working

Open n1ndev opened this issue 4 months ago • 3 comments

Operating System

MacOS

Arduino IDE version

2.3.5

Board

Raspberry Pi Pico 2 W

ArduinoCore version

4.5.1

TinyUSB Library version

Release version

Sketch as ATTACHED TXT

examples/Adafruit_TinyUSB/DualRole/Simple/device_info

Compiled Log as ATTACHED TXT

compile_output.txt

What happened ?

90% of the time, when a USB device is plugged in, no device info is printed to the console

On occasion the system works, and device info is printed to console. I've noticed however that: "Device disconnected" does not get printed when a device is unplugged. Instead it gets printed when the device is plugged back in, alongside other info such as "Device connected"

I've tested this setup with a XIAO RP2040 and a QT Py 2040, and they have worked fine

I've tested this with the Pico using different D+ D- Pins

How to reproduce ?

  1. Open up the examples/Adafruit_TinyUSB/DualRole/Simple/device_info
  2. Connect a Pico 2 W via USB to Arduino
  3. Connect VBUS, GND, D+, D- pins to a USB port header
  4. Upload sketch
  5. Connect a USB Device e.g. a keyboard, and lookout for console print information

Debug Log

No response

Screenshots

Image

I have checked existing issues, pr, discussion and documentation

  • [x] I confirm I have checked existing issues, pr, discussion and documentation.

n1ndev avatar Jul 22 '25 14:07 n1ndev