Google Chat:---
+86-0755-88291180
sales@spotpear.com
dragon_manager@163.com
tech-support@spotpear.com
zhoujie@spotpear.com
WhatsApp:13246739196
WhatsApp:13424403025

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.
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.
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).
git clone https://github.com/Mr-Bossman/pi-pico2-linux
git submodule update --init
make -C buildroot BR2_EXTERNAL=$PWD/ raspberrypi-pico2_defconfig
make -C buildroot
make -C psram-bootloader flash-kernel
(flash-kernel: is a target task defined in the Makefile in this directory, which contains specific burning commands)
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.