Skip to content

QSPI Flash inspection tools for rp2040 based devices

Notifications You must be signed in to change notification settings

jdlcdl/rp2040comb

Repository files navigation

rp2040comb

QSPI Flash inspection tools for rp2040 based Raspberry-Pico


Tools in this repository

The following tools may be copy/pasted into the rp2040 console w/<CTRL>-e, or they may be run on another computer against /tmp/rp2040.flash_dump assuming that file was previously saved from an rp2040 device.

  • mocked_Maix_utils.py: ensures that utils.flash_read() is available, because tools here need it.

  • hash_flash.py: returns the sha256 hash of bytes in flash.

  • crc32_flash.py: returns the crc32 checksum of bytes in flash.

  • hashcrc_flash.py: returns the sha256 hash and the crc32 checksum of bytes in flash.

  • all_bytes_are.py: returns true if bytes in flash are the same as the one passed in.

  • hex_dump.py: a kludgy-yet-versatile implementation of hex_dump for visually inspecting bytes in flash.

  • uf2parse.py: a commandline parser of firmware.uf2 files for validity, size, checksums and/or flashdump.


Example usage:


Tools here are heavily borrowed lazily stolen from https://github.com/jdlcdl/k210comb


For MicroPython firmware: see https://micropython.org/download/RPI_PICO_W/

About

QSPI Flash inspection tools for rp2040 based devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages