]>
Commit | Line | Data |
---|---|---|
e528cbd4 GS |
1 | ------------------------------------------------------------------------------- |
2 | SD card / SPI-mode / CMD24 (write single block) | |
3 | ------------------------------------------------------------------------------- | |
4 | ||
5 | This set of example captures demonstrates CMD24 (write single block) | |
6 | commands including their data phase. | |
7 | ||
8 | Pierre Poulain provided these files in bug #1365 as public domain. | |
9 | ||
10 | ||
11 | Logic analyzer setup | |
12 | -------------------- | |
13 | ||
14 | Probe SD card | |
15 | ---------------- | |
16 | 0 CS# | |
17 | 1 MOSI | |
18 | 2 MISO | |
19 | 3 CLK / SCK | |
20 | ||
21 | ||
22 | Data | |
23 | ---- | |
24 | ||
25 | File data_transfer_start_snippet.sr was recorded in a live setup, and | |
26 | contains the start of a write command -- but does not complete it which | |
27 | is why the decoder won't annotate the operation. | |
28 | ||
29 | File data_transfer_complete_simulated.sr contains a complete CMD24 start | |
30 | as well as the communication of the R1 response, the data start token, | |
31 | the payload data, and the data response. This capture was created by a | |
32 | simulation. | |
9b05e5de UH |
33 | |
34 | File data_transfer_complete_real.sr is similar to the above, but is a | |
35 | capture of a "real" transfer. The data (512 bytes) is all-zero, except for | |
36 | the first 12 bytes which are ASCII "Sigrok rocks". |