]> sigrok.org Git - sigrok-test.git/commitdiff
sdcard_spi: Add a test-case.
authorUwe Hermann <redacted>
Wed, 22 Jul 2015 06:49:33 +0000 (08:49 +0200)
committerUwe Hermann <redacted>
Wed, 22 Jul 2015 16:05:08 +0000 (18:05 +0200)
decoder/test/sdcard_spi/test.conf [new file with mode: 0644]
decoder/test/sdcard_spi/xmore_512mb_get_csd.output [new file with mode: 0644]

diff --git a/decoder/test/sdcard_spi/test.conf b/decoder/test/sdcard_spi/test.conf
new file mode 100644 (file)
index 0000000..7b82558
--- /dev/null
@@ -0,0 +1,6 @@
+test xmore_512mb_get_csd
+       protocol-decoder spi channel cs=0 channel mosi=1 channel clk=2 channel miso=3
+       protocol-decoder sdcard_spi
+       stack spi sdcard_spi
+       input sdcard/spi_mode/xmore_512mb/xmore_512mb_get_csd.sr
+       output sdcard_spi annotation match xmore_512mb_get_csd.output
diff --git a/decoder/test/sdcard_spi/xmore_512mb_get_csd.output b/decoder/test/sdcard_spi/xmore_512mb_get_csd.output
new file mode 100644 (file)
index 0000000..199676d
--- /dev/null
@@ -0,0 +1,176 @@
+1038730-1038734 sdcard_spi: bit-warnings: "Start bit: 0"
+1038734-1038738 sdcard_spi: bit-warnings: "Transmitter bit: 1"
+1038738-1038762 sdcard_spi: bit-warnings: "Command: CMD0 (GO_IDLE_STATE)"
+1038762-1038890 sdcard_spi: bit-warnings: "Argument: 0x0000"
+1038890-1038918 sdcard_spi: bit-warnings: "CRC7: 0x4a"
+1038918-1038922 sdcard_spi: bit-warnings: "End bit: 1"
+1038918-1038922 sdcard_spi: bit-warnings: "End bit: 1"
+1038730-1038922 sdcard_spi: cmd0: "CMD0 (GO_IDLE_STATE): Reset the SD card"
+1039003-1039035 sdcard_spi: acmd1: "R1: 0x01"
+1039031-1039035 sdcard_spi: bit-warnings: "Card is in idle state"
+1039027-1039031 sdcard_spi: bit-warnings: "Erase sequence not cleared"
+1039023-1039027 sdcard_spi: bit-warnings: "No illegal command detected"
+1039019-1039023 sdcard_spi: bit-warnings: "CRC check of last command was successful"
+1039015-1039019 sdcard_spi: bit-warnings: "No error in the sequence of erase commands"
+1039011-1039015 sdcard_spi: bit-warnings: "No misaligned address used in command"
+1039007-1039011 sdcard_spi: bit-warnings: "Command argument not outside allowed range"
+1039003-1039007 sdcard_spi: bit-warnings: "Bit 7 (always 0)"
+1039223-1039227 sdcard_spi: bit-warnings: "Start bit: 0"
+1039227-1039231 sdcard_spi: bit-warnings: "Transmitter bit: 1"
+1039231-1039255 sdcard_spi: bit-warnings: "Command: CMD55 (APP_CMD)"
+1039255-1039383 sdcard_spi: bit-warnings: "Argument: 0x0000"
+1039383-1039411 sdcard_spi: bit-warnings: "CRC7: 0x4a"
+1039411-1039415 sdcard_spi: bit-warnings: "End bit: 1"
+1039411-1039415 sdcard_spi: bit-warnings: "End bit: 1"
+1039223-1039415 sdcard_spi: cmd55: "CMD55 (APP_CMD): Next command is an application-specific command"
+1039497-1039529 sdcard_spi: acmd1: "R1: 0x01"
+1039525-1039529 sdcard_spi: bit-warnings: "Card is in idle state"
+1039521-1039525 sdcard_spi: bit-warnings: "Erase sequence not cleared"
+1039517-1039521 sdcard_spi: bit-warnings: "No illegal command detected"
+1039513-1039517 sdcard_spi: bit-warnings: "CRC check of last command was successful"
+1039509-1039513 sdcard_spi: bit-warnings: "No error in the sequence of erase commands"
+1039505-1039509 sdcard_spi: bit-warnings: "No misaligned address used in command"
+1039501-1039505 sdcard_spi: bit-warnings: "Command argument not outside allowed range"
+1039497-1039501 sdcard_spi: bit-warnings: "Bit 7 (always 0)"
+1039709-1039713 sdcard_spi: bit-warnings: "Start bit: 0"
+1039713-1039717 sdcard_spi: bit-warnings: "Transmitter bit: 1"
+1039717-1039741 sdcard_spi: bit-warnings: "Command: ACMD41 (SD_SEND_OP_COND)"
+1039741-1039869 sdcard_spi: bit-warnings: "Argument: 0x0000"
+1039869-1039897 sdcard_spi: bit-warnings: "CRC7: 0x4a"
+1039897-1039901 sdcard_spi: bit-warnings: "End bit: 1"
+1039897-1039901 sdcard_spi: bit-warnings: "End bit: 1"
+1039709-1039901 sdcard_spi: acmd41: "ACMD41 (SD_SEND_OP_COND): Send HCS info and activate the card init process"
+1039983-1040015 sdcard_spi: acmd1: "R1: 0x01"
+1040011-1040015 sdcard_spi: bit-warnings: "Card is in idle state"
+1040007-1040011 sdcard_spi: bit-warnings: "Erase sequence not cleared"
+1040003-1040007 sdcard_spi: bit-warnings: "No illegal command detected"
+1039999-1040003 sdcard_spi: bit-warnings: "CRC check of last command was successful"
+1039995-1039999 sdcard_spi: bit-warnings: "No error in the sequence of erase commands"
+1039991-1039995 sdcard_spi: bit-warnings: "No misaligned address used in command"
+1039987-1039991 sdcard_spi: bit-warnings: "Command argument not outside allowed range"
+1039983-1039987 sdcard_spi: bit-warnings: "Bit 7 (always 0)"
+1040202-1040206 sdcard_spi: bit-warnings: "Start bit: 0"
+1040206-1040210 sdcard_spi: bit-warnings: "Transmitter bit: 1"
+1040210-1040234 sdcard_spi: bit-warnings: "Command: CMD1 (SEND_OP_COND)"
+1040234-1040362 sdcard_spi: bit-warnings: "Argument: 0x0000"
+1040362-1040390 sdcard_spi: bit-warnings: "CRC7: 0x4a"
+1040390-1040394 sdcard_spi: bit-warnings: "End bit: 1"
+1040390-1040394 sdcard_spi: bit-warnings: "End bit: 1"
+1040202-1040394 sdcard_spi: cmd1: "CMD1 (SEND_OP_COND): Send HCS info and activate the card init process"
+1040238-1040242 sdcard_spi: bit-warnings: "HCS: 0"
+1040475-1040507 sdcard_spi: acmd1: "R1: 0x00"
+1040503-1040507 sdcard_spi: bit-warnings: "Card is not in idle state"
+1040499-1040503 sdcard_spi: bit-warnings: "Erase sequence not cleared"
+1040495-1040499 sdcard_spi: bit-warnings: "No illegal command detected"
+1040491-1040495 sdcard_spi: bit-warnings: "CRC check of last command was successful"
+1040487-1040491 sdcard_spi: bit-warnings: "No error in the sequence of erase commands"
+1040483-1040487 sdcard_spi: bit-warnings: "No misaligned address used in command"
+1040479-1040483 sdcard_spi: bit-warnings: "Command argument not outside allowed range"
+1040475-1040479 sdcard_spi: bit-warnings: "Bit 7 (always 0)"
+1040695-1040699 sdcard_spi: bit-warnings: "Start bit: 0"
+1040699-1040703 sdcard_spi: bit-warnings: "Transmitter bit: 1"
+1040703-1040727 sdcard_spi: bit-warnings: "Command: CMD59 (CRC_ON_OFF)"
+1040727-1040855 sdcard_spi: bit-warnings: "Argument: 0x0000"
+1040855-1040883 sdcard_spi: bit-warnings: "CRC7: 0x4a"
+1040883-1040887 sdcard_spi: bit-warnings: "End bit: 1"
+1040883-1040887 sdcard_spi: bit-warnings: "End bit: 1"
+1040695-1040887 sdcard_spi: cmd59: "CMD59 (CRC_ON_OFF): Turn the SD card CRC option off"
+1040969-1041001 sdcard_spi: acmd1: "R1: 0x00"
+1040997-1041001 sdcard_spi: bit-warnings: "Card is not in idle state"
+1040993-1040997 sdcard_spi: bit-warnings: "Erase sequence not cleared"
+1040989-1040993 sdcard_spi: bit-warnings: "No illegal command detected"
+1040985-1040989 sdcard_spi: bit-warnings: "CRC check of last command was successful"
+1040981-1040985 sdcard_spi: bit-warnings: "No error in the sequence of erase commands"
+1040977-1040981 sdcard_spi: bit-warnings: "No misaligned address used in command"
+1040973-1040977 sdcard_spi: bit-warnings: "Command argument not outside allowed range"
+1040969-1040973 sdcard_spi: bit-warnings: "Bit 7 (always 0)"
+1041182-1041186 sdcard_spi: bit-warnings: "Start bit: 0"
+1041186-1041190 sdcard_spi: bit-warnings: "Transmitter bit: 1"
+1041190-1041214 sdcard_spi: bit-warnings: "Command: CMD16 (SET_BLOCKLEN)"
+1041214-1041342 sdcard_spi: bit-warnings: "Argument: 0x0200"
+1041342-1041370 sdcard_spi: bit-warnings: "CRC7: 0x4a"
+1041370-1041374 sdcard_spi: bit-warnings: "End bit: 1"
+1041370-1041374 sdcard_spi: bit-warnings: "End bit: 1"
+1041182-1041374 sdcard_spi: cmd16: "CMD16 (SET_BLOCKLEN): Set the block length to 512 bytes"
+1041455-1041487 sdcard_spi: acmd1: "R1: 0x00"
+1041483-1041487 sdcard_spi: bit-warnings: "Card is not in idle state"
+1041479-1041483 sdcard_spi: bit-warnings: "Erase sequence not cleared"
+1041475-1041479 sdcard_spi: bit-warnings: "No illegal command detected"
+1041471-1041475 sdcard_spi: bit-warnings: "CRC check of last command was successful"
+1041467-1041471 sdcard_spi: bit-warnings: "No error in the sequence of erase commands"
+1041463-1041467 sdcard_spi: bit-warnings: "No misaligned address used in command"
+1041459-1041463 sdcard_spi: bit-warnings: "Command argument not outside allowed range"
+1041455-1041459 sdcard_spi: bit-warnings: "Bit 7 (always 0)"
+1041822-1041826 sdcard_spi: bit-warnings: "Start bit: 0"
+1041826-1041830 sdcard_spi: bit-warnings: "Transmitter bit: 1"
+1041830-1041854 sdcard_spi: bit-warnings: "Command: CMD9 (SEND_CSD)"
+1041854-1041982 sdcard_spi: bit-warnings: "Argument: 0x0000"
+1041982-1042010 sdcard_spi: bit-warnings: "CRC7: 0x4a"
+1042010-1042014 sdcard_spi: bit-warnings: "End bit: 1"
+1042010-1042014 sdcard_spi: bit-warnings: "End bit: 1"
+1041822-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1042014 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1042014-1043468 sdcard_spi: cmd9: "CSD: [0, 94, 0, 50, 95, 89, 131, 210, 237, 183, 127, 143, 150, 64, 0, 247]"
+1043795-1043799 sdcard_spi: bit-warnings: "Start bit: 0"
+1043799-1043803 sdcard_spi: bit-warnings: "Transmitter bit: 1"
+1043803-1043827 sdcard_spi: bit-warnings: "Command: CMD59 (CRC_ON_OFF)"
+1043827-1043955 sdcard_spi: bit-warnings: "Argument: 0x0000"
+1043955-1043983 sdcard_spi: bit-warnings: "CRC7: 0x4a"
+1043983-1043987 sdcard_spi: bit-warnings: "End bit: 1"
+1043983-1043987 sdcard_spi: bit-warnings: "End bit: 1"
+1043795-1043987 sdcard_spi: cmd59: "CMD59 (CRC_ON_OFF): Turn the SD card CRC option off"
+1044069-1044101 sdcard_spi: acmd1: "R1: 0x00"
+1044097-1044101 sdcard_spi: bit-warnings: "Card is not in idle state"
+1044093-1044097 sdcard_spi: bit-warnings: "Erase sequence not cleared"
+1044089-1044093 sdcard_spi: bit-warnings: "No illegal command detected"
+1044085-1044089 sdcard_spi: bit-warnings: "CRC check of last command was successful"
+1044081-1044085 sdcard_spi: bit-warnings: "No error in the sequence of erase commands"
+1044077-1044081 sdcard_spi: bit-warnings: "No misaligned address used in command"
+1044073-1044077 sdcard_spi: bit-warnings: "Command argument not outside allowed range"
+1044069-1044073 sdcard_spi: bit-warnings: "Bit 7 (always 0)"
+1054355-1054359 sdcard_spi: bit-warnings: "Start bit: 0"
+1054359-1054363 sdcard_spi: bit-warnings: "Transmitter bit: 1"
+1054363-1054387 sdcard_spi: bit-warnings: "Command: CMD9 (SEND_CSD)"
+1054387-1054515 sdcard_spi: bit-warnings: "Argument: 0x0000"
+1054515-1054543 sdcard_spi: bit-warnings: "CRC7: 0x4a"
+1054543-1054547 sdcard_spi: bit-warnings: "End bit: 1"
+1054543-1054547 sdcard_spi: bit-warnings: "End bit: 1"
+1054355-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1054547 sdcard_spi: cmd9: "CMD9 (SEND_CSD): Ask card to send its card specific data (CSD)"
+1054547-1056001 sdcard_spi: cmd9: "CSD: [0, 94, 0, 50, 95, 89, 131, 210, 237, 183, 127, 143, 150, 64, 0, 247]"