• 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: 1.54inch OLED user guide Industrial USB HUB USB3.2 Gen1 One-To-4U Onboard 7~36V DC power port For Multi Systems Raspberry Pi Pico 2 RP2350A 1.54inch TouchScreen 1.54 inch LCD Display Development Board 240×240 CAM-GC2083 XIAO-nRF52840 Plus 20GPIOs BLE Sense Tiny SuperMini Onboard Mic/Sensor For Arduino For SeeedStudio ESP32 LVGL Milk V Duo UART Raspberry Pi 10.1 inch QLED Quantum Dot Display 1280x720 Capacitive Touchscreen DDC/CI For Computer PC/Jetson/Game Raspberry Pi Camera 12MP Sony IMX708 autofocus HDR Module 3 Sensor Assembly Raspberry Pi 4B/5 Industrial UART 2CH RS485 RS232 CAN FD HAT With Case For Installation of guide rails and hanging Raspberry Pi Secondary Screen Raspberry Pi 9.7 inch e-Paper HAT+ (E) E-Ink E6 Full color 1120x784 Screen Display For Arduino /STM32 /ESP32/Jetson Nano Raspberry Pi 5 CR2032 Raspberry Pi Pico 2 RP2350 1.47 inch LCD Display Development board RP2350A 1.47inch Screen RGB color $8.5 ADXL354C Evaluation Board RS485 7.5 inch Passive NFC e-Paper BW Display 7.5inch E-ink Screen No Need Battery Wireless Powered Data Transfer Raspberry Pi RTC WatchDog HAT (B) Pico-DALI2 Expansion Board For ESP32 C6 S3 DALI communication control multiple LED Raspberry Pi Pico Buzzer