Template: PicoProbe Tutorial

From Waveshare Wiki
Jump to: navigation, search

Picoprobe Usage Tutorial

Install OpenOCD

Linux (& Raspberry Pi)

Download Dependency Library

sudo apt install automake autoconf build-essential texinfo libtool libftdi-dev libusb-1.0-0-dev

Obtain & Compile

git clone https://github.com/raspberrypi/openocd.git --branch rp2040 --depth=1 --no-single-branch
cd openocd
./bootstrap
./configure
make -j4
sudo make install

Windows

  1. As it is difficult to compile OpenOCD in a Windows environment by yourself, we recommend you use the compiled version:
    • Click here to download.
  1. Unzip it and store it in a shorter directory, such as a C disk.

Add Environment Variables

  1. Click on the Start menu and search for "environment variables".
    File:Pico Probe Tutorial 01.jpg
  2. Click to edit "Environment Variables":
    File:Pico Probe Tutorial 02.jpg
  3. Double-click the "path" variable and enter the edit interface.
    File:Pico Probe Tutorial 03.jpg
  4. Add the new path:
    File:Pico Probe Tutorial 04.jpg
      • Create the new variable address.
      • Input OpenOCD stored address.
      • Click "OK" to save.
  5. Click "OK" to save the modifications.
    File:Pico Probe Tutorial 05.jpg
  6. Reboot the computer.