EasyManua.ls Logo

Raspberry Pi Pico Series - Save the Program

Raspberry Pi Pico Series
54 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
$ sudo picotool info -bp
Program Information
Êname: hello_world
Êfeatures: stdout to UART
Fixed Pin Information
Ê20: UART1 TX
Ê21: UART1 RX
The tool can also be used on binaries still on your local filesystem,
$ picotool info -a lcd_1602_i2c.uf2
File lcd_1602_i2c.uf2:
Program Information
Êname: lcd_1602_i2c
Êweb site: https://github.com/raspberrypi/pico-examples/tree/HEAD/i2c/lcd_1602_i2c
Êbinary start: 0x10000000
Êbinary end: 0x10003c1c
Fixed Pin Information
Ê4: I2C0 SDA
Ê5: I2C0 SCL
Build Information
Êbuild date: Dec 31 2020
Save the program
Save allows you to save a range of memory or a program or the whole of flash from the device to a BIN file or a UF2 file.
$ picotool help save
SAVE:
Ê Save the program / memory stored in flash on the device to a file.
SYNOPSIS:
Ê picotool save [-p] [--bus <bus>] [--address <addr>] [-f] [-F] <filename> [-t <type>]
Ê picotool save -a [--bus <bus>] [--address <addr>] [-f] [-F] <filename> [-t <type>]
Ê picotool save -r <from> <to> [--bus <bus>] [--address <addr>] [-f] [-F] <filename> [-t
Ê <type>]
OPTIONS:
Ê Selection of data to save
Ê -p, --program
Ê Save the installed program only. This is the default
Ê -a, --all
Ê Save all of flash memory
Ê -r, --range
Ê Save a range of memory. Note that UF2s always store complete 256 byte-aligned
Ê blocks of 256 bytes, and the range is expanded accordingly
Ê <from>
Ê The lower address bound in hex
Ê <to>
Ê The upper address bound in hex
Ê Source device selection
Ê --bus <bus>
Getting started with Raspberry Pi Pico-series
Using picotool 29

Table of Contents

Related product manuals