• sales

    +86-0755-88291180

RP2350A-Linux-Pro User Guide

【Hardware information】


】Hardware information

RP2350A-Linux-Pro.pdf

RP2350A-Linux-Pro.step

RP2350A-Linux-Pro.DWG

】Pin Definition



【Sample Code】


Code

rp2350-linux-Image

【How to run the example code】


】Run Python


1】Press Boot to enter firmware update mode. A U disk will appear on your computer.

2】Place firmware.uf2 on the newly displayed U disk. The U disk will automatically disappear after put it.

3】You can then run the *.py program using Thonny software.

】Running C

1】Press boot to enter firmware update mode; a USB drive will appear on your computer.

2】Drag the main.uf2 file from the build folder in the C file to the USB drive and the program will run automatically.

】Burn and run Linux image


First, press and hold the BOOTSEL button on the Pico development board (keep it pressed), then plug the Pico into a USB port on your computer using a USB cable. Finally, release the BOOTSEL button. A disk named "RPI-RP2" will appear on your computer, similar to inserting a USB flash drive.


Install picotool on your Ubuntu Linux system.

Then use picotool in the Linux terminal to flash the firmware.。


psram-bootloader.uf2 is similar to a BIOS/boot loader. First, flash the uf2 file using the following command:

sudo picotool load -fu psram-bootloader.uf2


Then flash the Linux system image using the following command:

sudo picotool load -fxup 0 flash-image.bin


Use a USB-to-serial converter to connect UART-RX to GPIO0 on the Pico2 and UART-TX to GPIO1 on the Pico2.

Open the serial terminal to access the Linux terminal (this system is a minimal Linux system, builtroot, with kernel 6.10).


【Compile Linux source code】


】Clone the project to local

git clone https://github.com/Mr-Bossman/pi-pico2-linux


】Initialize and update the submodules within pico-sdk


git submodule update --init 


】Configure the system


make -C buildroot BR2_EXTERNAL=$PWD/ raspberrypi-pico2_defconfig

】Compile system


make -C buildroot


】Burning kernel


make -C psram-bootloader flash-kernel

(flash-kernel: is a target task defined in the Makefile in this directory, which contains specific burning commands)


】Verification System


Use the USB to serial port tool, connect UART-RX to GPIO0 of pico2, and connect UART-TX pin to GPIO1 of pico2.

Open the serial terminal and enter the Linux terminal.


Note: After flashing the Linux system, if you want to use micropython, you must first execute the following command to erase the firmware before it can be used normally:

sudo picotool erase

Otherwise, you will not be able to flash other uf2 files.



TAG: Raspberry Pi 12.3 inch HDMI LCD Captive TouchScreen Display 1920x720 For Jetson Series/Computer PC Raspberry Pi Horizontal Drag Instructions Computer USB Monitor Screen Raspberry Pi 5 PCIe to M.2 NVMe SSD Adapter Board HAT Pi5-PCIe-MPS2242-2230-Board Raspberry Pi Pico 2 RP2350 industrial 6-ch Relay RS485 isolation protection X1202 Raspberry Pi 5 UPS Board Uninterruptible Power Supply For 18650-Li-Battery (NOT includ) 4-Ports Raspberry Pi AF Camera Raspberry Pi 5.83 inch e-Paper link (G) RYBW 800x480 For Arduino / Jetson / STM32 /ESP32 Raspberry Pi DSI Scr Ra Gyroscope Industrial USB TO RS485 Isolated Bidirectional Converter Original FT232RNL 2 Meters long Raspberry Pi 5 Camera User Guide Raspberry Pi 5 Night Camera Raspberry Pi 5 PCIe to USB3 HUB Double 2.5G ETH RJ45 and M.2 NVMe SSD PI5 Expansion board HAT+ UART To CAN Mini Milk V Duo IO Board Tutorial Electronic EYE 0.71 inch Round Double LCD Display Dual Screen For Arduino Raspberry Pi ESP32 Pico STM32 2.9 inch Passive NFC e-Paper ink (G) RYBW Display Screen No Need Battery Wireless Power & Data Transfer