Microcontroller-UE Help

Connecting the Pico

Requirements

  • Student hardware containing the Raspberry Pi Pico

  • Raspberry Pi Debug probe and the necessary cables

  • 2 USB to micro-USB cables

Step 1: Connecting the debug probe to the Raspberry Pi Pico

Connect the debug probe to the Student hardware as shown below. Do not connect any of the USB cables to the computer yet. If you are unsure or think you made a mistake, ask a tutor for help before continuing.

Debug probe connection

Make sure that the orange-black-yellow cable is connected to the right port of the debug probe labelled D and the cables are connected to the matching colors on the student hardware.

Step 2: Connecting to the computer

Windows

  1. Open a new terminal (cmd.exe)

  2. Before connecting any of the USB cables, run the following command:

mode | findstr /l "COM"
Command output

Make a note of the COM ports that are listed. These ports are other devices.

  1. Connect the USB cable from the debug probe to the computer.

  2. Run the command from step 2 again and note the new COM port that appeared. This is the COM port of the debug probe.

  3. Now connect the USB cable from the Raspberry Pi Pico to the computer.

  4. Run the command from step 2 again and note the new COM port that appeared. This is the COM port of the Raspberry Pi Pico.

Next, continue to VSCode or CLion setup.

Linux / MacOS

  1. Open a new terminal

  2. Before connecting any of the USB cables, run the following command:

ls /dev/ttyACM*

Make a note of the ACM ports that are listed.

  1. Connect the USB cable from the debug probe to the computer.

  2. Run the command from step 2 again and note the new ACM port that appeared. This is the ACM port of the debug probe.

  3. Now connect the USB cable from the Raspberry Pi Pico to the computer.

  4. Run the command from step 2 again and note the new ACM port that appeared. This is the ACM port of the Raspberry Pi Pico.

Next, continue to VSCode or CLion setup.

Last modified: 06 December 2024