• 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: Raspberry Pi Compute Module 4 CM4 PCIe to M.2 NVMe SSD Raspberry Pi LCD display screen 1.3inch ST7789 with Game Button A Raspberry Pi 7 inch CAPLCD 1280x800 Capacitive TouchScreen HDMI/Type C Display Monitor For Computer mini PC Jetson Nano Cooler CAN FD Vertical Drag Instructions Good low light performance Cortex-A53 ESP32-P4 Pico WIFI6 Development Board C6 MIPI DSI 10.1-inch Display /CSI Camera /Audio Speaker Mic AI Deepseek ESP32 C3 LCD Jetson 8inch LCD 1280x800 Computer PC Monitor Display Secondary Screen TypeC USB CPU RAM E-Paper Raspberry Pi 1.3inch IPS LCD display HAT Arduino MEGA2560 R3 PC Monitor LCD Raspberry Pi Pico 2 RP2350-Tiny/Tiny-Kit Super Mini Board RP2350A X1005 Raspberry Pi 5 PCIe to M.2 NVMe Dual SSD Adapter Board HAT Pi5 Double 2230/2242/2260/2280 Industrial Modbus RTU 8 ch Relay Module ESP32 C6 Development board 1.9 inch LCD display 1.9inch Screen 172×320 With SD slot RGB LED QMI8658 6-Axis-Sensor ST7789 CST816