From e528cbd4562fd59c711971e40782df2c7d113413 Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Wed, 3 Apr 2019 19:54:12 +0200 Subject: sdcard_spi: add CMD24 dumps (write single block) Pierre Poulain provided these files in bug #1365 as public domain. --- sdcard/spi_mode/write_single_block/README | 32 +++++++++++++++++++++ .../data_transfer_complete_simulated.sr | Bin 0 -> 2322 bytes .../data_transfer_start_snippet.sr | Bin 0 -> 780 bytes 3 files changed, 32 insertions(+) create mode 100644 sdcard/spi_mode/write_single_block/README create mode 100644 sdcard/spi_mode/write_single_block/data_transfer_complete_simulated.sr create mode 100644 sdcard/spi_mode/write_single_block/data_transfer_start_snippet.sr diff --git a/sdcard/spi_mode/write_single_block/README b/sdcard/spi_mode/write_single_block/README new file mode 100644 index 0000000..391f73f --- /dev/null +++ b/sdcard/spi_mode/write_single_block/README @@ -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 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 index 0000000..6ced8c1 Binary files /dev/null and b/sdcard/spi_mode/write_single_block/data_transfer_start_snippet.sr differ -- cgit v1.2.3-54-g00ecf