• 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 5 Gen3 Gripper Serial Robotic Arm Gripper Mechanical claw Serial Bus Servo ST3215/CF35-12 Raspberry Pi 5/4B not boot To update BootLoader EEPROM Tutorial SpotPear ESP32-C6 2.16inch AMOLED Display AI Development Board 480×480 2.16 inch TouchScreen Deepseek Jetson Nano 5G module DeepSeek XiaoZhi AI Voice Chat ESP32-S3 All-in-One-PCB-Kit N16R8 WROOM-1-N16R8 DevKitC-1 Development Board ESP32-S3 ST7789 Raspberry Pi 5 Camera User Guide Raspberry Pi 5 USB A C Mini PD Trigger Activation Power Adapter To Solve Non-PD-Power system error warning Raspberry Pi IR Array Thermal Imaging Camera Far infrared 80×62 Pixels 45/90 Degree FOV Raspberry Pi 5 Power Bus Servo Adapter A Raspberry Pi Pico ESP32 S3 R8 MP3 Board 2.8inch LCD TouchScreen Display Speaker/SD-Card/Battery/QMI8658-6-Axis-Sensor FT4232HL USB TTL RS232 Industrial UART 4-Ch UART SpotPear TOF Time of Flight Laser Range Sensor Mini Radar module UART Serial / I2C Port For Arduino / Raspberry Pi / ESP32 Mobile Robot ESP32-C3 1.47 inch LCD Display Development Board 1.47inch Screen SD 172×320