• 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: ESP32-S3 AI Camera Development Board Dual Microphone with Display Port Industrial USB TO 8CH TTL Converter USB to UART Multi Protection Circuits Multi Systems X1202 Raspberry Pi 5 UPS Board Uninterruptible Power Supply For 18650-Li-Battery (NOT includ) 4-Ports ESP32-S3 Industrial 8-CH Relay IOT LAN WiFi /Bluetooth /CAN /RJ45 Ethernet /POE ESP32 C6 Development Board 1.28 inch LCD Touch Screen 240x240 CST816S SD card slot ESP32 S3 AI 1.85 inch Development Board with 1.85inch LCD Touchscreen Round Screen Electronic Badge Deepseek Arducam Raspberry Pi PCM5122 I2S DAC HIFI Sound Card DAC Audio expansion Board Free-Driver For PI5/PI4/Zero Serial Server Industrial Isolation USB TO RS232/485/422/TTL FT232RNL Serial UART Converter Raspberry Pi 5 PCIE to MiniPCIe For wireless network WIFI Card USB Bluetooth Raspberry Pi 7.5 inch e-Paper link (H) RYBW 800x480 For Arduino / Jetson Nano / STM32 GC2083 Raspberry Pi AF Camera NV3030B Raspberry Pi Screen Core3566002000 Raspberry Pi CM5 Industrial Module 4G/5G/LoRa Gigabit Ethernet RJ45 Arduino MLX90640 Raspberry Pi GPS GNSS Expansion Board L76K Beidou (BDS) GLONASS QZSS A-GNSS Also For Jeston