• 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: Spotpear ESP32 S3 N16R8 Development board 1.9 inch LCD Display 1.9inch TouchScreen 170×320 SD-Port RGB LED QMI8658 6-Axis ST7789 CST816 JSON Command Meaning Raspberry Pi Mipi display spotpear Raspberry Pi Starlight Camera IR-CUT IMX462 (A) Sensor 2MP 90 Degree ESP32 S3 3.5 inch LCD Development Board 480x320 Display Capacitive TouchScreen Tablet /MP3 Video /Weather Clock LVGL For Arduino Raspberry Pi 4B/5 Industrial UART 2CH RS485 RS232 CAN FD HAT With Case For Installation of guide rails and hanging USB to I2C ESP32-C6 WiFi 6 Development Board ESP32-C6-MINI-1Support WiFi6 Bluetooth5 Zigbee Thread Raspberry Pi 5 PD Induction ESP32 S3 Development Board 1.43 inch AMOLED Display 1.43inch TouchScreen For Arduino LVGL With SD-Port/ QMI8658C 6-Axis Sensor ESP32 1.9inch LCD Raspberry Pi 12.3 inch HDMI LCD Captive TouchScreen Display 1920x720 For Jetson Series/Computer PC Jetson Nano 1.54inch OLED STM32 downloader ESP32-S3R2 MPS2280D Raspberry Pi 5 PCIe to M.2 NVMe Dual SSD Adapter Board HAT Pi5 Double 2280 Computer Secondary Screen USB to SPI