Crates.io | spidap |
lib.rs | spidap |
version | 0.1.0 |
source | src |
created_at | 2021-03-07 03:58:03.623024 |
updated_at | 2021-03-07 03:58:03.623024 |
description | Access SPI flash memories using CMSIS-DAP probes |
homepage | |
repository | https://github.com/adamgreig/ecpdap |
max_upload_size | |
id | 365061 |
size | 46,151 |
SPIDAP allows you to use CMSIS-DAP compatible probes in JTAG mode to access SPI flash memories directly, using the JTAG signals to emulate SPI.
The probe must be connected directly to the SPI flash:
JTAG signal | SPI Flash |
---|---|
JTMS | CS |
JTCK | CLK |
JTDI | SDI |
JTDO | SDO |
Pre-built binaries are available for Windows and Linux on the Releases page. You must have libusb installed or available on your system, and you must have permissions or drivers set up to access your CMSIS-DAP probe.
To build and install for your user, without checking out the repository:
cargo install spidap
Or, building locally after checking out this repository:
cargo build --release
You can either run the spidap executable directly from target/release/spidap
,
or you can install it for your user using cargo install --path .
.
Run spidap help
for detailed usage. Commonly used commands:
spidap probes
: List all detected CMSIS-DAP probesspidap id
: Read the flash manufacturer and product IDsspidap scan
: Read the flash SFDP metadata and status registersspidap write data.bit
: Write data.bit
to flash memory.spidap is licensed under either of
at your option.