• sales

    +86-0755-88291180

Raspberry Pi Pico-BreakoutBoard User Guide

User Guide

Serial port 

The serial port and Pico wiring of the on-board DAPLink are described as follows 

DAPLinkPico
GNDGND
PA9/UART1_TXGP17/UART0_RX
PA10/UART1_RXGP16/UART0_TX

In the Linux environment, you can use the minicom or picocom serial tool to open the serial port for debugging. Examples are as follows: 

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

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

SWD Download 

Pico's onchiprom program implements a U disk drag and drop burning function. You can drag and drop the uf2 file to the virtual U disk to achieve burning. However, in some development scenarios, if you need to frequently modify the code burning test, you need to Power off the Pico repeatedly, press and hold the button and power on again, and wait for the USB enumeration to complete before dragging and burning. The process is a bit cumbersome. In fact, programming and debugging can be achieved through Pico's SWD interface. With openocd open source debugging software, there is no need to power on and off the Pico again. You only need to enter a command to complete the programming. The specific process is described as follows 

  1. Installation 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. The corresponding script has been encapsulated in this warehouse. After importing the environment variables, you can call the burning target file in any path. Note that the burning format suffix is hex or bin instead of dragging and burning the uf2 file. 
$cd pico-lab/tools
$source env.sh
$dfw xxx.hex/xxx.bin

Compilation instructions 

$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 RTC WatchDog HAT (B) Real time clock Onboard DS3231SN High Precision RTC Chip RS485 to RJ45 Raspberry Pi 5 IR Camera Digital Photo Frames Mini Uninterruptible Power Supply module Supports charging And Power output at the same time 5V 2.5A Sipeed NanoCluster Mini Cluster Board mini data center For Raspberry Pi CM45 / Computer /LM3H /M4N ESP32-S3 Smart 86 Box Development Board with 4 inch 480x480 Display Touch Screen For AI and DeepSeek ESP32-C6 1.64inch AMOLED Display Development Board 280×456 1.64 inch TouchScreen ESP32 S3 Development Board 2.8 inch LCD Capacitive Touch Screen 2.8inch Display 240×320 N16R8 Raspberry Pi Pico 2 RP2350 1.75-inch AMOLED 1.75inch Round TouchScreen Display QMI8658 6-axis GPS Raspberry Pi RP2040 Long-Rang Jetson Orin 5G/4G/3G expansion board GNSS GPS RM520N-GL Pan-Tilt Kit RISC-V ESP32-S3 AI Camera 1.28inch LCD Dual MIC Development Board Display 1.28 inch Voice Interruption Object Recognition 10-in-1 Multifunctional Desktop SpotPear DeepSeek XiaoZhi AI Voice Chat Robot BOX ESP32-S3 Development Board 3.5 inch LCD N16R8 Touchscreen Display 6-Axis /Camera /SD Spotpear HDMI to TTL