This is a high-level analyzer (HLA) for decoding SD and MMC comminication with a Saleae logic analyzer.
The analyzer only works when using SD mode (CK/CMD/DATx) and is not compatible with communication in SPI mode.
To use this extension, do the following:
As of the time of writing, the latest version was v2.3.2.
-
Download all files to a directory on your computer
-
In the "Extensions" tab, select "Create Extension" and select "Load existing extension."
-
Select the "extension.json" file on your computer.
-
MOSI mapped to SDIO_CMD
-
MISO unmapped
-
Clock mapped to SDIO_CK
-
Enable unmapped (important)
-
MSB first
-
8 bits per transfer
-
CPOL = 0
-
CPHA = 0
Use the SPI analyzer above as the input.
The SPI analyzer should be outputting results similiar to the following:
Because of the way the analyzer works, you may need to trim your results such that SPI_SCK is low at the beginning of the capture.
When there is activity on the CMD line, the analyzer will output info about it. The following shows the identification handshake between the host and the device.
This extension is not compatible with Saleae Logic 1.x.
The SD and MMC protocols are very similar. This analyzer is applicable to both.
The value of the CRC7 in commands and reponses is not checked.
The data lines are not decoded.