• sales

    +86-0755-88291180

Raspberry Pi Pico PMOD Expansion Board User Guide

How to Use

DAPLink
Pico
GND
GND
PA9/UART1_TX
GP17/UART0_RX
PA10/UART1_RX
GP16/UART0_TX


under Linux, you can use the minicom or picocom to open the serial port, for example:

$sudo apt install minicom
$minicom -b 115200 -o -D /dev/ttyACM0

$sudo apt install picocom
$picocom -b 115200 /dev/ttyACM0

SWD

Pico's onchiprom program implements a USB disk with drag-and-drop burning function, However, in some development scenarios, if you need to frequently modify the code and test, you need to repeatedly power down Pico, hold down the button and power up again, and wait for the USB enumeration to complete before you can drag and drop, which is a slightly tedious process. In fact, the Pico can be programmed & debugged through the SWD interface with the openocd, no need to re-power the Pico, just enter a command to complete, the detail is described as follows

  1. install openocd
$ cd ~/pico
$ sudo apt install automake autoconf build-essential texinfo libtool libftdi-dev libusb-1.0-0-
dev
$ git clone https://github.com/raspberrypi/openocd.git --recursive --branch rp2040 --depth=1
$ cd openocd
$ ./bootstrap
$ ./configure --enable-cmsis-dap
$ make -j4
$ sudo make install
  1. This repository has wrapped the command into scripts, after importing the environments variables, you can call the script in any path, note that the format of the burn suffix is hex or bin, not the drag and drop uf2 file
$cd pico-lab/tools
$. ./env.sh
$dfw xxx.hex/xxx.bin

How to Compile

$cd tools && source env.sh && cd -
$cd software/infones
$mkdir -p build && cd build
$cmake ..
$make -j
$dfw infones/pico_infones.bin
$dreset
TAG: USB Monitor ESP32 S3 Development Board 1.85 inch Round LCD Display 360×360 QMI8658 Sensor / MIC / SD /MP3 Audio /Battery Port LVGL/HMI For Arduino Raspberry Pi Mipi display Computer Raspberry Pi 0.96inch RGB OLED ESP32-S3 Relay 6-Channel IOT WiFi Bluetooth RS485 Pico Protection Circuits ESP32 C3 Voice Robot Mini Development Board AI DeepSeek Toy Doll Core 1.28 inch 1.54inch LCD Raspberry Pi Mini TV Round Rotary LCD touch screen 1.28inch 1.6inch 2.1inch Knob central control lighting LCD ESP32 S3 Development Board 1.75 inch AMOLED Display TouchScreen SD slot 6-axis sensor Xiaozhi AI Deepseek Raspberry Pi 5 8 inch DSI LCD Captive TouchScreen MIPI Display 1280x800 Industrial One-Body Tablet PC With 5MP Front Camera Spotpear Raspberry Pi 5inch Display 1024x600 HDMI Capacitive TouchScreen 5 inch LCD B Wide-Cover For Mini PC ESP32-S3 ETH Camera Development Board PoE RJ45 / OV2640 OV5640 Port / W5500 / Micro-SD Compatible With Raspberry Pi Pico Size ESP32-P4 Core Board 32MB PSRAM 16MB Flash Raspberry Pi 5 SK18 Computer AI Deepseek Voice Keyboard Linux 18x1.58inch LCD Screen Customize keys Raspberry Pi MIPI linux board BPI-M4 Berry