• 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: Mini TV ESP32‑S3 13.3-inch E6 Full-Color E-Ink e-Paper Display Lidar RV1103 SC3336 7.5 inch Passive NFC e-Paper V2 BW Display 7.5inch E-ink Screen No Need Battery Wireless Powered Data Transfer For Mobile APP Raspberry Pi 5inch Display IO BASE MINI Board RS485 to RJ45 Arduino MEGA2560 R3 Raspberry Pi 5 PCIe to M.2 NVMe SSD Adapter Board (D) HAT Pi5-2280-2242-2230 Raspberry Pi 5 PCIe to M.2 NVMe SSD Adapter Board HAT Pi5-PCIe-MPS2242-2230-Board Raspberry Pi Pico 2 RP2350B Industrial 8-Channel Relay IOT LAN Digital Input DIO /RS485 /RJ45 Ethernet /POE X1011 Raspberry Pi 5 PCIe to M.2 NVMe 4-Ports SSD Board HAT Pi5 Four-Times 2280 Package Kit Raspberry Pi CM4S08032 And Compute Module PoE IO Board ESP32 C3 Raspberry Pi 3 LCD HAT Raspberry Pi 10.85 inch e-Paper ink screen display black white 1360×480 For Arduino /Jetson /STM32 /ESP32 ESP32 MLX90640 Raspberry Pi RP2040 LoRa-HF 14 inch Dual LCD Computer PC Monitor Display Double Secondary Screen Type C Mini HDMI 1080P For Windows/MacOS