From: Gerhard Sittig Date: Wed, 3 Apr 2019 17:54:12 +0000 (+0200) Subject: sdcard_spi: add CMD24 dumps (write single block) X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e528cbd4562fd59c711971e40782df2c7d113413;p=sigrok-dumps.git sdcard_spi: add CMD24 dumps (write single block) Pierre Poulain provided these files in bug #1365 as public domain. --- 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