sdcard_spi: add CMD24 dumps (write single block)
authorGerhard Sittig <gerhard.sittig@gmx.net>
Wed, 3 Apr 2019 17:54:12 +0000 (19:54 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Mon, 15 Apr 2019 16:27:55 +0000 (18:27 +0200)
Pierre Poulain provided these files in bug #1365 as public domain.

sdcard/spi_mode/write_single_block/README [new file with mode: 0644]
sdcard/spi_mode/write_single_block/data_transfer_complete_simulated.sr [new file with mode: 0644]
sdcard/spi_mode/write_single_block/data_transfer_start_snippet.sr [new file with mode: 0644]

diff --git a/sdcard/spi_mode/write_single_block/README b/sdcard/spi_mode/write_single_block/README
new file mode 100644 (file)
index 0000000..391f73f
--- /dev/null
@@ -0,0 +1,32 @@
+-------------------------------------------------------------------------------
+SD card / SPI-mode / CMD24 (write single block)
+-------------------------------------------------------------------------------
+
+This set of example captures demonstrates CMD24 (write single block)
+commands including their data phase.
+
+Pierre Poulain provided these files in bug #1365 as public domain.
+
+
+Logic analyzer setup
+--------------------
+
+  Probe    SD card
+  ----------------
+  0        CS#
+  1        MOSI
+  2        MISO
+  3        CLK / SCK
+
+
+Data
+----
+
+File data_transfer_start_snippet.sr was recorded in a live setup, and
+contains the start of a write command -- but does not complete it which
+is why the decoder won't annotate the operation.
+
+File data_transfer_complete_simulated.sr contains a complete CMD24 start
+as well as the communication of the R1 response, the data start token,
+the payload data, and the data response. This capture was created by a
+simulation.
diff --git a/sdcard/spi_mode/write_single_block/data_transfer_complete_simulated.sr b/sdcard/spi_mode/write_single_block/data_transfer_complete_simulated.sr
new file mode 100644 (file)
index 0000000..b35ed20
Binary files /dev/null and b/sdcard/spi_mode/write_single_block/data_transfer_complete_simulated.sr differ
diff --git a/sdcard/spi_mode/write_single_block/data_transfer_start_snippet.sr b/sdcard/spi_mode/write_single_block/data_transfer_start_snippet.sr
new file mode 100644 (file)
index 0000000..6ced8c1
Binary files /dev/null and b/sdcard/spi_mode/write_single_block/data_transfer_start_snippet.sr differ