SPI Flash Analyzer for Logic 2
This is a basic high level analyzer for Saleae Logic 2 that interprets semi-standard SPI flash commands. The output can be limited by command type and data commands can also be limited by address. One can add the analyzer multiple times to get separate analysis tracks for different types of commands.
Installation
In Logic 2, click extensions on the right hand side.
To Use
Under the three dot, more menu, click Check for Updates then install the SPI Flash extension.
To Develop
- Clone this repo locally.
- Under the three dot, more menu, click
Load Existing Extension...and then select the local repo location.
Usage
Normal SPI
- Click the analyzers tab.
- Add a
SPIanalyzer and configure it for your capture. - Add a
SPI Flashanalyzer. - Set the
SPIanalyzer as the Input Analyzer. Min Address,Max AddressandDecode Levelare optional.- Change
Address Bytesto match
Quad SPI
- Click the analyzers tab.
- Add a
Simple Parallelanalyzer. (You may need to search for it.) - Configure it for your capture.
- Set D0 to MOSI.
- Set D1 to MISO.
- Set D2 to IO2 (WP on 8 pin flashes usually.)
- Set D3 to IO3 (HOLD on 8 pin flashes usually.)
- Set D15 to CS (used to ignore extra clocks.)
- Set the clock to the clock pin with the correct edge set.
- Add a
SPI Flashanalyzer. - Set the
Simple Parallelanalyzer as the Input Analyzer. Min Address,Max AddressandDecode Levelare optional.- Change
Address Bytesto match
Note: When using Simple Parallel input, it is assumed the CS line goes high between parallel captures that are greater than 4 times the time separation of the closest clocks seen thus far. So, beware of spurious clocks and SPI transmissions that pause between bytes but leave CS low. This analyzer may incorrectly partition the transactions.
Metadata
Release files for pysigrok-decoder-xspiflash 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pysigrok-decoder-xspiflash-0.0.1.tar.gz | 162.8 kB | Without provenance | Details for pysigrok-decoder-xspiflash-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pysigrok_decoder_xspiflash-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for pysigrok_decoder_xspiflash-0.0.1-py3-none-any.whl |
Total release size: 168.9 kB
Release files / pysigrok-decoder-xspiflash-0.0.1.tar.gz
| Download URL | pysigrok-decoder-xspiflash-0.0.1.tar.gz |
|---|---|
| Size | 162.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9d2e4df7a15f1a739b9d3fb2c05755dd4f0adf94cc622959e02339126651d1b
|
|
BLAKE2b-256 checksum How to use checksums |
38b8d9fb5af0a3a0b4759ae8baaf87bd449703d354067297b700703ecab2c2f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Release files / pysigrok_decoder_xspiflash-0.0.1-py3-none-any.whl
| Download URL | pysigrok_decoder_xspiflash-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c29d3afa73a848072b111a382c6c12aca893e1aa873d5622c6e45e50dddc6fe
|
|
BLAKE2b-256 checksum How to use checksums |
0a5726acd0da04d64241d3ff915b57c30b54d7cc932bec61bb2b5992d58e6938
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Security for pysigrok-decoder-xspiflash 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.