Partition I/O¶
Read, write, and erase partitions by name. All four accept the addressing syntax for slices and offsets.
read¶
Read a partition, or a slice of one, into a file.
write¶
Write files to partitions. Arguments come in PARTITION FILE pairs; repeat
them to flash several partitions in one go. Each file is checked to fit its
partition before anything is written. A file for an app partition or the
bootloader must be an app or a bootloader built for this chip; --force writes
it anyway.
Takes the write options.
erase¶
Erase a partition, or a slice of one.
view¶
Print a partition's contents. Hex dump by default; -s for UTF-8 text, -w
to set the dump width.