sdcard_sd: Add a few more test-cases.
authorUwe Hermann <uwe@hermann-uwe.de>
Sun, 12 Jan 2020 19:05:11 +0000 (20:05 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Mon, 13 Jan 2020 00:01:27 +0000 (01:01 +0100)
decoder/test/sdcard_sd/test.conf
decoder/test/sdcard_sd/unknown_card_cmd13_r1.output [new file with mode: 0644]
decoder/test/sdcard_sd/unknown_card_cmd13_r1_2.output [new file with mode: 0644]
decoder/test/sdcard_sd/unknown_card_cmd2_r2.output [new file with mode: 0644]
decoder/test/sdcard_sd/unknown_card_cmd3_r6.output [new file with mode: 0644]
decoder/test/sdcard_sd/unknown_card_cmd55_r1_acmd41_r3.output [new file with mode: 0644]
decoder/test/sdcard_sd/unknown_card_cmd55_r1_acmd51_r1.output [new file with mode: 0644]
decoder/test/sdcard_sd/unknown_card_cmd6_r1.output [new file with mode: 0644]
decoder/test/sdcard_sd/unknown_card_cmd6_r1_2.output [new file with mode: 0644]
decoder/test/sdcard_sd/unknown_card_cmd7_r6.output [new file with mode: 0644]
decoder/test/sdcard_sd/unknown_card_cmd9_r2.output [new file with mode: 0644]

index c8055b8629c20135328b980a1fc07507827c2886..803b3a5fe4b2918a8e93e97d942763f496911162 100644 (file)
@@ -7,3 +7,53 @@ test r-car-h2_cmd23_cmd18
        protocol-decoder sdcard_sd channel cmd=0 channel clk=1
        input sdcard/sd_mode/rcar-h2/cmd23_cmd18.sr
        output sdcard_sd annotation match r-car-h2_cmd23_cmd18.output
+
+test unknown_card_cmd2_r2
+       protocol-decoder sdcard_sd channel cmd=4 channel clk=5
+       input sdcard/sd_mode/card_reader/unknown_card/cmd2_r2.sr
+       output sdcard_sd annotation match unknown_card_cmd2_r2.output
+
+test unknown_card_cmd3_r6
+       protocol-decoder sdcard_sd channel cmd=4 channel clk=5
+       input sdcard/sd_mode/card_reader/unknown_card/cmd3_r6.sr
+       output sdcard_sd annotation match unknown_card_cmd3_r6.output
+
+test unknown_card_cmd6_r1
+       protocol-decoder sdcard_sd channel cmd=4 channel clk=5
+       input sdcard/sd_mode/card_reader/unknown_card/cmd6_r1.sr
+       output sdcard_sd annotation match unknown_card_cmd6_r1.output
+
+test unknown_card_cmd6_r1_2
+       protocol-decoder sdcard_sd channel cmd=4 channel clk=5
+       input sdcard/sd_mode/card_reader/unknown_card/cmd6_r1_2.sr
+       output sdcard_sd annotation match unknown_card_cmd6_r1_2.output
+
+test unknown_card_cmd7_r6
+       protocol-decoder sdcard_sd channel cmd=4 channel clk=5
+       input sdcard/sd_mode/card_reader/unknown_card/cmd7_r6.sr
+       output sdcard_sd annotation match unknown_card_cmd7_r6.output
+
+test unknown_card_cmd9_r2
+       protocol-decoder sdcard_sd channel cmd=4 channel clk=5
+       input sdcard/sd_mode/card_reader/unknown_card/cmd9_r2.sr
+       output sdcard_sd annotation match unknown_card_cmd9_r2.output
+
+test unknown_card_cmd13_r1
+       protocol-decoder sdcard_sd channel cmd=4 channel clk=5
+       input sdcard/sd_mode/card_reader/unknown_card/cmd13_r1.sr
+       output sdcard_sd annotation match unknown_card_cmd13_r1.output
+
+test unknown_card_cmd13_r1_2
+       protocol-decoder sdcard_sd channel cmd=4 channel clk=5
+       input sdcard/sd_mode/card_reader/unknown_card/cmd13_r1_2.sr
+       output sdcard_sd annotation match unknown_card_cmd13_r1_2.output
+
+test unknown_card_cmd55_r1_acmd51_r1
+       protocol-decoder sdcard_sd channel cmd=4 channel clk=5
+       input sdcard/sd_mode/card_reader/unknown_card/cmd55_r1_acmd51_r1.sr
+       output sdcard_sd annotation match unknown_card_cmd55_r1_acmd51_r1.output
+
+test unknown_card_cmd55_r1_acmd41_r3
+       protocol-decoder sdcard_sd channel cmd=4 channel clk=5
+       input sdcard/sd_mode/card_reader/unknown_card/cmd55_r1_acmd41_r3.sr
+       output sdcard_sd annotation match unknown_card_cmd55_r1_acmd41_r3.output
diff --git a/decoder/test/sdcard_sd/unknown_card_cmd13_r1.output b/decoder/test/sdcard_sd/unknown_card_cmd13_r1.output
new file mode 100644 (file)
index 0000000..82616d6
--- /dev/null
@@ -0,0 +1,141 @@
+9011-9678 sdcard_sd: bit_0: "0"
+9678-10344 sdcard_sd: bit_1: "1"
+10344-11011 sdcard_sd: bit_0: "0"
+11011-11678 sdcard_sd: bit_0: "0"
+11678-12344 sdcard_sd: bit_1: "1"
+12344-13011 sdcard_sd: bit_1: "1"
+13011-13678 sdcard_sd: bit_0: "0"
+13678-14344 sdcard_sd: bit_1: "1"
+14344-15011 sdcard_sd: bit_1: "1"
+15011-15677 sdcard_sd: bit_0: "0"
+15677-16344 sdcard_sd: bit_1: "1"
+16344-17011 sdcard_sd: bit_1: "1"
+17011-17677 sdcard_sd: bit_0: "0"
+17677-18344 sdcard_sd: bit_0: "0"
+18344-19011 sdcard_sd: bit_1: "1"
+19011-19677 sdcard_sd: bit_1: "1"
+19677-20344 sdcard_sd: bit_0: "0"
+20344-21010 sdcard_sd: bit_1: "1"
+21010-21677 sdcard_sd: bit_1: "1"
+21677-22344 sdcard_sd: bit_0: "0"
+22344-23010 sdcard_sd: bit_1: "1"
+23010-23677 sdcard_sd: bit_0: "0"
+23677-24343 sdcard_sd: bit_0: "0"
+24343-25010 sdcard_sd: bit_0: "0"
+25010-25677 sdcard_sd: bit_0: "0"
+25677-26343 sdcard_sd: bit_0: "0"
+26343-27010 sdcard_sd: bit_0: "0"
+27010-27677 sdcard_sd: bit_0: "0"
+27677-28343 sdcard_sd: bit_0: "0"
+28343-29010 sdcard_sd: bit_0: "0"
+29010-29676 sdcard_sd: bit_0: "0"
+29676-30343 sdcard_sd: bit_0: "0"
+30343-31010 sdcard_sd: bit_0: "0"
+31010-31676 sdcard_sd: bit_0: "0"
+31676-32343 sdcard_sd: bit_0: "0"
+32343-33010 sdcard_sd: bit_0: "0"
+33010-33676 sdcard_sd: bit_0: "0"
+33676-34343 sdcard_sd: bit_0: "0"
+34343-35009 sdcard_sd: bit_0: "0"
+35009-35676 sdcard_sd: bit_0: "0"
+35676-36343 sdcard_sd: bit_1: "1"
+36343-37009 sdcard_sd: bit_1: "1"
+37009-37676 sdcard_sd: bit_1: "1"
+37676-38342 sdcard_sd: bit_0: "0"
+38342-39009 sdcard_sd: bit_1: "1"
+39009-39676 sdcard_sd: bit_1: "1"
+39676-40342 sdcard_sd: bit_1: "1"
+40342-41008 sdcard_sd: bit_1: "1"
+9011-9678 sdcard_sd: field-start: "Start bit" "Start" "S"
+9678-10344 sdcard_sd: field-transmission: "Transmission: host" "T: host" "T"
+10344-14344 sdcard_sd: field-cmd: "Command: SEND_STATUS (13)" "Cmd: SEND_STATUS (13)" "CMD13" "Cmd" "C"
+14344-35676 sdcard_sd: field-arg: "Argument: 0xb3680000" "Arg" "A"
+35676-40342 sdcard_sd: field-crc: "CRC: 0x77" "CRC" "C"
+40342-41008 sdcard_sd: field-end: "End bit" "End" "E"
+14344-25010 sdcard_sd: decoded-field: "RCA" "R"
+25010-35676 sdcard_sd: decoded-field: "Stuff bits" "Stuff" "SB" "S"
+9011-41008 sdcard_sd: cmd13: "CMD13 (SEND_STATUS): Send card status register" "CMD13 (SEND_STATUS)" "CMD13"
+48342-49008 sdcard_sd: bit_0: "0"
+49008-49675 sdcard_sd: bit_0: "0"
+49675-50342 sdcard_sd: bit_0: "0"
+50342-51008 sdcard_sd: bit_0: "0"
+51008-51675 sdcard_sd: bit_1: "1"
+51675-52341 sdcard_sd: bit_1: "1"
+52341-53008 sdcard_sd: bit_0: "0"
+53008-53675 sdcard_sd: bit_1: "1"
+53675-54341 sdcard_sd: bit_0: "0"
+54341-55008 sdcard_sd: bit_0: "0"
+55008-55675 sdcard_sd: bit_0: "0"
+55675-56341 sdcard_sd: bit_0: "0"
+56341-57008 sdcard_sd: bit_0: "0"
+57008-57674 sdcard_sd: bit_0: "0"
+57674-58341 sdcard_sd: bit_0: "0"
+58341-59008 sdcard_sd: bit_0: "0"
+59008-59674 sdcard_sd: bit_0: "0"
+59674-60341 sdcard_sd: bit_0: "0"
+60341-61008 sdcard_sd: bit_0: "0"
+61008-61674 sdcard_sd: bit_0: "0"
+61674-62341 sdcard_sd: bit_0: "0"
+62341-63007 sdcard_sd: bit_0: "0"
+63007-63674 sdcard_sd: bit_0: "0"
+63674-64341 sdcard_sd: bit_0: "0"
+64341-65007 sdcard_sd: bit_0: "0"
+65007-65674 sdcard_sd: bit_0: "0"
+65674-66340 sdcard_sd: bit_0: "0"
+66340-67007 sdcard_sd: bit_0: "0"
+67007-67674 sdcard_sd: bit_1: "1"
+67674-68340 sdcard_sd: bit_0: "0"
+68340-69007 sdcard_sd: bit_0: "0"
+69007-69674 sdcard_sd: bit_1: "1"
+69674-70340 sdcard_sd: bit_0: "0"
+70340-71007 sdcard_sd: bit_0: "0"
+71007-71673 sdcard_sd: bit_0: "0"
+71673-72340 sdcard_sd: bit_0: "0"
+72340-73007 sdcard_sd: bit_0: "0"
+73007-73673 sdcard_sd: bit_0: "0"
+73673-74340 sdcard_sd: bit_0: "0"
+74340-75007 sdcard_sd: bit_0: "0"
+75007-75673 sdcard_sd: bit_0: "0"
+75673-76340 sdcard_sd: bit_0: "0"
+76340-77006 sdcard_sd: bit_1: "1"
+77006-77673 sdcard_sd: bit_1: "1"
+77673-78340 sdcard_sd: bit_1: "1"
+78340-79006 sdcard_sd: bit_1: "1"
+79006-79673 sdcard_sd: bit_1: "1"
+79673-80340 sdcard_sd: bit_1: "1"
+48342-49008 sdcard_sd: field-start: "Start bit" "Start" "S"
+49008-49675 sdcard_sd: field-transmission: "Transmission: card" "T: card" "T"
+49675-53675 sdcard_sd: field-cmd: "Command: SEND_STATUS (13)" "Cmd: SEND_STATUS (13)" "CMD13" "Cmd" "C"
+53675-75007 sdcard_sd: field-arg: "Argument: 0x00000900" "Arg" "A"
+75007-79673 sdcard_sd: field-crc: "CRC: 0x1f" "CRC" "C"
+79673-80340 sdcard_sd: field-end: "End bit" "End" "E"
+48342-80340 sdcard_sd: response_r1: "Response: R1"
+53675-75007 sdcard_sd: decoded-field: "Card status" "Status" "S"
+53675-54341 sdcard_sd: reg_status_out_of_range: "OUT_OF_RANGE"
+54341-55008 sdcard_sd: reg_status_address_error: "ADDRESS_ERROR"
+55008-55675 sdcard_sd: reg_status_block_len_error: "BLOCK_LEN_ERROR"
+55675-56341 sdcard_sd: reg_status_erase_seq_error: "ERASE_SEQ_ERROR"
+56341-57008 sdcard_sd: reg_status_erase_param: "ERASE_PARAM"
+57008-57674 sdcard_sd: reg_status_wp_violation: "WP_VIOLATION"
+57674-58341 sdcard_sd: reg_status_card_is_locked: "CARD_IS_LOCKED"
+58341-59008 sdcard_sd: reg_status_lock_unlock_failed: "LOCK_UNLOCK_FAILED"
+59008-59674 sdcard_sd: reg_status_com_crc_error: "COM_CRC_ERROR"
+59674-60341 sdcard_sd: reg_status_illegal_command: "ILLEGAL_COMMAND"
+60341-61008 sdcard_sd: reg_status_card_ecc_failed: "CARD_ECC_FAILED"
+61008-61674 sdcard_sd: reg_status_cc_error: "CC_ERROR"
+61674-62341 sdcard_sd: reg_status_error: "ERROR"
+62341-63007 sdcard_sd: reg_status_rsvd: "Reserved" "RSVD" "R"
+63007-63674 sdcard_sd: reg_status_rsvd_deferred_response: "Reserved for DEFERRED_RESPONSE" "RSVD_DEFERRED_RESPONSE"
+63674-64341 sdcard_sd: reg_status_csd_overwrite: "CSD_OVERWRITE"
+64341-65007 sdcard_sd: reg_status_wp_erase_skip: "WP_ERASE_SKIP"
+65007-65674 sdcard_sd: reg_status_card_ecc_disabled: "CARD_ECC_DISABLED"
+65674-66340 sdcard_sd: reg_status_erase_reset: "ERASE_RESET"
+66340-69007 sdcard_sd: reg_status_current_state: "CURRENT_STATE"
+69007-69674 sdcard_sd: reg_status_ready_for_data: "READY_FOR_DATA"
+69674-70340 sdcard_sd: reg_status_rsvd: "RSVD"
+70340-71007 sdcard_sd: reg_status_fx_event: "FX_EVENT"
+71007-71673 sdcard_sd: reg_status_app_cmd: "APP_CMD"
+71673-72340 sdcard_sd: reg_status_rsvd_sdio: "Reserved for SDIO card" "RSVD_SDIO"
+72340-73007 sdcard_sd: reg_status_ake_seq_error: "AKE_SEQ_ERROR"
+73007-73673 sdcard_sd: reg_status_rsvd_app_cmd: "Reserved for application specific commands" "RSVD_APP_CMD"
+73673-75007 sdcard_sd: reg_status_rsvd_testmode: "Reserved for manufacturer test mode" "RSVD_TESTMODE"
diff --git a/decoder/test/sdcard_sd/unknown_card_cmd13_r1_2.output b/decoder/test/sdcard_sd/unknown_card_cmd13_r1_2.output
new file mode 100644 (file)
index 0000000..34d926f
--- /dev/null
@@ -0,0 +1,141 @@
+55-60 sdcard_sd: bit_0: "0"
+60-65 sdcard_sd: bit_1: "1"
+65-71 sdcard_sd: bit_0: "0"
+71-76 sdcard_sd: bit_0: "0"
+76-81 sdcard_sd: bit_1: "1"
+81-86 sdcard_sd: bit_1: "1"
+86-92 sdcard_sd: bit_0: "0"
+92-97 sdcard_sd: bit_1: "1"
+97-102 sdcard_sd: bit_1: "1"
+102-107 sdcard_sd: bit_0: "0"
+107-112 sdcard_sd: bit_1: "1"
+112-117 sdcard_sd: bit_1: "1"
+117-123 sdcard_sd: bit_0: "0"
+123-128 sdcard_sd: bit_0: "0"
+128-133 sdcard_sd: bit_1: "1"
+133-138 sdcard_sd: bit_1: "1"
+138-144 sdcard_sd: bit_0: "0"
+144-149 sdcard_sd: bit_1: "1"
+149-154 sdcard_sd: bit_1: "1"
+154-159 sdcard_sd: bit_0: "0"
+159-164 sdcard_sd: bit_1: "1"
+164-170 sdcard_sd: bit_0: "0"
+170-175 sdcard_sd: bit_0: "0"
+175-180 sdcard_sd: bit_0: "0"
+180-185 sdcard_sd: bit_0: "0"
+185-190 sdcard_sd: bit_0: "0"
+190-196 sdcard_sd: bit_0: "0"
+196-201 sdcard_sd: bit_0: "0"
+201-206 sdcard_sd: bit_0: "0"
+206-211 sdcard_sd: bit_0: "0"
+211-216 sdcard_sd: bit_0: "0"
+216-222 sdcard_sd: bit_0: "0"
+222-227 sdcard_sd: bit_0: "0"
+227-232 sdcard_sd: bit_0: "0"
+232-237 sdcard_sd: bit_0: "0"
+237-242 sdcard_sd: bit_0: "0"
+242-248 sdcard_sd: bit_0: "0"
+248-253 sdcard_sd: bit_0: "0"
+253-258 sdcard_sd: bit_0: "0"
+258-263 sdcard_sd: bit_0: "0"
+263-268 sdcard_sd: bit_1: "1"
+268-274 sdcard_sd: bit_1: "1"
+274-279 sdcard_sd: bit_1: "1"
+279-284 sdcard_sd: bit_0: "0"
+284-289 sdcard_sd: bit_1: "1"
+289-295 sdcard_sd: bit_1: "1"
+295-300 sdcard_sd: bit_1: "1"
+300-305 sdcard_sd: bit_1: "1"
+55-60 sdcard_sd: field-start: "Start bit" "Start" "S"
+60-65 sdcard_sd: field-transmission: "Transmission: host" "T: host" "T"
+65-97 sdcard_sd: field-cmd: "Command: SEND_STATUS (13)" "Cmd: SEND_STATUS (13)" "CMD13" "Cmd" "C"
+97-263 sdcard_sd: field-arg: "Argument: 0xb3680000" "Arg" "A"
+263-300 sdcard_sd: field-crc: "CRC: 0x77" "CRC" "C"
+300-305 sdcard_sd: field-end: "End bit" "End" "E"
+97-180 sdcard_sd: decoded-field: "RCA" "R"
+180-263 sdcard_sd: decoded-field: "Stuff bits" "Stuff" "SB" "S"
+55-305 sdcard_sd: cmd13: "CMD13 (SEND_STATUS): Send card status register" "CMD13 (SEND_STATUS)" "CMD13"
+362-367 sdcard_sd: bit_0: "0"
+367-373 sdcard_sd: bit_0: "0"
+373-378 sdcard_sd: bit_0: "0"
+378-383 sdcard_sd: bit_0: "0"
+383-388 sdcard_sd: bit_1: "1"
+388-393 sdcard_sd: bit_1: "1"
+393-399 sdcard_sd: bit_0: "0"
+399-404 sdcard_sd: bit_1: "1"
+404-409 sdcard_sd: bit_0: "0"
+409-414 sdcard_sd: bit_0: "0"
+414-420 sdcard_sd: bit_0: "0"
+420-425 sdcard_sd: bit_0: "0"
+425-430 sdcard_sd: bit_0: "0"
+430-435 sdcard_sd: bit_0: "0"
+435-440 sdcard_sd: bit_0: "0"
+440-446 sdcard_sd: bit_0: "0"
+446-451 sdcard_sd: bit_0: "0"
+451-456 sdcard_sd: bit_0: "0"
+456-461 sdcard_sd: bit_0: "0"
+461-466 sdcard_sd: bit_0: "0"
+466-472 sdcard_sd: bit_0: "0"
+472-477 sdcard_sd: bit_0: "0"
+477-482 sdcard_sd: bit_0: "0"
+482-487 sdcard_sd: bit_0: "0"
+487-492 sdcard_sd: bit_0: "0"
+492-498 sdcard_sd: bit_0: "0"
+498-503 sdcard_sd: bit_0: "0"
+503-508 sdcard_sd: bit_0: "0"
+508-513 sdcard_sd: bit_1: "1"
+513-518 sdcard_sd: bit_0: "0"
+518-524 sdcard_sd: bit_1: "1"
+524-529 sdcard_sd: bit_1: "1"
+529-534 sdcard_sd: bit_0: "0"
+534-539 sdcard_sd: bit_0: "0"
+539-545 sdcard_sd: bit_0: "0"
+545-550 sdcard_sd: bit_0: "0"
+550-555 sdcard_sd: bit_0: "0"
+555-560 sdcard_sd: bit_0: "0"
+560-565 sdcard_sd: bit_0: "0"
+565-571 sdcard_sd: bit_0: "0"
+571-576 sdcard_sd: bit_0: "0"
+576-581 sdcard_sd: bit_0: "0"
+581-586 sdcard_sd: bit_0: "0"
+586-591 sdcard_sd: bit_1: "1"
+591-597 sdcard_sd: bit_0: "0"
+597-602 sdcard_sd: bit_0: "0"
+602-607 sdcard_sd: bit_1: "1"
+607-612 sdcard_sd: bit_1: "1"
+362-367 sdcard_sd: field-start: "Start bit" "Start" "S"
+367-373 sdcard_sd: field-transmission: "Transmission: card" "T: card" "T"
+373-404 sdcard_sd: field-cmd: "Command: SEND_STATUS (13)" "Cmd: SEND_STATUS (13)" "CMD13" "Cmd" "C"
+404-571 sdcard_sd: field-arg: "Argument: 0x00000b00" "Arg" "A"
+571-607 sdcard_sd: field-crc: "CRC: 0x9" "CRC" "C"
+607-612 sdcard_sd: field-end: "End bit" "End" "E"
+362-612 sdcard_sd: response_r1: "Response: R1"
+404-571 sdcard_sd: decoded-field: "Card status" "Status" "S"
+404-409 sdcard_sd: reg_status_out_of_range: "OUT_OF_RANGE"
+409-414 sdcard_sd: reg_status_address_error: "ADDRESS_ERROR"
+414-420 sdcard_sd: reg_status_block_len_error: "BLOCK_LEN_ERROR"
+420-425 sdcard_sd: reg_status_erase_seq_error: "ERASE_SEQ_ERROR"
+425-430 sdcard_sd: reg_status_erase_param: "ERASE_PARAM"
+430-435 sdcard_sd: reg_status_wp_violation: "WP_VIOLATION"
+435-440 sdcard_sd: reg_status_card_is_locked: "CARD_IS_LOCKED"
+440-446 sdcard_sd: reg_status_lock_unlock_failed: "LOCK_UNLOCK_FAILED"
+446-451 sdcard_sd: reg_status_com_crc_error: "COM_CRC_ERROR"
+451-456 sdcard_sd: reg_status_illegal_command: "ILLEGAL_COMMAND"
+456-461 sdcard_sd: reg_status_card_ecc_failed: "CARD_ECC_FAILED"
+461-466 sdcard_sd: reg_status_cc_error: "CC_ERROR"
+466-472 sdcard_sd: reg_status_error: "ERROR"
+472-477 sdcard_sd: reg_status_rsvd: "Reserved" "RSVD" "R"
+477-482 sdcard_sd: reg_status_rsvd_deferred_response: "Reserved for DEFERRED_RESPONSE" "RSVD_DEFERRED_RESPONSE"
+482-487 sdcard_sd: reg_status_csd_overwrite: "CSD_OVERWRITE"
+487-492 sdcard_sd: reg_status_wp_erase_skip: "WP_ERASE_SKIP"
+492-498 sdcard_sd: reg_status_card_ecc_disabled: "CARD_ECC_DISABLED"
+498-503 sdcard_sd: reg_status_erase_reset: "ERASE_RESET"
+503-524 sdcard_sd: reg_status_current_state: "CURRENT_STATE"
+524-529 sdcard_sd: reg_status_ready_for_data: "READY_FOR_DATA"
+529-534 sdcard_sd: reg_status_rsvd: "RSVD"
+534-539 sdcard_sd: reg_status_fx_event: "FX_EVENT"
+539-545 sdcard_sd: reg_status_app_cmd: "APP_CMD"
+545-550 sdcard_sd: reg_status_rsvd_sdio: "Reserved for SDIO card" "RSVD_SDIO"
+550-555 sdcard_sd: reg_status_ake_seq_error: "AKE_SEQ_ERROR"
+555-560 sdcard_sd: reg_status_rsvd_app_cmd: "Reserved for application specific commands" "RSVD_APP_CMD"
+560-571 sdcard_sd: reg_status_rsvd_testmode: "Reserved for manufacturer test mode" "RSVD_TESTMODE"
diff --git a/decoder/test/sdcard_sd/unknown_card_cmd2_r2.output b/decoder/test/sdcard_sd/unknown_card_cmd2_r2.output
new file mode 100644 (file)
index 0000000..4b69037
--- /dev/null
@@ -0,0 +1,208 @@
+9340-10006 sdcard_sd: bit_0: "0"
+10006-10673 sdcard_sd: bit_1: "1"
+10673-11340 sdcard_sd: bit_0: "0"
+11340-12006 sdcard_sd: bit_0: "0"
+12006-12673 sdcard_sd: bit_0: "0"
+12673-13340 sdcard_sd: bit_0: "0"
+13340-14006 sdcard_sd: bit_1: "1"
+14006-14673 sdcard_sd: bit_0: "0"
+14673-15339 sdcard_sd: bit_0: "0"
+15339-16006 sdcard_sd: bit_0: "0"
+16006-16673 sdcard_sd: bit_0: "0"
+16673-17339 sdcard_sd: bit_0: "0"
+17339-18006 sdcard_sd: bit_0: "0"
+18006-18673 sdcard_sd: bit_0: "0"
+18673-19339 sdcard_sd: bit_0: "0"
+19339-20006 sdcard_sd: bit_0: "0"
+20006-20672 sdcard_sd: bit_0: "0"
+20672-21339 sdcard_sd: bit_0: "0"
+21339-22006 sdcard_sd: bit_0: "0"
+22006-22672 sdcard_sd: bit_0: "0"
+22672-23339 sdcard_sd: bit_0: "0"
+23339-24005 sdcard_sd: bit_0: "0"
+24005-24672 sdcard_sd: bit_0: "0"
+24672-25339 sdcard_sd: bit_0: "0"
+25339-26005 sdcard_sd: bit_0: "0"
+26005-26672 sdcard_sd: bit_0: "0"
+26672-27339 sdcard_sd: bit_0: "0"
+27339-28005 sdcard_sd: bit_0: "0"
+28005-28672 sdcard_sd: bit_0: "0"
+28672-29338 sdcard_sd: bit_0: "0"
+29338-30005 sdcard_sd: bit_0: "0"
+30005-30672 sdcard_sd: bit_0: "0"
+30672-31338 sdcard_sd: bit_0: "0"
+31338-32005 sdcard_sd: bit_0: "0"
+32005-32672 sdcard_sd: bit_0: "0"
+32672-33338 sdcard_sd: bit_0: "0"
+33338-34005 sdcard_sd: bit_0: "0"
+34005-34671 sdcard_sd: bit_0: "0"
+34671-35338 sdcard_sd: bit_0: "0"
+35338-36005 sdcard_sd: bit_0: "0"
+36005-36671 sdcard_sd: bit_0: "0"
+36671-37338 sdcard_sd: bit_1: "1"
+37338-38004 sdcard_sd: bit_0: "0"
+38004-38671 sdcard_sd: bit_0: "0"
+38671-39338 sdcard_sd: bit_1: "1"
+39338-40004 sdcard_sd: bit_1: "1"
+40004-40671 sdcard_sd: bit_0: "0"
+40671-41338 sdcard_sd: bit_1: "1"
+9340-10006 sdcard_sd: field-start: "Start bit" "Start" "S"
+10006-10673 sdcard_sd: field-transmission: "Transmission: host" "T: host" "T"
+10673-14673 sdcard_sd: field-cmd: "Command: ALL_SEND_CID (2)" "Cmd: ALL_SEND_CID (2)" "CMD2" "Cmd" "C"
+14673-36005 sdcard_sd: field-arg: "Argument: 0x00000000" "Arg" "A"
+36005-40671 sdcard_sd: field-crc: "CRC: 0x26" "CRC" "C"
+40671-41338 sdcard_sd: field-end: "End bit" "End" "E"
+14673-36005 sdcard_sd: decoded-field: "Stuff bits" "Stuff" "SB" "S"
+9340-41338 sdcard_sd: cmd2: "CMD2 (ALL_SEND_CID): Ask card for CID number" "CMD2 (ALL_SEND_CID)" "CMD2"
+44671-45337 sdcard_sd: bit_0: "0"
+45337-46004 sdcard_sd: bit_0: "0"
+46004-46671 sdcard_sd: bit_1: "1"
+46671-47337 sdcard_sd: bit_1: "1"
+47337-48004 sdcard_sd: bit_1: "1"
+48004-48670 sdcard_sd: bit_1: "1"
+48670-49337 sdcard_sd: bit_1: "1"
+49337-50004 sdcard_sd: bit_1: "1"
+50004-50670 sdcard_sd: bit_0: "0"
+50670-51337 sdcard_sd: bit_0: "0"
+51337-52003 sdcard_sd: bit_0: "0"
+52003-52670 sdcard_sd: bit_0: "0"
+52670-53337 sdcard_sd: bit_1: "1"
+53337-54003 sdcard_sd: bit_0: "0"
+54003-54670 sdcard_sd: bit_0: "0"
+54670-55337 sdcard_sd: bit_1: "1"
+55337-56003 sdcard_sd: bit_0: "0"
+56003-56670 sdcard_sd: bit_1: "1"
+56670-57336 sdcard_sd: bit_0: "0"
+57336-58003 sdcard_sd: bit_0: "0"
+58003-58670 sdcard_sd: bit_0: "0"
+58670-59336 sdcard_sd: bit_0: "0"
+59336-60003 sdcard_sd: bit_0: "0"
+60003-60670 sdcard_sd: bit_1: "1"
+60670-61336 sdcard_sd: bit_0: "0"
+61336-62003 sdcard_sd: bit_1: "1"
+62003-62669 sdcard_sd: bit_0: "0"
+62669-63336 sdcard_sd: bit_1: "1"
+63336-64003 sdcard_sd: bit_0: "0"
+64003-64669 sdcard_sd: bit_0: "0"
+64669-65336 sdcard_sd: bit_0: "0"
+65336-66002 sdcard_sd: bit_0: "0"
+66002-66669 sdcard_sd: bit_0: "0"
+66669-67336 sdcard_sd: bit_1: "1"
+67336-68002 sdcard_sd: bit_0: "0"
+68002-68669 sdcard_sd: bit_0: "0"
+68669-69336 sdcard_sd: bit_0: "0"
+69336-70002 sdcard_sd: bit_0: "0"
+70002-70669 sdcard_sd: bit_0: "0"
+70669-71335 sdcard_sd: bit_1: "1"
+71335-72002 sdcard_sd: bit_0: "0"
+72002-72669 sdcard_sd: bit_1: "1"
+72669-73335 sdcard_sd: bit_0: "0"
+73335-74002 sdcard_sd: bit_0: "0"
+74002-74669 sdcard_sd: bit_0: "0"
+74669-75335 sdcard_sd: bit_1: "1"
+75335-76002 sdcard_sd: bit_1: "1"
+76002-76668 sdcard_sd: bit_0: "0"
+76668-77335 sdcard_sd: bit_0: "0"
+77335-78002 sdcard_sd: bit_1: "1"
+78002-78668 sdcard_sd: bit_0: "0"
+78668-79335 sdcard_sd: bit_1: "1"
+79335-80002 sdcard_sd: bit_0: "0"
+80002-80668 sdcard_sd: bit_0: "0"
+80668-81335 sdcard_sd: bit_1: "1"
+81335-82001 sdcard_sd: bit_1: "1"
+82001-82668 sdcard_sd: bit_0: "0"
+82668-83335 sdcard_sd: bit_1: "1"
+83335-84001 sdcard_sd: bit_0: "0"
+84001-84668 sdcard_sd: bit_0: "0"
+84668-85334 sdcard_sd: bit_0: "0"
+85334-86001 sdcard_sd: bit_1: "1"
+86001-86668 sdcard_sd: bit_0: "0"
+86668-87334 sdcard_sd: bit_0: "0"
+87334-88001 sdcard_sd: bit_0: "0"
+88001-88668 sdcard_sd: bit_1: "1"
+88668-89334 sdcard_sd: bit_0: "0"
+89334-90001 sdcard_sd: bit_0: "0"
+90001-90667 sdcard_sd: bit_1: "1"
+90667-91334 sdcard_sd: bit_0: "0"
+91334-92001 sdcard_sd: bit_0: "0"
+92001-92667 sdcard_sd: bit_1: "1"
+92667-93334 sdcard_sd: bit_0: "0"
+93334-94000 sdcard_sd: bit_0: "0"
+94000-94667 sdcard_sd: bit_0: "0"
+94667-95334 sdcard_sd: bit_1: "1"
+95334-96000 sdcard_sd: bit_0: "0"
+96000-96667 sdcard_sd: bit_0: "0"
+96667-97334 sdcard_sd: bit_0: "0"
+97334-98000 sdcard_sd: bit_0: "0"
+98000-98667 sdcard_sd: bit_0: "0"
+98667-99333 sdcard_sd: bit_0: "0"
+99333-100000 sdcard_sd: bit_1: "1"
+100000-100667 sdcard_sd: bit_0: "0"
+100667-101333 sdcard_sd: bit_0: "0"
+101333-102000 sdcard_sd: bit_1: "1"
+102000-102667 sdcard_sd: bit_1: "1"
+102667-103333 sdcard_sd: bit_0: "0"
+103333-104000 sdcard_sd: bit_0: "0"
+104000-104666 sdcard_sd: bit_1: "1"
+104666-105333 sdcard_sd: bit_1: "1"
+105333-106000 sdcard_sd: bit_1: "1"
+106000-106666 sdcard_sd: bit_1: "1"
+106666-107333 sdcard_sd: bit_0: "0"
+107333-107999 sdcard_sd: bit_0: "0"
+107999-108666 sdcard_sd: bit_0: "0"
+108666-109333 sdcard_sd: bit_0: "0"
+109333-109999 sdcard_sd: bit_0: "0"
+109999-110666 sdcard_sd: bit_0: "0"
+110666-111333 sdcard_sd: bit_0: "0"
+111333-111999 sdcard_sd: bit_0: "0"
+111999-112666 sdcard_sd: bit_1: "1"
+112666-113332 sdcard_sd: bit_1: "1"
+113332-113999 sdcard_sd: bit_0: "0"
+113999-114666 sdcard_sd: bit_0: "0"
+114666-115332 sdcard_sd: bit_1: "1"
+115332-115999 sdcard_sd: bit_1: "1"
+115999-116666 sdcard_sd: bit_1: "1"
+116666-117332 sdcard_sd: bit_1: "1"
+117332-117999 sdcard_sd: bit_0: "0"
+117999-118665 sdcard_sd: bit_1: "1"
+118665-119332 sdcard_sd: bit_1: "1"
+119332-119999 sdcard_sd: bit_0: "0"
+119999-120665 sdcard_sd: bit_0: "0"
+120665-121332 sdcard_sd: bit_0: "0"
+121332-121998 sdcard_sd: bit_0: "0"
+121998-122665 sdcard_sd: bit_0: "0"
+122665-123332 sdcard_sd: bit_0: "0"
+123332-123998 sdcard_sd: bit_0: "0"
+123998-124665 sdcard_sd: bit_0: "0"
+124665-125332 sdcard_sd: bit_1: "1"
+125332-125998 sdcard_sd: bit_0: "0"
+125998-126665 sdcard_sd: bit_0: "0"
+126665-127331 sdcard_sd: bit_0: "0"
+127331-127998 sdcard_sd: bit_0: "0"
+127998-128665 sdcard_sd: bit_1: "1"
+128665-129331 sdcard_sd: bit_1: "1"
+129331-129998 sdcard_sd: bit_1: "1"
+129998-130665 sdcard_sd: bit_0: "0"
+130665-131331 sdcard_sd: bit_1: "1"
+131331-131998 sdcard_sd: bit_1: "1"
+131998-132664 sdcard_sd: bit_1: "1"
+132664-133331 sdcard_sd: bit_0: "0"
+133331-133998 sdcard_sd: bit_1: "1"
+133998-134664 sdcard_sd: bit_0: "0"
+134664-135330 sdcard_sd: bit_1: "1"
+44671-45337 sdcard_sd: field-start: "Start bit" "Start" "S"
+45337-46004 sdcard_sd: field-transmission: "Transmission: card" "T: card" "T"
+46004-50004 sdcard_sd: field-cmd: "Reserved" "Res" "R"
+50004-134664 sdcard_sd: field-arg: "Argument" "Arg" "A"
+134664-135330 sdcard_sd: field-end: "End bit" "End" "E"
+50004-134664 sdcard_sd: decoded-field: "CID/CSD register" "CID/CSD" "C"
+44671-135330 sdcard_sd: response_r2: "Response: R2"
+50004-55337 sdcard_sd: reg_cid_mid: "Manufacturer ID" "MID"
+55337-66002 sdcard_sd: reg_cid_oid: "OEM/application ID" "OID"
+66002-92667 sdcard_sd: reg_cid_pnm: "Product name" "PNM"
+92667-98000 sdcard_sd: reg_cid_prv: "Product revision" "PRV"
+98000-119332 sdcard_sd: reg_cid_psn: "Product serial number" "PSN"
+119332-121998 sdcard_sd: reg_cid_rsvd: "Reserved" "RSVD" "R"
+121998-129998 sdcard_sd: reg_cid_mdt: "Manufacturing date" "MDT"
+129998-134664 sdcard_sd: reg_cid_crc: "CRC7 checksum" "CRC"
+134664-135330 sdcard_sd: reg_cid_one: "Always 1" "1"
diff --git a/decoder/test/sdcard_sd/unknown_card_cmd3_r6.output b/decoder/test/sdcard_sd/unknown_card_cmd3_r6.output
new file mode 100644 (file)
index 0000000..2b21088
--- /dev/null
@@ -0,0 +1,113 @@
+21919-22586 sdcard_sd: bit_0: "0"
+22586-23253 sdcard_sd: bit_1: "1"
+23253-23919 sdcard_sd: bit_0: "0"
+23919-24586 sdcard_sd: bit_0: "0"
+24586-25252 sdcard_sd: bit_0: "0"
+25252-25919 sdcard_sd: bit_0: "0"
+25919-26586 sdcard_sd: bit_1: "1"
+26586-27252 sdcard_sd: bit_1: "1"
+27252-27919 sdcard_sd: bit_0: "0"
+27919-28586 sdcard_sd: bit_0: "0"
+28586-29252 sdcard_sd: bit_0: "0"
+29252-29919 sdcard_sd: bit_0: "0"
+29919-30585 sdcard_sd: bit_0: "0"
+30585-31252 sdcard_sd: bit_0: "0"
+31252-31919 sdcard_sd: bit_0: "0"
+31919-32585 sdcard_sd: bit_0: "0"
+32585-33252 sdcard_sd: bit_0: "0"
+33252-33919 sdcard_sd: bit_0: "0"
+33919-34585 sdcard_sd: bit_0: "0"
+34585-35252 sdcard_sd: bit_0: "0"
+35252-35918 sdcard_sd: bit_0: "0"
+35918-36585 sdcard_sd: bit_0: "0"
+36585-37252 sdcard_sd: bit_0: "0"
+37252-37918 sdcard_sd: bit_0: "0"
+37918-38585 sdcard_sd: bit_0: "0"
+38585-39251 sdcard_sd: bit_0: "0"
+39251-39918 sdcard_sd: bit_0: "0"
+39918-40585 sdcard_sd: bit_0: "0"
+40585-41251 sdcard_sd: bit_0: "0"
+41251-41918 sdcard_sd: bit_0: "0"
+41918-42585 sdcard_sd: bit_0: "0"
+42585-43251 sdcard_sd: bit_0: "0"
+43251-43918 sdcard_sd: bit_0: "0"
+43918-44584 sdcard_sd: bit_0: "0"
+44584-45251 sdcard_sd: bit_0: "0"
+45251-45918 sdcard_sd: bit_0: "0"
+45918-46584 sdcard_sd: bit_0: "0"
+46584-47251 sdcard_sd: bit_0: "0"
+47251-47918 sdcard_sd: bit_0: "0"
+47918-48584 sdcard_sd: bit_0: "0"
+48584-49251 sdcard_sd: bit_0: "0"
+49251-49917 sdcard_sd: bit_0: "0"
+49917-50584 sdcard_sd: bit_1: "1"
+50584-51251 sdcard_sd: bit_0: "0"
+51251-51917 sdcard_sd: bit_0: "0"
+51917-52584 sdcard_sd: bit_0: "0"
+52584-53250 sdcard_sd: bit_0: "0"
+53250-53916 sdcard_sd: bit_1: "1"
+21919-22586 sdcard_sd: field-start: "Start bit" "Start" "S"
+22586-23253 sdcard_sd: field-transmission: "Transmission: host" "T: host" "T"
+23253-27252 sdcard_sd: field-cmd: "Command: SEND_RELATIVE_ADDR (3)" "Cmd: SEND_RELATIVE_ADDR (3)" "CMD3" "Cmd" "C"
+27252-48584 sdcard_sd: field-arg: "Argument: 0x00000000" "Arg" "A"
+48584-53250 sdcard_sd: field-crc: "CRC: 0x10" "CRC" "C"
+53250-53916 sdcard_sd: field-end: "End bit" "End" "E"
+27252-48584 sdcard_sd: decoded-field: "Stuff bits" "Stuff" "SB" "S"
+21919-53916 sdcard_sd: cmd3: "CMD3 (SEND_RELATIVE_ADDR): Ask card for new relative card address (RCA)" "CMD3 (SEND_RELATIVE_ADDR)" "CMD3"
+61250-61917 sdcard_sd: bit_0: "0"
+61917-62583 sdcard_sd: bit_0: "0"
+62583-63250 sdcard_sd: bit_0: "0"
+63250-63916 sdcard_sd: bit_0: "0"
+63916-64583 sdcard_sd: bit_0: "0"
+64583-65250 sdcard_sd: bit_0: "0"
+65250-65916 sdcard_sd: bit_1: "1"
+65916-66583 sdcard_sd: bit_1: "1"
+66583-67249 sdcard_sd: bit_1: "1"
+67249-67916 sdcard_sd: bit_0: "0"
+67916-68583 sdcard_sd: bit_1: "1"
+68583-69249 sdcard_sd: bit_1: "1"
+69249-69916 sdcard_sd: bit_0: "0"
+69916-70583 sdcard_sd: bit_0: "0"
+70583-71249 sdcard_sd: bit_1: "1"
+71249-71916 sdcard_sd: bit_1: "1"
+71916-72582 sdcard_sd: bit_0: "0"
+72582-73249 sdcard_sd: bit_1: "1"
+73249-73916 sdcard_sd: bit_1: "1"
+73916-74582 sdcard_sd: bit_0: "0"
+74582-75249 sdcard_sd: bit_1: "1"
+75249-75916 sdcard_sd: bit_0: "0"
+75916-76582 sdcard_sd: bit_0: "0"
+76582-77249 sdcard_sd: bit_0: "0"
+77249-77915 sdcard_sd: bit_0: "0"
+77915-78582 sdcard_sd: bit_0: "0"
+78582-79249 sdcard_sd: bit_0: "0"
+79249-79915 sdcard_sd: bit_0: "0"
+79915-80582 sdcard_sd: bit_0: "0"
+80582-81249 sdcard_sd: bit_1: "1"
+81249-81915 sdcard_sd: bit_0: "0"
+81915-82582 sdcard_sd: bit_1: "1"
+82582-83248 sdcard_sd: bit_0: "0"
+83248-83915 sdcard_sd: bit_0: "0"
+83915-84582 sdcard_sd: bit_0: "0"
+84582-85248 sdcard_sd: bit_0: "0"
+85248-85915 sdcard_sd: bit_0: "0"
+85915-86581 sdcard_sd: bit_0: "0"
+86581-87248 sdcard_sd: bit_0: "0"
+87248-87915 sdcard_sd: bit_0: "0"
+87915-88581 sdcard_sd: bit_0: "0"
+88581-89248 sdcard_sd: bit_0: "0"
+89248-89915 sdcard_sd: bit_0: "0"
+89915-90581 sdcard_sd: bit_1: "1"
+90581-91248 sdcard_sd: bit_1: "1"
+91248-91914 sdcard_sd: bit_0: "0"
+91914-92581 sdcard_sd: bit_0: "0"
+92581-93248 sdcard_sd: bit_1: "1"
+61250-61917 sdcard_sd: field-start: "Start bit" "Start" "S"
+61917-62583 sdcard_sd: field-transmission: "Transmission: card" "T: card" "T"
+62583-66583 sdcard_sd: field-cmd: "Command: SEND_RELATIVE_ADDR (3)" "Cmd: SEND_RELATIVE_ADDR (3)" "CMD3" "Cmd" "C"
+66583-87915 sdcard_sd: field-arg: "Argument: 0xb3680500" "Arg" "A"
+87915-92581 sdcard_sd: field-crc: "CRC: 0xc" "CRC" "C"
+92581-93248 sdcard_sd: field-end: "End bit" "End" "E"
+77249-87915 sdcard_sd: decoded-field: "Card status bits" "Status" "S"
+66583-77249 sdcard_sd: decoded-field: "Relative card address" "RCA" "R"
+61250-93248 sdcard_sd: response_r6: "Response: R6"
diff --git a/decoder/test/sdcard_sd/unknown_card_cmd55_r1_acmd41_r3.output b/decoder/test/sdcard_sd/unknown_card_cmd55_r1_acmd41_r3.output
new file mode 100644 (file)
index 0000000..02f7d1c
--- /dev/null
@@ -0,0 +1,259 @@
+4976-5642 sdcard_sd: bit_0: "0"
+5642-6309 sdcard_sd: bit_1: "1"
+6309-6976 sdcard_sd: bit_1: "1"
+6976-7642 sdcard_sd: bit_1: "1"
+7642-8309 sdcard_sd: bit_0: "0"
+8309-8976 sdcard_sd: bit_1: "1"
+8976-9642 sdcard_sd: bit_1: "1"
+9642-10309 sdcard_sd: bit_1: "1"
+10309-10975 sdcard_sd: bit_0: "0"
+10975-11642 sdcard_sd: bit_0: "0"
+11642-12309 sdcard_sd: bit_0: "0"
+12309-12975 sdcard_sd: bit_0: "0"
+12975-13642 sdcard_sd: bit_0: "0"
+13642-14309 sdcard_sd: bit_0: "0"
+14309-14975 sdcard_sd: bit_0: "0"
+14975-15642 sdcard_sd: bit_0: "0"
+15642-16308 sdcard_sd: bit_0: "0"
+16308-16975 sdcard_sd: bit_0: "0"
+16975-17642 sdcard_sd: bit_0: "0"
+17642-18308 sdcard_sd: bit_0: "0"
+18308-18975 sdcard_sd: bit_0: "0"
+18975-19641 sdcard_sd: bit_0: "0"
+19641-20308 sdcard_sd: bit_0: "0"
+20308-20975 sdcard_sd: bit_0: "0"
+20975-21641 sdcard_sd: bit_0: "0"
+21641-22308 sdcard_sd: bit_0: "0"
+22308-22975 sdcard_sd: bit_0: "0"
+22975-23641 sdcard_sd: bit_0: "0"
+23641-24308 sdcard_sd: bit_0: "0"
+24308-24974 sdcard_sd: bit_0: "0"
+24974-25641 sdcard_sd: bit_0: "0"
+25641-26308 sdcard_sd: bit_0: "0"
+26308-26974 sdcard_sd: bit_0: "0"
+26974-27641 sdcard_sd: bit_0: "0"
+27641-28308 sdcard_sd: bit_0: "0"
+28308-28974 sdcard_sd: bit_0: "0"
+28974-29641 sdcard_sd: bit_0: "0"
+29641-30307 sdcard_sd: bit_0: "0"
+30307-30974 sdcard_sd: bit_0: "0"
+30974-31641 sdcard_sd: bit_0: "0"
+31641-32307 sdcard_sd: bit_0: "0"
+32307-32974 sdcard_sd: bit_1: "1"
+32974-33640 sdcard_sd: bit_1: "1"
+33640-34307 sdcard_sd: bit_0: "0"
+34307-34974 sdcard_sd: bit_0: "0"
+34974-35640 sdcard_sd: bit_1: "1"
+35640-36307 sdcard_sd: bit_0: "0"
+36307-36974 sdcard_sd: bit_1: "1"
+4976-5642 sdcard_sd: field-start: "Start bit" "Start" "S"
+5642-6309 sdcard_sd: field-transmission: "Transmission: host" "T: host" "T"
+6309-10309 sdcard_sd: field-cmd: "Command: APP_CMD (55)" "Cmd: APP_CMD (55)" "CMD55" "Cmd" "C"
+10309-31641 sdcard_sd: field-arg: "Argument: 0x00000000" "Arg" "A"
+31641-36307 sdcard_sd: field-crc: "CRC: 0x32" "CRC" "C"
+36307-36974 sdcard_sd: field-end: "End bit" "End" "E"
+10309-20975 sdcard_sd: decoded-field: "RCA" "R"
+20975-31641 sdcard_sd: decoded-field: "Stuff bits" "Stuff" "SB" "S"
+4976-36974 sdcard_sd: cmd55: "CMD55 (APP_CMD): Next command is an application-specific command" "CMD55 (APP_CMD)" "CMD55"
+40307-40973 sdcard_sd: bit_0: "0"
+40973-41640 sdcard_sd: bit_0: "0"
+41640-42307 sdcard_sd: bit_1: "1"
+42307-42973 sdcard_sd: bit_1: "1"
+42973-43640 sdcard_sd: bit_0: "0"
+43640-44306 sdcard_sd: bit_1: "1"
+44306-44973 sdcard_sd: bit_1: "1"
+44973-45640 sdcard_sd: bit_1: "1"
+45640-46306 sdcard_sd: bit_0: "0"
+46306-46973 sdcard_sd: bit_0: "0"
+46973-47639 sdcard_sd: bit_0: "0"
+47639-48306 sdcard_sd: bit_0: "0"
+48306-48973 sdcard_sd: bit_0: "0"
+48973-49639 sdcard_sd: bit_0: "0"
+49639-50306 sdcard_sd: bit_0: "0"
+50306-50973 sdcard_sd: bit_0: "0"
+50973-51639 sdcard_sd: bit_0: "0"
+51639-52306 sdcard_sd: bit_0: "0"
+52306-52972 sdcard_sd: bit_0: "0"
+52972-53639 sdcard_sd: bit_0: "0"
+53639-54306 sdcard_sd: bit_0: "0"
+54306-54972 sdcard_sd: bit_0: "0"
+54972-55639 sdcard_sd: bit_0: "0"
+55639-56306 sdcard_sd: bit_0: "0"
+56306-56972 sdcard_sd: bit_0: "0"
+56972-57639 sdcard_sd: bit_0: "0"
+57639-58305 sdcard_sd: bit_0: "0"
+58305-58972 sdcard_sd: bit_0: "0"
+58972-59639 sdcard_sd: bit_0: "0"
+59639-60305 sdcard_sd: bit_0: "0"
+60305-60972 sdcard_sd: bit_0: "0"
+60972-61638 sdcard_sd: bit_1: "1"
+61638-62305 sdcard_sd: bit_0: "0"
+62305-62972 sdcard_sd: bit_0: "0"
+62972-63638 sdcard_sd: bit_1: "1"
+63638-64305 sdcard_sd: bit_0: "0"
+64305-64972 sdcard_sd: bit_0: "0"
+64972-65638 sdcard_sd: bit_0: "0"
+65638-66305 sdcard_sd: bit_0: "0"
+66305-66971 sdcard_sd: bit_0: "0"
+66971-67638 sdcard_sd: bit_1: "1"
+67638-68305 sdcard_sd: bit_0: "0"
+68305-68971 sdcard_sd: bit_0: "0"
+68971-69638 sdcard_sd: bit_0: "0"
+69638-70305 sdcard_sd: bit_0: "0"
+70305-70971 sdcard_sd: bit_0: "0"
+70971-71638 sdcard_sd: bit_1: "1"
+71638-72305 sdcard_sd: bit_1: "1"
+40307-40973 sdcard_sd: field-start: "Start bit" "Start" "S"
+40973-41640 sdcard_sd: field-transmission: "Transmission: card" "T: card" "T"
+41640-45640 sdcard_sd: field-cmd: "Command: Non-existant (55)" "Cmd: Non-existant (55)" "CMD55" "Cmd" "C"
+45640-66971 sdcard_sd: field-arg: "Argument: 0x00000120" "Arg" "A"
+66971-71638 sdcard_sd: field-crc: "CRC: 0x41" "CRC" "C"
+71638-72305 sdcard_sd: field-end: "End bit" "End" "E"
+40307-72305 sdcard_sd: response_r1: "Response: R1"
+45640-66971 sdcard_sd: decoded-field: "Card status" "Status" "S"
+45640-46306 sdcard_sd: reg_status_out_of_range: "OUT_OF_RANGE"
+46306-46973 sdcard_sd: reg_status_address_error: "ADDRESS_ERROR"
+46973-47639 sdcard_sd: reg_status_block_len_error: "BLOCK_LEN_ERROR"
+47639-48306 sdcard_sd: reg_status_erase_seq_error: "ERASE_SEQ_ERROR"
+48306-48973 sdcard_sd: reg_status_erase_param: "ERASE_PARAM"
+48973-49639 sdcard_sd: reg_status_wp_violation: "WP_VIOLATION"
+49639-50306 sdcard_sd: reg_status_card_is_locked: "CARD_IS_LOCKED"
+50306-50973 sdcard_sd: reg_status_lock_unlock_failed: "LOCK_UNLOCK_FAILED"
+50973-51639 sdcard_sd: reg_status_com_crc_error: "COM_CRC_ERROR"
+51639-52306 sdcard_sd: reg_status_illegal_command: "ILLEGAL_COMMAND"
+52306-52972 sdcard_sd: reg_status_card_ecc_failed: "CARD_ECC_FAILED"
+52972-53639 sdcard_sd: reg_status_cc_error: "CC_ERROR"
+53639-54306 sdcard_sd: reg_status_error: "ERROR"
+54306-54972 sdcard_sd: reg_status_rsvd: "Reserved" "RSVD" "R"
+54972-55639 sdcard_sd: reg_status_rsvd_deferred_response: "Reserved for DEFERRED_RESPONSE" "RSVD_DEFERRED_RESPONSE"
+55639-56306 sdcard_sd: reg_status_csd_overwrite: "CSD_OVERWRITE"
+56306-56972 sdcard_sd: reg_status_wp_erase_skip: "WP_ERASE_SKIP"
+56972-57639 sdcard_sd: reg_status_card_ecc_disabled: "CARD_ECC_DISABLED"
+57639-58305 sdcard_sd: reg_status_erase_reset: "ERASE_RESET"
+58305-60972 sdcard_sd: reg_status_current_state: "CURRENT_STATE"
+60972-61638 sdcard_sd: reg_status_ready_for_data: "READY_FOR_DATA"
+61638-62305 sdcard_sd: reg_status_rsvd: "RSVD"
+62305-62972 sdcard_sd: reg_status_fx_event: "FX_EVENT"
+62972-63638 sdcard_sd: reg_status_app_cmd: "APP_CMD"
+63638-64305 sdcard_sd: reg_status_rsvd_sdio: "Reserved for SDIO card" "RSVD_SDIO"
+64305-64972 sdcard_sd: reg_status_ake_seq_error: "AKE_SEQ_ERROR"
+64972-65638 sdcard_sd: reg_status_rsvd_app_cmd: "Reserved for application specific commands" "RSVD_APP_CMD"
+65638-66971 sdcard_sd: reg_status_rsvd_testmode: "Reserved for manufacturer test mode" "RSVD_TESTMODE"
+205628-206295 sdcard_sd: bit_0: "0"
+206295-206961 sdcard_sd: bit_1: "1"
+206961-207628 sdcard_sd: bit_1: "1"
+207628-208295 sdcard_sd: bit_0: "0"
+208295-208961 sdcard_sd: bit_1: "1"
+208961-209628 sdcard_sd: bit_0: "0"
+209628-210295 sdcard_sd: bit_0: "0"
+210295-210961 sdcard_sd: bit_1: "1"
+210961-211628 sdcard_sd: bit_0: "0"
+211628-212294 sdcard_sd: bit_0: "0"
+212294-212961 sdcard_sd: bit_0: "0"
+212961-213628 sdcard_sd: bit_0: "0"
+213628-214294 sdcard_sd: bit_0: "0"
+214294-214961 sdcard_sd: bit_0: "0"
+214961-215627 sdcard_sd: bit_0: "0"
+215627-216294 sdcard_sd: bit_0: "0"
+216294-216961 sdcard_sd: bit_1: "1"
+216961-217627 sdcard_sd: bit_1: "1"
+217627-218294 sdcard_sd: bit_1: "1"
+218294-218961 sdcard_sd: bit_1: "1"
+218961-219627 sdcard_sd: bit_1: "1"
+219627-220294 sdcard_sd: bit_1: "1"
+220294-220960 sdcard_sd: bit_0: "0"
+220960-221627 sdcard_sd: bit_0: "0"
+221627-222294 sdcard_sd: bit_0: "0"
+222294-222960 sdcard_sd: bit_0: "0"
+222960-223627 sdcard_sd: bit_0: "0"
+223627-224294 sdcard_sd: bit_0: "0"
+224294-224960 sdcard_sd: bit_0: "0"
+224960-225627 sdcard_sd: bit_0: "0"
+225627-226293 sdcard_sd: bit_0: "0"
+226293-226960 sdcard_sd: bit_0: "0"
+226960-227627 sdcard_sd: bit_0: "0"
+227627-228293 sdcard_sd: bit_0: "0"
+228293-228960 sdcard_sd: bit_0: "0"
+228960-229626 sdcard_sd: bit_0: "0"
+229626-230293 sdcard_sd: bit_0: "0"
+230293-230960 sdcard_sd: bit_0: "0"
+230960-231626 sdcard_sd: bit_0: "0"
+231626-232293 sdcard_sd: bit_0: "0"
+232293-232960 sdcard_sd: bit_1: "1"
+232960-233626 sdcard_sd: bit_1: "1"
+233626-234293 sdcard_sd: bit_0: "0"
+234293-234959 sdcard_sd: bit_0: "0"
+234959-235626 sdcard_sd: bit_0: "0"
+235626-236293 sdcard_sd: bit_0: "0"
+236293-236959 sdcard_sd: bit_0: "0"
+236959-237625 sdcard_sd: bit_1: "1"
+205628-206295 sdcard_sd: field-start: "Start bit" "Start" "S"
+206295-206961 sdcard_sd: field-transmission: "Transmission: host" "T: host" "T"
+206961-210961 sdcard_sd: field-cmd: "Command: SD_SEND_OP_COND (41)" "Cmd: SD_SEND_OP_COND (41)" "CMD41" "Cmd" "C"
+210961-232293 sdcard_sd: field-arg: "Argument: 0x00fc0000" "Arg" "A"
+232293-236959 sdcard_sd: field-crc: "CRC: 0x60" "CRC" "C"
+236959-237625 sdcard_sd: field-end: "End bit" "End" "E"
+216294-232293 sdcard_sd: decoded-field: "VDD voltage window" "VDD volt" "VDD" "V"
+215627-216294 sdcard_sd: decoded-field: "S18R"
+213628-215627 sdcard_sd: decoded-field: "Reserved" "Res" "R"
+212961-213628 sdcard_sd: decoded-field: "XPC"
+212294-212961 sdcard_sd: decoded-field: "Reserved for eSD" "Reserved" "Res" "R"
+211628-212294 sdcard_sd: decoded-field: "Host capacity support info" "Host capacity" "HCS" "H"
+210961-211628 sdcard_sd: decoded-field: "Reserved" "Res" "R"
+205628-237625 sdcard_sd: acmd41: "ACMD41 (SD_SEND_OP_COND): Send HCS info and activate the card init process" "ACMD41 (SD_SEND_OP_COND)" "ACMD41"
+240959-272957 sdcard_sd: response_r3: "Response: R3"
+240959-241626 sdcard_sd: bit_0: "0"
+241626-242292 sdcard_sd: bit_0: "0"
+242292-242959 sdcard_sd: bit_1: "1"
+242959-243626 sdcard_sd: bit_1: "1"
+243626-244292 sdcard_sd: bit_1: "1"
+244292-244959 sdcard_sd: bit_1: "1"
+244959-245625 sdcard_sd: bit_1: "1"
+245625-246292 sdcard_sd: bit_1: "1"
+246292-246959 sdcard_sd: bit_0: "0"
+246959-247625 sdcard_sd: bit_0: "0"
+247625-248292 sdcard_sd: bit_0: "0"
+248292-248958 sdcard_sd: bit_0: "0"
+248958-249625 sdcard_sd: bit_0: "0"
+249625-250292 sdcard_sd: bit_0: "0"
+250292-250958 sdcard_sd: bit_0: "0"
+250958-251625 sdcard_sd: bit_0: "0"
+251625-252292 sdcard_sd: bit_1: "1"
+252292-252958 sdcard_sd: bit_1: "1"
+252958-253625 sdcard_sd: bit_1: "1"
+253625-254291 sdcard_sd: bit_1: "1"
+254291-254958 sdcard_sd: bit_1: "1"
+254958-255625 sdcard_sd: bit_1: "1"
+255625-256291 sdcard_sd: bit_1: "1"
+256291-256958 sdcard_sd: bit_1: "1"
+256958-257625 sdcard_sd: bit_1: "1"
+257625-258291 sdcard_sd: bit_0: "0"
+258291-258958 sdcard_sd: bit_0: "0"
+258958-259624 sdcard_sd: bit_0: "0"
+259624-260291 sdcard_sd: bit_0: "0"
+260291-260958 sdcard_sd: bit_0: "0"
+260958-261624 sdcard_sd: bit_0: "0"
+261624-262291 sdcard_sd: bit_0: "0"
+262291-262957 sdcard_sd: bit_0: "0"
+262957-263624 sdcard_sd: bit_0: "0"
+263624-264291 sdcard_sd: bit_0: "0"
+264291-264957 sdcard_sd: bit_0: "0"
+264957-265624 sdcard_sd: bit_0: "0"
+265624-266291 sdcard_sd: bit_0: "0"
+266291-266957 sdcard_sd: bit_0: "0"
+266957-267624 sdcard_sd: bit_0: "0"
+267624-268290 sdcard_sd: bit_1: "1"
+268290-268957 sdcard_sd: bit_1: "1"
+268957-269624 sdcard_sd: bit_1: "1"
+269624-270290 sdcard_sd: bit_1: "1"
+270290-270957 sdcard_sd: bit_1: "1"
+270957-271623 sdcard_sd: bit_1: "1"
+271623-272290 sdcard_sd: bit_1: "1"
+272290-272957 sdcard_sd: bit_1: "1"
+240959-241626 sdcard_sd: field-start: "Start bit" "Start" "S"
+241626-242292 sdcard_sd: field-transmission: "Transmission: card" "T: card" "T"
+242292-246292 sdcard_sd: field-cmd: "Reserved" "Res" "R"
+246292-267624 sdcard_sd: field-arg: "Argument" "Arg" "A"
+267624-272290 sdcard_sd: field-crc: "Reserved" "Res" "R"
+272290-272957 sdcard_sd: field-end: "End bit" "End" "E"
+246292-267624 sdcard_sd: decoded-field: "OCR register" "OCR reg" "OCR" "O"
diff --git a/decoder/test/sdcard_sd/unknown_card_cmd55_r1_acmd51_r1.output b/decoder/test/sdcard_sd/unknown_card_cmd55_r1_acmd51_r1.output
new file mode 100644 (file)
index 0000000..611e151
--- /dev/null
@@ -0,0 +1,280 @@
+7966-8633 sdcard_sd: bit_0: "0"
+8633-9299 sdcard_sd: bit_1: "1"
+9299-9966 sdcard_sd: bit_1: "1"
+9966-10632 sdcard_sd: bit_1: "1"
+10632-11299 sdcard_sd: bit_0: "0"
+11299-11966 sdcard_sd: bit_1: "1"
+11966-12632 sdcard_sd: bit_1: "1"
+12632-13299 sdcard_sd: bit_1: "1"
+13299-13965 sdcard_sd: bit_1: "1"
+13965-14632 sdcard_sd: bit_0: "0"
+14632-15299 sdcard_sd: bit_1: "1"
+15299-15965 sdcard_sd: bit_1: "1"
+15965-16632 sdcard_sd: bit_0: "0"
+16632-17299 sdcard_sd: bit_0: "0"
+17299-17965 sdcard_sd: bit_1: "1"
+17965-18632 sdcard_sd: bit_1: "1"
+18632-19298 sdcard_sd: bit_0: "0"
+19298-19965 sdcard_sd: bit_1: "1"
+19965-20632 sdcard_sd: bit_1: "1"
+20632-21298 sdcard_sd: bit_0: "0"
+21298-21965 sdcard_sd: bit_1: "1"
+21965-22632 sdcard_sd: bit_0: "0"
+22632-23298 sdcard_sd: bit_0: "0"
+23298-23965 sdcard_sd: bit_0: "0"
+23965-24631 sdcard_sd: bit_0: "0"
+24631-25298 sdcard_sd: bit_0: "0"
+25298-25965 sdcard_sd: bit_0: "0"
+25965-26631 sdcard_sd: bit_0: "0"
+26631-27298 sdcard_sd: bit_0: "0"
+27298-27964 sdcard_sd: bit_0: "0"
+27964-28631 sdcard_sd: bit_0: "0"
+28631-29298 sdcard_sd: bit_0: "0"
+29298-29964 sdcard_sd: bit_0: "0"
+29964-30631 sdcard_sd: bit_0: "0"
+30631-31298 sdcard_sd: bit_0: "0"
+31298-31964 sdcard_sd: bit_0: "0"
+31964-32631 sdcard_sd: bit_0: "0"
+32631-33297 sdcard_sd: bit_0: "0"
+33297-33964 sdcard_sd: bit_0: "0"
+33964-34631 sdcard_sd: bit_0: "0"
+34631-35297 sdcard_sd: bit_1: "1"
+35297-35964 sdcard_sd: bit_0: "0"
+35964-36631 sdcard_sd: bit_0: "0"
+36631-37297 sdcard_sd: bit_0: "0"
+37297-37964 sdcard_sd: bit_0: "0"
+37964-38630 sdcard_sd: bit_1: "1"
+38630-39297 sdcard_sd: bit_1: "1"
+39297-39964 sdcard_sd: bit_1: "1"
+7966-8633 sdcard_sd: field-start: "Start bit" "Start" "S"
+8633-9299 sdcard_sd: field-transmission: "Transmission: host" "T: host" "T"
+9299-13299 sdcard_sd: field-cmd: "Command: APP_CMD (55)" "Cmd: APP_CMD (55)" "CMD55" "Cmd" "C"
+13299-34631 sdcard_sd: field-arg: "Argument: 0xb3680000" "Arg" "A"
+34631-39297 sdcard_sd: field-crc: "CRC: 0x43" "CRC" "C"
+39297-39964 sdcard_sd: field-end: "End bit" "End" "E"
+13299-23965 sdcard_sd: decoded-field: "RCA" "R"
+23965-34631 sdcard_sd: decoded-field: "Stuff bits" "Stuff" "SB" "S"
+7966-39964 sdcard_sd: cmd55: "CMD55 (APP_CMD): Next command is an application-specific command" "CMD55 (APP_CMD)" "CMD55"
+47296-47963 sdcard_sd: bit_0: "0"
+47963-48630 sdcard_sd: bit_0: "0"
+48630-49296 sdcard_sd: bit_1: "1"
+49296-49963 sdcard_sd: bit_1: "1"
+49963-50630 sdcard_sd: bit_0: "0"
+50630-51296 sdcard_sd: bit_1: "1"
+51296-51963 sdcard_sd: bit_1: "1"
+51963-52629 sdcard_sd: bit_1: "1"
+52629-53296 sdcard_sd: bit_0: "0"
+53296-53963 sdcard_sd: bit_0: "0"
+53963-54629 sdcard_sd: bit_0: "0"
+54629-55296 sdcard_sd: bit_0: "0"
+55296-55963 sdcard_sd: bit_0: "0"
+55963-56629 sdcard_sd: bit_0: "0"
+56629-57296 sdcard_sd: bit_0: "0"
+57296-57962 sdcard_sd: bit_0: "0"
+57962-58629 sdcard_sd: bit_0: "0"
+58629-59296 sdcard_sd: bit_0: "0"
+59296-59962 sdcard_sd: bit_0: "0"
+59962-60629 sdcard_sd: bit_0: "0"
+60629-61295 sdcard_sd: bit_0: "0"
+61295-61962 sdcard_sd: bit_0: "0"
+61962-62629 sdcard_sd: bit_0: "0"
+62629-63295 sdcard_sd: bit_0: "0"
+63295-63962 sdcard_sd: bit_0: "0"
+63962-64629 sdcard_sd: bit_0: "0"
+64629-65295 sdcard_sd: bit_0: "0"
+65295-65962 sdcard_sd: bit_0: "0"
+65962-66628 sdcard_sd: bit_1: "1"
+66628-67295 sdcard_sd: bit_0: "0"
+67295-67962 sdcard_sd: bit_0: "0"
+67962-68628 sdcard_sd: bit_1: "1"
+68628-69295 sdcard_sd: bit_0: "0"
+69295-69961 sdcard_sd: bit_0: "0"
+69961-70628 sdcard_sd: bit_1: "1"
+70628-71295 sdcard_sd: bit_0: "0"
+71295-71961 sdcard_sd: bit_0: "0"
+71961-72628 sdcard_sd: bit_0: "0"
+72628-73295 sdcard_sd: bit_0: "0"
+73295-73961 sdcard_sd: bit_0: "0"
+73961-74628 sdcard_sd: bit_0: "0"
+74628-75294 sdcard_sd: bit_0: "0"
+75294-75961 sdcard_sd: bit_1: "1"
+75961-76628 sdcard_sd: bit_1: "1"
+76628-77294 sdcard_sd: bit_0: "0"
+77294-77961 sdcard_sd: bit_0: "0"
+77961-78628 sdcard_sd: bit_1: "1"
+78628-79295 sdcard_sd: bit_1: "1"
+47296-47963 sdcard_sd: field-start: "Start bit" "Start" "S"
+47963-48630 sdcard_sd: field-transmission: "Transmission: card" "T: card" "T"
+48630-52629 sdcard_sd: field-cmd: "Command: Non-existant (55)" "Cmd: Non-existant (55)" "CMD55" "Cmd" "C"
+52629-73961 sdcard_sd: field-arg: "Argument: 0x00000920" "Arg" "A"
+73961-78628 sdcard_sd: field-crc: "CRC: 0x19" "CRC" "C"
+78628-79295 sdcard_sd: field-end: "End bit" "End" "E"
+47296-79295 sdcard_sd: response_r1: "Response: R1"
+52629-73961 sdcard_sd: decoded-field: "Card status" "Status" "S"
+52629-53296 sdcard_sd: reg_status_out_of_range: "OUT_OF_RANGE"
+53296-53963 sdcard_sd: reg_status_address_error: "ADDRESS_ERROR"
+53963-54629 sdcard_sd: reg_status_block_len_error: "BLOCK_LEN_ERROR"
+54629-55296 sdcard_sd: reg_status_erase_seq_error: "ERASE_SEQ_ERROR"
+55296-55963 sdcard_sd: reg_status_erase_param: "ERASE_PARAM"
+55963-56629 sdcard_sd: reg_status_wp_violation: "WP_VIOLATION"
+56629-57296 sdcard_sd: reg_status_card_is_locked: "CARD_IS_LOCKED"
+57296-57962 sdcard_sd: reg_status_lock_unlock_failed: "LOCK_UNLOCK_FAILED"
+57962-58629 sdcard_sd: reg_status_com_crc_error: "COM_CRC_ERROR"
+58629-59296 sdcard_sd: reg_status_illegal_command: "ILLEGAL_COMMAND"
+59296-59962 sdcard_sd: reg_status_card_ecc_failed: "CARD_ECC_FAILED"
+59962-60629 sdcard_sd: reg_status_cc_error: "CC_ERROR"
+60629-61295 sdcard_sd: reg_status_error: "ERROR"
+61295-61962 sdcard_sd: reg_status_rsvd: "Reserved" "RSVD" "R"
+61962-62629 sdcard_sd: reg_status_rsvd_deferred_response: "Reserved for DEFERRED_RESPONSE" "RSVD_DEFERRED_RESPONSE"
+62629-63295 sdcard_sd: reg_status_csd_overwrite: "CSD_OVERWRITE"
+63295-63962 sdcard_sd: reg_status_wp_erase_skip: "WP_ERASE_SKIP"
+63962-64629 sdcard_sd: reg_status_card_ecc_disabled: "CARD_ECC_DISABLED"
+64629-65295 sdcard_sd: reg_status_erase_reset: "ERASE_RESET"
+65295-67962 sdcard_sd: reg_status_current_state: "CURRENT_STATE"
+67962-68628 sdcard_sd: reg_status_ready_for_data: "READY_FOR_DATA"
+68628-69295 sdcard_sd: reg_status_rsvd: "RSVD"
+69295-69961 sdcard_sd: reg_status_fx_event: "FX_EVENT"
+69961-70628 sdcard_sd: reg_status_app_cmd: "APP_CMD"
+70628-71295 sdcard_sd: reg_status_rsvd_sdio: "Reserved for SDIO card" "RSVD_SDIO"
+71295-71961 sdcard_sd: reg_status_ake_seq_error: "AKE_SEQ_ERROR"
+71961-72628 sdcard_sd: reg_status_rsvd_app_cmd: "Reserved for application specific commands" "RSVD_APP_CMD"
+72628-73961 sdcard_sd: reg_status_rsvd_testmode: "Reserved for manufacturer test mode" "RSVD_TESTMODE"
+85960-86627 sdcard_sd: bit_0: "0"
+86627-87294 sdcard_sd: bit_1: "1"
+87294-87960 sdcard_sd: bit_1: "1"
+87960-88627 sdcard_sd: bit_1: "1"
+88627-89293 sdcard_sd: bit_0: "0"
+89293-89960 sdcard_sd: bit_0: "0"
+89960-90627 sdcard_sd: bit_1: "1"
+90627-91293 sdcard_sd: bit_1: "1"
+91293-91960 sdcard_sd: bit_0: "0"
+91960-92627 sdcard_sd: bit_0: "0"
+92627-93293 sdcard_sd: bit_0: "0"
+93293-93960 sdcard_sd: bit_0: "0"
+93960-94626 sdcard_sd: bit_0: "0"
+94626-95293 sdcard_sd: bit_0: "0"
+95293-95960 sdcard_sd: bit_0: "0"
+95960-96626 sdcard_sd: bit_0: "0"
+96626-97293 sdcard_sd: bit_0: "0"
+97293-97959 sdcard_sd: bit_0: "0"
+97959-98626 sdcard_sd: bit_0: "0"
+98626-99293 sdcard_sd: bit_0: "0"
+99293-99959 sdcard_sd: bit_0: "0"
+99959-100626 sdcard_sd: bit_0: "0"
+100626-101293 sdcard_sd: bit_0: "0"
+101293-101959 sdcard_sd: bit_0: "0"
+101959-102626 sdcard_sd: bit_0: "0"
+102626-103292 sdcard_sd: bit_0: "0"
+103292-103959 sdcard_sd: bit_0: "0"
+103959-104626 sdcard_sd: bit_0: "0"
+104626-105292 sdcard_sd: bit_0: "0"
+105292-105959 sdcard_sd: bit_0: "0"
+105959-106626 sdcard_sd: bit_0: "0"
+106626-107292 sdcard_sd: bit_0: "0"
+107292-107959 sdcard_sd: bit_0: "0"
+107959-108625 sdcard_sd: bit_0: "0"
+108625-109292 sdcard_sd: bit_0: "0"
+109292-109959 sdcard_sd: bit_0: "0"
+109959-110625 sdcard_sd: bit_0: "0"
+110625-111292 sdcard_sd: bit_0: "0"
+111292-111959 sdcard_sd: bit_0: "0"
+111959-112625 sdcard_sd: bit_0: "0"
+112625-113292 sdcard_sd: bit_1: "1"
+113292-113958 sdcard_sd: bit_1: "1"
+113958-114625 sdcard_sd: bit_0: "0"
+114625-115292 sdcard_sd: bit_0: "0"
+115292-115958 sdcard_sd: bit_0: "0"
+115958-116625 sdcard_sd: bit_1: "1"
+116625-117291 sdcard_sd: bit_1: "1"
+117291-117957 sdcard_sd: bit_1: "1"
+85960-86627 sdcard_sd: field-start: "Start bit" "Start" "S"
+86627-87294 sdcard_sd: field-transmission: "Transmission: host" "T: host" "T"
+87294-91293 sdcard_sd: field-cmd: "Command: SEND_SCR (51)" "Cmd: SEND_SCR (51)" "CMD51" "Cmd" "C"
+91293-112625 sdcard_sd: field-arg: "Argument: 0x00000000" "Arg" "A"
+112625-117291 sdcard_sd: field-crc: "CRC: 0x63" "CRC" "C"
+117291-117957 sdcard_sd: field-end: "End bit" "End" "E"
+85960-117957 sdcard_sd: acmd51: "ACMD51 (SEND_SCR): Read SD config register (SCR)" "ACMD51 (SEND_SCR)" "ACMD51"
+125291-125958 sdcard_sd: bit_0: "0"
+125958-126624 sdcard_sd: bit_0: "0"
+126624-127291 sdcard_sd: bit_1: "1"
+127291-127957 sdcard_sd: bit_1: "1"
+127957-128624 sdcard_sd: bit_0: "0"
+128624-129291 sdcard_sd: bit_0: "0"
+129291-129957 sdcard_sd: bit_1: "1"
+129957-130624 sdcard_sd: bit_1: "1"
+130624-131290 sdcard_sd: bit_0: "0"
+131290-131957 sdcard_sd: bit_0: "0"
+131957-132624 sdcard_sd: bit_0: "0"
+132624-133290 sdcard_sd: bit_0: "0"
+133290-133957 sdcard_sd: bit_0: "0"
+133957-134624 sdcard_sd: bit_0: "0"
+134624-135290 sdcard_sd: bit_0: "0"
+135290-135957 sdcard_sd: bit_0: "0"
+135957-136623 sdcard_sd: bit_0: "0"
+136623-137290 sdcard_sd: bit_0: "0"
+137290-137957 sdcard_sd: bit_0: "0"
+137957-138623 sdcard_sd: bit_0: "0"
+138623-139290 sdcard_sd: bit_0: "0"
+139290-139957 sdcard_sd: bit_0: "0"
+139957-140623 sdcard_sd: bit_0: "0"
+140623-141290 sdcard_sd: bit_0: "0"
+141290-141956 sdcard_sd: bit_0: "0"
+141956-142623 sdcard_sd: bit_0: "0"
+142623-143290 sdcard_sd: bit_0: "0"
+143290-143956 sdcard_sd: bit_0: "0"
+143956-144623 sdcard_sd: bit_1: "1"
+144623-145289 sdcard_sd: bit_0: "0"
+145289-145956 sdcard_sd: bit_0: "0"
+145956-146623 sdcard_sd: bit_1: "1"
+146623-147289 sdcard_sd: bit_0: "0"
+147289-147956 sdcard_sd: bit_0: "0"
+147956-148623 sdcard_sd: bit_1: "1"
+148623-149289 sdcard_sd: bit_0: "0"
+149289-149956 sdcard_sd: bit_0: "0"
+149956-150622 sdcard_sd: bit_0: "0"
+150622-151289 sdcard_sd: bit_0: "0"
+151289-151956 sdcard_sd: bit_0: "0"
+151956-152622 sdcard_sd: bit_1: "1"
+152622-153289 sdcard_sd: bit_0: "0"
+153289-153956 sdcard_sd: bit_0: "0"
+153956-154622 sdcard_sd: bit_1: "1"
+154622-155289 sdcard_sd: bit_0: "0"
+155289-155955 sdcard_sd: bit_0: "0"
+155955-156622 sdcard_sd: bit_0: "0"
+156622-157289 sdcard_sd: bit_1: "1"
+125291-125958 sdcard_sd: field-start: "Start bit" "Start" "S"
+125958-126624 sdcard_sd: field-transmission: "Transmission: card" "T: card" "T"
+126624-130624 sdcard_sd: field-cmd: "Command: Unknown (51)" "Cmd: Unknown (51)" "CMD51" "Cmd" "C"
+130624-151956 sdcard_sd: field-arg: "Argument: 0x00000920" "Arg" "A"
+151956-156622 sdcard_sd: field-crc: "CRC: 0x48" "CRC" "C"
+156622-157289 sdcard_sd: field-end: "End bit" "End" "E"
+125291-157289 sdcard_sd: response_r1: "Response: R1"
+130624-151956 sdcard_sd: decoded-field: "Card status" "Status" "S"
+130624-131290 sdcard_sd: reg_status_out_of_range: "OUT_OF_RANGE"
+131290-131957 sdcard_sd: reg_status_address_error: "ADDRESS_ERROR"
+131957-132624 sdcard_sd: reg_status_block_len_error: "BLOCK_LEN_ERROR"
+132624-133290 sdcard_sd: reg_status_erase_seq_error: "ERASE_SEQ_ERROR"
+133290-133957 sdcard_sd: reg_status_erase_param: "ERASE_PARAM"
+133957-134624 sdcard_sd: reg_status_wp_violation: "WP_VIOLATION"
+134624-135290 sdcard_sd: reg_status_card_is_locked: "CARD_IS_LOCKED"
+135290-135957 sdcard_sd: reg_status_lock_unlock_failed: "LOCK_UNLOCK_FAILED"
+135957-136623 sdcard_sd: reg_status_com_crc_error: "COM_CRC_ERROR"
+136623-137290 sdcard_sd: reg_status_illegal_command: "ILLEGAL_COMMAND"
+137290-137957 sdcard_sd: reg_status_card_ecc_failed: "CARD_ECC_FAILED"
+137957-138623 sdcard_sd: reg_status_cc_error: "CC_ERROR"
+138623-139290 sdcard_sd: reg_status_error: "ERROR"
+139290-139957 sdcard_sd: reg_status_rsvd: "Reserved" "RSVD" "R"
+139957-140623 sdcard_sd: reg_status_rsvd_deferred_response: "Reserved for DEFERRED_RESPONSE" "RSVD_DEFERRED_RESPONSE"
+140623-141290 sdcard_sd: reg_status_csd_overwrite: "CSD_OVERWRITE"
+141290-141956 sdcard_sd: reg_status_wp_erase_skip: "WP_ERASE_SKIP"
+141956-142623 sdcard_sd: reg_status_card_ecc_disabled: "CARD_ECC_DISABLED"
+142623-143290 sdcard_sd: reg_status_erase_reset: "ERASE_RESET"
+143290-145956 sdcard_sd: reg_status_current_state: "CURRENT_STATE"
+145956-146623 sdcard_sd: reg_status_ready_for_data: "READY_FOR_DATA"
+146623-147289 sdcard_sd: reg_status_rsvd: "RSVD"
+147289-147956 sdcard_sd: reg_status_fx_event: "FX_EVENT"
+147956-148623 sdcard_sd: reg_status_app_cmd: "APP_CMD"
+148623-149289 sdcard_sd: reg_status_rsvd_sdio: "Reserved for SDIO card" "RSVD_SDIO"
+149289-149956 sdcard_sd: reg_status_ake_seq_error: "AKE_SEQ_ERROR"
+149956-150622 sdcard_sd: reg_status_rsvd_app_cmd: "Reserved for application specific commands" "RSVD_APP_CMD"
+150622-151956 sdcard_sd: reg_status_rsvd_testmode: "Reserved for manufacturer test mode" "RSVD_TESTMODE"
diff --git a/decoder/test/sdcard_sd/unknown_card_cmd6_r1.output b/decoder/test/sdcard_sd/unknown_card_cmd6_r1.output
new file mode 100644 (file)
index 0000000..b37b0e5
--- /dev/null
@@ -0,0 +1,139 @@
+4675-5342 sdcard_sd: bit_0: "0"
+5342-6009 sdcard_sd: bit_1: "1"
+6009-6675 sdcard_sd: bit_0: "0"
+6675-7342 sdcard_sd: bit_0: "0"
+7342-8008 sdcard_sd: bit_0: "0"
+8008-8675 sdcard_sd: bit_1: "1"
+8675-9342 sdcard_sd: bit_1: "1"
+9342-10008 sdcard_sd: bit_0: "0"
+10008-10675 sdcard_sd: bit_0: "0"
+10675-11342 sdcard_sd: bit_0: "0"
+11342-12008 sdcard_sd: bit_0: "0"
+12008-12675 sdcard_sd: bit_0: "0"
+12675-13341 sdcard_sd: bit_0: "0"
+13341-14008 sdcard_sd: bit_0: "0"
+14008-14675 sdcard_sd: bit_0: "0"
+14675-15341 sdcard_sd: bit_0: "0"
+15341-16008 sdcard_sd: bit_1: "1"
+16008-16675 sdcard_sd: bit_1: "1"
+16675-17341 sdcard_sd: bit_1: "1"
+17341-18008 sdcard_sd: bit_1: "1"
+18008-18674 sdcard_sd: bit_1: "1"
+18674-19341 sdcard_sd: bit_1: "1"
+19341-20008 sdcard_sd: bit_1: "1"
+20008-20674 sdcard_sd: bit_1: "1"
+20674-21341 sdcard_sd: bit_1: "1"
+21341-22007 sdcard_sd: bit_1: "1"
+22007-22674 sdcard_sd: bit_1: "1"
+22674-23341 sdcard_sd: bit_1: "1"
+23341-24007 sdcard_sd: bit_1: "1"
+24007-24674 sdcard_sd: bit_1: "1"
+24674-25341 sdcard_sd: bit_1: "1"
+25341-26007 sdcard_sd: bit_1: "1"
+26007-26674 sdcard_sd: bit_1: "1"
+26674-27340 sdcard_sd: bit_1: "1"
+27340-28007 sdcard_sd: bit_1: "1"
+28007-28674 sdcard_sd: bit_1: "1"
+28674-29340 sdcard_sd: bit_0: "0"
+29340-30007 sdcard_sd: bit_0: "0"
+30007-30674 sdcard_sd: bit_0: "0"
+30674-31340 sdcard_sd: bit_1: "1"
+31340-32007 sdcard_sd: bit_0: "0"
+32007-32673 sdcard_sd: bit_0: "0"
+32673-33340 sdcard_sd: bit_0: "0"
+33340-34007 sdcard_sd: bit_1: "1"
+34007-34673 sdcard_sd: bit_1: "1"
+34673-35340 sdcard_sd: bit_1: "1"
+35340-36007 sdcard_sd: bit_1: "1"
+36007-36674 sdcard_sd: bit_1: "1"
+4675-5342 sdcard_sd: field-start: "Start bit" "Start" "S"
+5342-6009 sdcard_sd: field-transmission: "Transmission: host" "T: host" "T"
+6009-10008 sdcard_sd: field-cmd: "Command: SWITCH_FUNC (6)" "Cmd: SWITCH_FUNC (6)" "CMD6" "Cmd" "C"
+10008-31340 sdcard_sd: field-arg: "Argument: 0x00fffff1" "Arg" "A"
+31340-36007 sdcard_sd: field-crc: "CRC: 0xf" "CRC" "C"
+36007-36674 sdcard_sd: field-end: "End bit" "End" "E"
+4675-36674 sdcard_sd: cmd6: "CMD6 (SWITCH_FUNC): Switch/check card function" "CMD6 (SWITCH_FUNC)" "CMD6"
+44006-44673 sdcard_sd: bit_0: "0"
+44673-45339 sdcard_sd: bit_0: "0"
+45339-46006 sdcard_sd: bit_0: "0"
+46006-46672 sdcard_sd: bit_0: "0"
+46672-47339 sdcard_sd: bit_0: "0"
+47339-48006 sdcard_sd: bit_1: "1"
+48006-48672 sdcard_sd: bit_1: "1"
+48672-49339 sdcard_sd: bit_0: "0"
+49339-50006 sdcard_sd: bit_0: "0"
+50006-50672 sdcard_sd: bit_0: "0"
+50672-51339 sdcard_sd: bit_0: "0"
+51339-52005 sdcard_sd: bit_0: "0"
+52005-52672 sdcard_sd: bit_0: "0"
+52672-53339 sdcard_sd: bit_0: "0"
+53339-54005 sdcard_sd: bit_0: "0"
+54005-54672 sdcard_sd: bit_0: "0"
+54672-55338 sdcard_sd: bit_0: "0"
+55338-56005 sdcard_sd: bit_0: "0"
+56005-56672 sdcard_sd: bit_0: "0"
+56672-57338 sdcard_sd: bit_0: "0"
+57338-58005 sdcard_sd: bit_0: "0"
+58005-58672 sdcard_sd: bit_0: "0"
+58672-59338 sdcard_sd: bit_0: "0"
+59338-60005 sdcard_sd: bit_0: "0"
+60005-60671 sdcard_sd: bit_0: "0"
+60671-61338 sdcard_sd: bit_0: "0"
+61338-62005 sdcard_sd: bit_0: "0"
+62005-62671 sdcard_sd: bit_0: "0"
+62671-63338 sdcard_sd: bit_1: "1"
+63338-64005 sdcard_sd: bit_0: "0"
+64005-64671 sdcard_sd: bit_0: "0"
+64671-65338 sdcard_sd: bit_1: "1"
+65338-66004 sdcard_sd: bit_0: "0"
+66004-66671 sdcard_sd: bit_0: "0"
+66671-67338 sdcard_sd: bit_0: "0"
+67338-68004 sdcard_sd: bit_0: "0"
+68004-68671 sdcard_sd: bit_0: "0"
+68671-69337 sdcard_sd: bit_0: "0"
+69337-70004 sdcard_sd: bit_0: "0"
+70004-70671 sdcard_sd: bit_0: "0"
+70671-71337 sdcard_sd: bit_1: "1"
+71337-72004 sdcard_sd: bit_1: "1"
+72004-72671 sdcard_sd: bit_0: "0"
+72671-73337 sdcard_sd: bit_1: "1"
+73337-74004 sdcard_sd: bit_1: "1"
+74004-74670 sdcard_sd: bit_1: "1"
+74670-75337 sdcard_sd: bit_0: "0"
+75337-76004 sdcard_sd: bit_1: "1"
+44006-44673 sdcard_sd: field-start: "Start bit" "Start" "S"
+44673-45339 sdcard_sd: field-transmission: "Transmission: card" "T: card" "T"
+45339-49339 sdcard_sd: field-cmd: "Command: SWITCH_FUNC (6)" "Cmd: SWITCH_FUNC (6)" "CMD6" "Cmd" "C"
+49339-70671 sdcard_sd: field-arg: "Argument: 0x00000900" "Arg" "A"
+70671-75337 sdcard_sd: field-crc: "CRC: 0x6e" "CRC" "C"
+75337-76004 sdcard_sd: field-end: "End bit" "End" "E"
+44006-76004 sdcard_sd: response_r1: "Response: R1"
+49339-70671 sdcard_sd: decoded-field: "Card status" "Status" "S"
+49339-50006 sdcard_sd: reg_status_out_of_range: "OUT_OF_RANGE"
+50006-50672 sdcard_sd: reg_status_address_error: "ADDRESS_ERROR"
+50672-51339 sdcard_sd: reg_status_block_len_error: "BLOCK_LEN_ERROR"
+51339-52005 sdcard_sd: reg_status_erase_seq_error: "ERASE_SEQ_ERROR"
+52005-52672 sdcard_sd: reg_status_erase_param: "ERASE_PARAM"
+52672-53339 sdcard_sd: reg_status_wp_violation: "WP_VIOLATION"
+53339-54005 sdcard_sd: reg_status_card_is_locked: "CARD_IS_LOCKED"
+54005-54672 sdcard_sd: reg_status_lock_unlock_failed: "LOCK_UNLOCK_FAILED"
+54672-55338 sdcard_sd: reg_status_com_crc_error: "COM_CRC_ERROR"
+55338-56005 sdcard_sd: reg_status_illegal_command: "ILLEGAL_COMMAND"
+56005-56672 sdcard_sd: reg_status_card_ecc_failed: "CARD_ECC_FAILED"
+56672-57338 sdcard_sd: reg_status_cc_error: "CC_ERROR"
+57338-58005 sdcard_sd: reg_status_error: "ERROR"
+58005-58672 sdcard_sd: reg_status_rsvd: "Reserved" "RSVD" "R"
+58672-59338 sdcard_sd: reg_status_rsvd_deferred_response: "Reserved for DEFERRED_RESPONSE" "RSVD_DEFERRED_RESPONSE"
+59338-60005 sdcard_sd: reg_status_csd_overwrite: "CSD_OVERWRITE"
+60005-60671 sdcard_sd: reg_status_wp_erase_skip: "WP_ERASE_SKIP"
+60671-61338 sdcard_sd: reg_status_card_ecc_disabled: "CARD_ECC_DISABLED"
+61338-62005 sdcard_sd: reg_status_erase_reset: "ERASE_RESET"
+62005-64671 sdcard_sd: reg_status_current_state: "CURRENT_STATE"
+64671-65338 sdcard_sd: reg_status_ready_for_data: "READY_FOR_DATA"
+65338-66004 sdcard_sd: reg_status_rsvd: "RSVD"
+66004-66671 sdcard_sd: reg_status_fx_event: "FX_EVENT"
+66671-67338 sdcard_sd: reg_status_app_cmd: "APP_CMD"
+67338-68004 sdcard_sd: reg_status_rsvd_sdio: "Reserved for SDIO card" "RSVD_SDIO"
+68004-68671 sdcard_sd: reg_status_ake_seq_error: "AKE_SEQ_ERROR"
+68671-69337 sdcard_sd: reg_status_rsvd_app_cmd: "Reserved for application specific commands" "RSVD_APP_CMD"
+69337-70671 sdcard_sd: reg_status_rsvd_testmode: "Reserved for manufacturer test mode" "RSVD_TESTMODE"
diff --git a/decoder/test/sdcard_sd/unknown_card_cmd6_r1_2.output b/decoder/test/sdcard_sd/unknown_card_cmd6_r1_2.output
new file mode 100644 (file)
index 0000000..83cf1ac
--- /dev/null
@@ -0,0 +1,139 @@
+3671-4337 sdcard_sd: bit_0: "0"
+4337-5004 sdcard_sd: bit_1: "1"
+5004-5671 sdcard_sd: bit_0: "0"
+5671-6337 sdcard_sd: bit_0: "0"
+6337-7004 sdcard_sd: bit_0: "0"
+7004-7670 sdcard_sd: bit_1: "1"
+7670-8337 sdcard_sd: bit_1: "1"
+8337-9004 sdcard_sd: bit_0: "0"
+9004-9670 sdcard_sd: bit_1: "1"
+9670-10337 sdcard_sd: bit_0: "0"
+10337-11003 sdcard_sd: bit_0: "0"
+11003-11670 sdcard_sd: bit_0: "0"
+11670-12337 sdcard_sd: bit_0: "0"
+12337-13003 sdcard_sd: bit_0: "0"
+13003-13670 sdcard_sd: bit_0: "0"
+13670-14337 sdcard_sd: bit_0: "0"
+14337-15003 sdcard_sd: bit_1: "1"
+15003-15670 sdcard_sd: bit_1: "1"
+15670-16336 sdcard_sd: bit_1: "1"
+16336-17003 sdcard_sd: bit_1: "1"
+17003-17670 sdcard_sd: bit_1: "1"
+17670-18336 sdcard_sd: bit_1: "1"
+18336-19003 sdcard_sd: bit_1: "1"
+19003-19670 sdcard_sd: bit_1: "1"
+19670-20336 sdcard_sd: bit_1: "1"
+20336-21003 sdcard_sd: bit_1: "1"
+21003-21669 sdcard_sd: bit_1: "1"
+21669-22336 sdcard_sd: bit_1: "1"
+22336-23003 sdcard_sd: bit_1: "1"
+23003-23669 sdcard_sd: bit_1: "1"
+23669-24336 sdcard_sd: bit_1: "1"
+24336-25002 sdcard_sd: bit_1: "1"
+25002-25669 sdcard_sd: bit_1: "1"
+25669-26336 sdcard_sd: bit_1: "1"
+26336-27002 sdcard_sd: bit_1: "1"
+27002-27669 sdcard_sd: bit_1: "1"
+27669-28336 sdcard_sd: bit_0: "0"
+28336-29002 sdcard_sd: bit_0: "0"
+29002-29669 sdcard_sd: bit_0: "0"
+29669-30335 sdcard_sd: bit_1: "1"
+30335-31002 sdcard_sd: bit_0: "0"
+31002-31669 sdcard_sd: bit_0: "0"
+31669-32335 sdcard_sd: bit_1: "1"
+32335-33002 sdcard_sd: bit_0: "0"
+33002-33669 sdcard_sd: bit_1: "1"
+33669-34335 sdcard_sd: bit_0: "0"
+34335-35002 sdcard_sd: bit_0: "0"
+35002-35669 sdcard_sd: bit_1: "1"
+3671-4337 sdcard_sd: field-start: "Start bit" "Start" "S"
+4337-5004 sdcard_sd: field-transmission: "Transmission: host" "T: host" "T"
+5004-9004 sdcard_sd: field-cmd: "Command: SWITCH_FUNC (6)" "Cmd: SWITCH_FUNC (6)" "CMD6" "Cmd" "C"
+9004-30335 sdcard_sd: field-arg: "Argument: 0x80fffff1" "Arg" "A"
+30335-35002 sdcard_sd: field-crc: "CRC: 0x14" "CRC" "C"
+35002-35669 sdcard_sd: field-end: "End bit" "End" "E"
+3671-35669 sdcard_sd: cmd6: "CMD6 (SWITCH_FUNC): Switch/check card function" "CMD6 (SWITCH_FUNC)" "CMD6"
+43001-43668 sdcard_sd: bit_0: "0"
+43668-44334 sdcard_sd: bit_0: "0"
+44334-45001 sdcard_sd: bit_0: "0"
+45001-45668 sdcard_sd: bit_0: "0"
+45668-46334 sdcard_sd: bit_0: "0"
+46334-47001 sdcard_sd: bit_1: "1"
+47001-47668 sdcard_sd: bit_1: "1"
+47668-48334 sdcard_sd: bit_0: "0"
+48334-49001 sdcard_sd: bit_0: "0"
+49001-49667 sdcard_sd: bit_0: "0"
+49667-50334 sdcard_sd: bit_0: "0"
+50334-51001 sdcard_sd: bit_0: "0"
+51001-51667 sdcard_sd: bit_0: "0"
+51667-52334 sdcard_sd: bit_0: "0"
+52334-53000 sdcard_sd: bit_0: "0"
+53000-53667 sdcard_sd: bit_0: "0"
+53667-54334 sdcard_sd: bit_0: "0"
+54334-55000 sdcard_sd: bit_0: "0"
+55000-55667 sdcard_sd: bit_0: "0"
+55667-56334 sdcard_sd: bit_0: "0"
+56334-57000 sdcard_sd: bit_0: "0"
+57000-57667 sdcard_sd: bit_0: "0"
+57667-58333 sdcard_sd: bit_0: "0"
+58333-59000 sdcard_sd: bit_0: "0"
+59000-59667 sdcard_sd: bit_0: "0"
+59667-60333 sdcard_sd: bit_0: "0"
+60333-61000 sdcard_sd: bit_0: "0"
+61000-61667 sdcard_sd: bit_0: "0"
+61667-62333 sdcard_sd: bit_1: "1"
+62333-63000 sdcard_sd: bit_0: "0"
+63000-63666 sdcard_sd: bit_0: "0"
+63666-64333 sdcard_sd: bit_1: "1"
+64333-65000 sdcard_sd: bit_0: "0"
+65000-65666 sdcard_sd: bit_0: "0"
+65666-66333 sdcard_sd: bit_0: "0"
+66333-66999 sdcard_sd: bit_0: "0"
+66999-67666 sdcard_sd: bit_0: "0"
+67666-68333 sdcard_sd: bit_0: "0"
+68333-68999 sdcard_sd: bit_0: "0"
+68999-69666 sdcard_sd: bit_0: "0"
+69666-70333 sdcard_sd: bit_1: "1"
+70333-70999 sdcard_sd: bit_1: "1"
+70999-71666 sdcard_sd: bit_0: "0"
+71666-72332 sdcard_sd: bit_1: "1"
+72332-72999 sdcard_sd: bit_1: "1"
+72999-73666 sdcard_sd: bit_1: "1"
+73666-74332 sdcard_sd: bit_0: "0"
+74332-74998 sdcard_sd: bit_1: "1"
+43001-43668 sdcard_sd: field-start: "Start bit" "Start" "S"
+43668-44334 sdcard_sd: field-transmission: "Transmission: card" "T: card" "T"
+44334-48334 sdcard_sd: field-cmd: "Command: SWITCH_FUNC (6)" "Cmd: SWITCH_FUNC (6)" "CMD6" "Cmd" "C"
+48334-69666 sdcard_sd: field-arg: "Argument: 0x00000900" "Arg" "A"
+69666-74332 sdcard_sd: field-crc: "CRC: 0x6e" "CRC" "C"
+74332-74998 sdcard_sd: field-end: "End bit" "End" "E"
+43001-74998 sdcard_sd: response_r1: "Response: R1"
+48334-69666 sdcard_sd: decoded-field: "Card status" "Status" "S"
+48334-49001 sdcard_sd: reg_status_out_of_range: "OUT_OF_RANGE"
+49001-49667 sdcard_sd: reg_status_address_error: "ADDRESS_ERROR"
+49667-50334 sdcard_sd: reg_status_block_len_error: "BLOCK_LEN_ERROR"
+50334-51001 sdcard_sd: reg_status_erase_seq_error: "ERASE_SEQ_ERROR"
+51001-51667 sdcard_sd: reg_status_erase_param: "ERASE_PARAM"
+51667-52334 sdcard_sd: reg_status_wp_violation: "WP_VIOLATION"
+52334-53000 sdcard_sd: reg_status_card_is_locked: "CARD_IS_LOCKED"
+53000-53667 sdcard_sd: reg_status_lock_unlock_failed: "LOCK_UNLOCK_FAILED"
+53667-54334 sdcard_sd: reg_status_com_crc_error: "COM_CRC_ERROR"
+54334-55000 sdcard_sd: reg_status_illegal_command: "ILLEGAL_COMMAND"
+55000-55667 sdcard_sd: reg_status_card_ecc_failed: "CARD_ECC_FAILED"
+55667-56334 sdcard_sd: reg_status_cc_error: "CC_ERROR"
+56334-57000 sdcard_sd: reg_status_error: "ERROR"
+57000-57667 sdcard_sd: reg_status_rsvd: "Reserved" "RSVD" "R"
+57667-58333 sdcard_sd: reg_status_rsvd_deferred_response: "Reserved for DEFERRED_RESPONSE" "RSVD_DEFERRED_RESPONSE"
+58333-59000 sdcard_sd: reg_status_csd_overwrite: "CSD_OVERWRITE"
+59000-59667 sdcard_sd: reg_status_wp_erase_skip: "WP_ERASE_SKIP"
+59667-60333 sdcard_sd: reg_status_card_ecc_disabled: "CARD_ECC_DISABLED"
+60333-61000 sdcard_sd: reg_status_erase_reset: "ERASE_RESET"
+61000-63666 sdcard_sd: reg_status_current_state: "CURRENT_STATE"
+63666-64333 sdcard_sd: reg_status_ready_for_data: "READY_FOR_DATA"
+64333-65000 sdcard_sd: reg_status_rsvd: "RSVD"
+65000-65666 sdcard_sd: reg_status_fx_event: "FX_EVENT"
+65666-66333 sdcard_sd: reg_status_app_cmd: "APP_CMD"
+66333-66999 sdcard_sd: reg_status_rsvd_sdio: "Reserved for SDIO card" "RSVD_SDIO"
+66999-67666 sdcard_sd: reg_status_ake_seq_error: "AKE_SEQ_ERROR"
+67666-68333 sdcard_sd: reg_status_rsvd_app_cmd: "Reserved for application specific commands" "RSVD_APP_CMD"
+68333-69666 sdcard_sd: reg_status_rsvd_testmode: "Reserved for manufacturer test mode" "RSVD_TESTMODE"
diff --git a/decoder/test/sdcard_sd/unknown_card_cmd7_r6.output b/decoder/test/sdcard_sd/unknown_card_cmd7_r6.output
new file mode 100644 (file)
index 0000000..37f87ba
--- /dev/null
@@ -0,0 +1,112 @@
+6674-7340 sdcard_sd: bit_0: "0"
+7340-8007 sdcard_sd: bit_1: "1"
+8007-8674 sdcard_sd: bit_0: "0"
+8674-9340 sdcard_sd: bit_0: "0"
+9340-10007 sdcard_sd: bit_0: "0"
+10007-10674 sdcard_sd: bit_1: "1"
+10674-11340 sdcard_sd: bit_1: "1"
+11340-12007 sdcard_sd: bit_1: "1"
+12007-12673 sdcard_sd: bit_1: "1"
+12673-13340 sdcard_sd: bit_0: "0"
+13340-14007 sdcard_sd: bit_1: "1"
+14007-14673 sdcard_sd: bit_1: "1"
+14673-15340 sdcard_sd: bit_0: "0"
+15340-16006 sdcard_sd: bit_0: "0"
+16006-16673 sdcard_sd: bit_1: "1"
+16673-17340 sdcard_sd: bit_1: "1"
+17340-18006 sdcard_sd: bit_0: "0"
+18006-18673 sdcard_sd: bit_1: "1"
+18673-19340 sdcard_sd: bit_1: "1"
+19340-20006 sdcard_sd: bit_0: "0"
+20006-20673 sdcard_sd: bit_1: "1"
+20673-21339 sdcard_sd: bit_0: "0"
+21339-22006 sdcard_sd: bit_0: "0"
+22006-22673 sdcard_sd: bit_0: "0"
+22673-23339 sdcard_sd: bit_0: "0"
+23339-24006 sdcard_sd: bit_0: "0"
+24006-24673 sdcard_sd: bit_0: "0"
+24673-25339 sdcard_sd: bit_0: "0"
+25339-26006 sdcard_sd: bit_0: "0"
+26006-26672 sdcard_sd: bit_0: "0"
+26672-27339 sdcard_sd: bit_0: "0"
+27339-28006 sdcard_sd: bit_0: "0"
+28006-28672 sdcard_sd: bit_0: "0"
+28672-29339 sdcard_sd: bit_0: "0"
+29339-30005 sdcard_sd: bit_0: "0"
+30005-30672 sdcard_sd: bit_0: "0"
+30672-31339 sdcard_sd: bit_0: "0"
+31339-32005 sdcard_sd: bit_0: "0"
+32005-32672 sdcard_sd: bit_0: "0"
+32672-33339 sdcard_sd: bit_0: "0"
+33339-34005 sdcard_sd: bit_0: "0"
+34005-34672 sdcard_sd: bit_1: "1"
+34672-35338 sdcard_sd: bit_1: "1"
+35338-36005 sdcard_sd: bit_0: "0"
+36005-36672 sdcard_sd: bit_0: "0"
+36672-37338 sdcard_sd: bit_0: "0"
+37338-38005 sdcard_sd: bit_0: "0"
+38005-38672 sdcard_sd: bit_1: "1"
+6674-7340 sdcard_sd: field-start: "Start bit" "Start" "S"
+7340-8007 sdcard_sd: field-transmission: "Transmission: host" "T: host" "T"
+8007-12007 sdcard_sd: field-cmd: "Command: SELECT/DESELECT_CARD (7)" "Cmd: SELECT/DESELECT_CARD (7)" "CMD7" "Cmd" "C"
+12007-33339 sdcard_sd: field-arg: "Argument: 0xb3680000" "Arg" "A"
+33339-38005 sdcard_sd: field-crc: "CRC: 0x30" "CRC" "C"
+38005-38672 sdcard_sd: field-end: "End bit" "End" "E"
+6674-38672 sdcard_sd: cmd7: "CMD7 (SELECT/DESELECT_CARD): Select / deselect card" "CMD7 (SELECT/DESELECT_CARD)" "CMD7"
+46004-46671 sdcard_sd: bit_0: "0"
+46671-47338 sdcard_sd: bit_0: "0"
+47338-48004 sdcard_sd: bit_0: "0"
+48004-48671 sdcard_sd: bit_0: "0"
+48671-49337 sdcard_sd: bit_0: "0"
+49337-50004 sdcard_sd: bit_1: "1"
+50004-50671 sdcard_sd: bit_1: "1"
+50671-51337 sdcard_sd: bit_1: "1"
+51337-52004 sdcard_sd: bit_0: "0"
+52004-52671 sdcard_sd: bit_0: "0"
+52671-53337 sdcard_sd: bit_0: "0"
+53337-54004 sdcard_sd: bit_0: "0"
+54004-54670 sdcard_sd: bit_0: "0"
+54670-55337 sdcard_sd: bit_0: "0"
+55337-56004 sdcard_sd: bit_0: "0"
+56004-56670 sdcard_sd: bit_0: "0"
+56670-57337 sdcard_sd: bit_0: "0"
+57337-58003 sdcard_sd: bit_0: "0"
+58003-58670 sdcard_sd: bit_0: "0"
+58670-59337 sdcard_sd: bit_0: "0"
+59337-60003 sdcard_sd: bit_0: "0"
+60003-60670 sdcard_sd: bit_0: "0"
+60670-61337 sdcard_sd: bit_0: "0"
+61337-62003 sdcard_sd: bit_0: "0"
+62003-62670 sdcard_sd: bit_0: "0"
+62670-63336 sdcard_sd: bit_0: "0"
+63336-64003 sdcard_sd: bit_0: "0"
+64003-64670 sdcard_sd: bit_0: "0"
+64670-65336 sdcard_sd: bit_0: "0"
+65336-66003 sdcard_sd: bit_1: "1"
+66003-66670 sdcard_sd: bit_1: "1"
+66670-67336 sdcard_sd: bit_1: "1"
+67336-68003 sdcard_sd: bit_0: "0"
+68003-68669 sdcard_sd: bit_0: "0"
+68669-69336 sdcard_sd: bit_0: "0"
+69336-70003 sdcard_sd: bit_0: "0"
+70003-70669 sdcard_sd: bit_0: "0"
+70669-71336 sdcard_sd: bit_0: "0"
+71336-72002 sdcard_sd: bit_0: "0"
+72002-72669 sdcard_sd: bit_0: "0"
+72669-73336 sdcard_sd: bit_0: "0"
+73336-74002 sdcard_sd: bit_1: "1"
+74002-74669 sdcard_sd: bit_1: "1"
+74669-75336 sdcard_sd: bit_1: "1"
+75336-76002 sdcard_sd: bit_0: "0"
+76002-76669 sdcard_sd: bit_1: "1"
+76669-77335 sdcard_sd: bit_0: "0"
+77335-78001 sdcard_sd: bit_1: "1"
+46004-46671 sdcard_sd: field-start: "Start bit" "Start" "S"
+46671-47338 sdcard_sd: field-transmission: "Transmission: card" "T: card" "T"
+47338-51337 sdcard_sd: field-cmd: "Command: SELECT/DESELECT_CARD (7)" "Cmd: SELECT/DESELECT_CARD (7)" "CMD7" "Cmd" "C"
+51337-72669 sdcard_sd: field-arg: "Argument: 0x00000700" "Arg" "A"
+72669-77335 sdcard_sd: field-crc: "CRC: 0x3a" "CRC" "C"
+77335-78001 sdcard_sd: field-end: "End bit" "End" "E"
+62003-72669 sdcard_sd: decoded-field: "Card status bits" "Status" "S"
+51337-62003 sdcard_sd: decoded-field: "Relative card address" "RCA" "R"
+46004-78001 sdcard_sd: response_r6: "Response: R6"
diff --git a/decoder/test/sdcard_sd/unknown_card_cmd9_r2.output b/decoder/test/sdcard_sd/unknown_card_cmd9_r2.output
new file mode 100644 (file)
index 0000000..132274f
--- /dev/null
@@ -0,0 +1,235 @@
+10632-11298 sdcard_sd: bit_0: "0"
+11298-11965 sdcard_sd: bit_1: "1"
+11965-12632 sdcard_sd: bit_0: "0"
+12632-13298 sdcard_sd: bit_0: "0"
+13298-13965 sdcard_sd: bit_1: "1"
+13965-14632 sdcard_sd: bit_0: "0"
+14632-15298 sdcard_sd: bit_0: "0"
+15298-15965 sdcard_sd: bit_1: "1"
+15965-16631 sdcard_sd: bit_1: "1"
+16631-17298 sdcard_sd: bit_0: "0"
+17298-17965 sdcard_sd: bit_1: "1"
+17965-18631 sdcard_sd: bit_1: "1"
+18631-19298 sdcard_sd: bit_0: "0"
+19298-19965 sdcard_sd: bit_0: "0"
+19965-20631 sdcard_sd: bit_1: "1"
+20631-21298 sdcard_sd: bit_1: "1"
+21298-21964 sdcard_sd: bit_0: "0"
+21964-22631 sdcard_sd: bit_1: "1"
+22631-23298 sdcard_sd: bit_1: "1"
+23298-23964 sdcard_sd: bit_0: "0"
+23964-24631 sdcard_sd: bit_1: "1"
+24631-25297 sdcard_sd: bit_0: "0"
+25297-25964 sdcard_sd: bit_0: "0"
+25964-26631 sdcard_sd: bit_0: "0"
+26631-27297 sdcard_sd: bit_0: "0"
+27297-27964 sdcard_sd: bit_0: "0"
+27964-28631 sdcard_sd: bit_0: "0"
+28631-29297 sdcard_sd: bit_0: "0"
+29297-29964 sdcard_sd: bit_0: "0"
+29964-30630 sdcard_sd: bit_0: "0"
+30630-31297 sdcard_sd: bit_0: "0"
+31297-31964 sdcard_sd: bit_0: "0"
+31964-32630 sdcard_sd: bit_0: "0"
+32630-33297 sdcard_sd: bit_0: "0"
+33297-33963 sdcard_sd: bit_0: "0"
+33963-34630 sdcard_sd: bit_0: "0"
+34630-35297 sdcard_sd: bit_0: "0"
+35297-35963 sdcard_sd: bit_0: "0"
+35963-36630 sdcard_sd: bit_0: "0"
+36630-37297 sdcard_sd: bit_0: "0"
+37297-37963 sdcard_sd: bit_0: "0"
+37963-38630 sdcard_sd: bit_1: "1"
+38630-39296 sdcard_sd: bit_0: "0"
+39296-39963 sdcard_sd: bit_0: "0"
+39963-40630 sdcard_sd: bit_1: "1"
+40630-41296 sdcard_sd: bit_1: "1"
+41296-41963 sdcard_sd: bit_0: "0"
+41963-42630 sdcard_sd: bit_1: "1"
+10632-11298 sdcard_sd: field-start: "Start bit" "Start" "S"
+11298-11965 sdcard_sd: field-transmission: "Transmission: host" "T: host" "T"
+11965-15965 sdcard_sd: field-cmd: "Command: SEND_CSD (9)" "Cmd: SEND_CSD (9)" "CMD9" "Cmd" "C"
+15965-37297 sdcard_sd: field-arg: "Argument: 0xb3680000" "Arg" "A"
+37297-41963 sdcard_sd: field-crc: "CRC: 0x26" "CRC" "C"
+41963-42630 sdcard_sd: field-end: "End bit" "End" "E"
+15965-26631 sdcard_sd: decoded-field: "RCA" "R"
+26631-37297 sdcard_sd: decoded-field: "Stuff bits" "Stuff" "SB" "S"
+10632-42630 sdcard_sd: cmd9: "CMD9 (SEND_CSD): Send card-specific data (CSD)" "CMD9 (SEND_CSD)" "CMD9"
+49962-50629 sdcard_sd: bit_0: "0"
+50629-51296 sdcard_sd: bit_0: "0"
+51296-51962 sdcard_sd: bit_1: "1"
+51962-52629 sdcard_sd: bit_1: "1"
+52629-53295 sdcard_sd: bit_1: "1"
+53295-53962 sdcard_sd: bit_1: "1"
+53962-54629 sdcard_sd: bit_1: "1"
+54629-55295 sdcard_sd: bit_1: "1"
+55295-55962 sdcard_sd: bit_0: "0"
+55962-56629 sdcard_sd: bit_0: "0"
+56629-57295 sdcard_sd: bit_0: "0"
+57295-57962 sdcard_sd: bit_0: "0"
+57962-58628 sdcard_sd: bit_0: "0"
+58628-59295 sdcard_sd: bit_0: "0"
+59295-59962 sdcard_sd: bit_0: "0"
+59962-60628 sdcard_sd: bit_0: "0"
+60628-61295 sdcard_sd: bit_0: "0"
+61295-61961 sdcard_sd: bit_1: "1"
+61961-62628 sdcard_sd: bit_0: "0"
+62628-63295 sdcard_sd: bit_1: "1"
+63295-63961 sdcard_sd: bit_1: "1"
+63961-64628 sdcard_sd: bit_1: "1"
+64628-65295 sdcard_sd: bit_1: "1"
+65295-65961 sdcard_sd: bit_0: "0"
+65961-66628 sdcard_sd: bit_0: "0"
+66628-67294 sdcard_sd: bit_0: "0"
+67294-67961 sdcard_sd: bit_0: "0"
+67961-68628 sdcard_sd: bit_0: "0"
+68628-69294 sdcard_sd: bit_0: "0"
+69294-69961 sdcard_sd: bit_0: "0"
+69961-70628 sdcard_sd: bit_0: "0"
+70628-71294 sdcard_sd: bit_0: "0"
+71294-71961 sdcard_sd: bit_0: "0"
+71961-72627 sdcard_sd: bit_0: "0"
+72627-73294 sdcard_sd: bit_1: "1"
+73294-73961 sdcard_sd: bit_1: "1"
+73961-74627 sdcard_sd: bit_0: "0"
+74627-75294 sdcard_sd: bit_0: "0"
+75294-75961 sdcard_sd: bit_1: "1"
+75961-76627 sdcard_sd: bit_0: "0"
+76627-77294 sdcard_sd: bit_0: "0"
+77294-77960 sdcard_sd: bit_1: "1"
+77960-78627 sdcard_sd: bit_0: "0"
+78627-79294 sdcard_sd: bit_1: "1"
+79294-79960 sdcard_sd: bit_1: "1"
+79960-80627 sdcard_sd: bit_1: "1"
+80627-81293 sdcard_sd: bit_1: "1"
+81293-81960 sdcard_sd: bit_1: "1"
+81960-82627 sdcard_sd: bit_0: "0"
+82627-83293 sdcard_sd: bit_1: "1"
+83293-83960 sdcard_sd: bit_0: "0"
+83960-84627 sdcard_sd: bit_1: "1"
+84627-85293 sdcard_sd: bit_1: "1"
+85293-85960 sdcard_sd: bit_0: "0"
+85960-86626 sdcard_sd: bit_0: "0"
+86626-87293 sdcard_sd: bit_1: "1"
+87293-87960 sdcard_sd: bit_1: "1"
+87960-88626 sdcard_sd: bit_0: "0"
+88626-89293 sdcard_sd: bit_0: "0"
+89293-89960 sdcard_sd: bit_0: "0"
+89960-90626 sdcard_sd: bit_0: "0"
+90626-91293 sdcard_sd: bit_0: "0"
+91293-91959 sdcard_sd: bit_1: "1"
+91959-92626 sdcard_sd: bit_1: "1"
+92626-93293 sdcard_sd: bit_1: "1"
+93293-93959 sdcard_sd: bit_1: "1"
+93959-94626 sdcard_sd: bit_0: "0"
+94626-95292 sdcard_sd: bit_1: "1"
+95292-95959 sdcard_sd: bit_0: "0"
+95959-96626 sdcard_sd: bit_0: "0"
+96626-97292 sdcard_sd: bit_1: "1"
+97292-97959 sdcard_sd: bit_0: "0"
+97959-98626 sdcard_sd: bit_1: "1"
+98626-99292 sdcard_sd: bit_1: "1"
+99292-99959 sdcard_sd: bit_1: "1"
+99959-100625 sdcard_sd: bit_0: "0"
+100625-101292 sdcard_sd: bit_1: "1"
+101292-101959 sdcard_sd: bit_1: "1"
+101959-102625 sdcard_sd: bit_0: "0"
+102625-103292 sdcard_sd: bit_1: "1"
+103292-103958 sdcard_sd: bit_1: "1"
+103958-104625 sdcard_sd: bit_0: "0"
+104625-105292 sdcard_sd: bit_1: "1"
+105292-105958 sdcard_sd: bit_1: "1"
+105958-106625 sdcard_sd: bit_0: "0"
+106625-107292 sdcard_sd: bit_1: "1"
+107292-107958 sdcard_sd: bit_1: "1"
+107958-108625 sdcard_sd: bit_1: "1"
+108625-109291 sdcard_sd: bit_0: "0"
+109291-109958 sdcard_sd: bit_1: "1"
+109958-110625 sdcard_sd: bit_1: "1"
+110625-111291 sdcard_sd: bit_1: "1"
+111291-111958 sdcard_sd: bit_1: "1"
+111958-112625 sdcard_sd: bit_1: "1"
+112625-113291 sdcard_sd: bit_1: "1"
+113291-113958 sdcard_sd: bit_1: "1"
+113958-114624 sdcard_sd: bit_1: "1"
+114624-115291 sdcard_sd: bit_0: "0"
+115291-115958 sdcard_sd: bit_0: "0"
+115958-116624 sdcard_sd: bit_0: "0"
+116624-117291 sdcard_sd: bit_1: "1"
+117291-117958 sdcard_sd: bit_1: "1"
+117958-118624 sdcard_sd: bit_1: "1"
+118624-119291 sdcard_sd: bit_1: "1"
+119291-119957 sdcard_sd: bit_1: "1"
+119957-120624 sdcard_sd: bit_0: "0"
+120624-121291 sdcard_sd: bit_0: "0"
+121291-121957 sdcard_sd: bit_1: "1"
+121957-122624 sdcard_sd: bit_0: "0"
+122624-123290 sdcard_sd: bit_1: "1"
+123290-123957 sdcard_sd: bit_1: "1"
+123957-124624 sdcard_sd: bit_0: "0"
+124624-125290 sdcard_sd: bit_0: "0"
+125290-125957 sdcard_sd: bit_1: "1"
+125957-126624 sdcard_sd: bit_0: "0"
+126624-127290 sdcard_sd: bit_0: "0"
+127290-127957 sdcard_sd: bit_0: "0"
+127957-128623 sdcard_sd: bit_0: "0"
+128623-129290 sdcard_sd: bit_0: "0"
+129290-129957 sdcard_sd: bit_0: "0"
+129957-130623 sdcard_sd: bit_0: "0"
+130623-131290 sdcard_sd: bit_0: "0"
+131290-131956 sdcard_sd: bit_0: "0"
+131956-132623 sdcard_sd: bit_0: "0"
+132623-133290 sdcard_sd: bit_0: "0"
+133290-133956 sdcard_sd: bit_0: "0"
+133956-134623 sdcard_sd: bit_0: "0"
+134623-135290 sdcard_sd: bit_0: "0"
+135290-135956 sdcard_sd: bit_1: "1"
+135956-136623 sdcard_sd: bit_1: "1"
+136623-137289 sdcard_sd: bit_1: "1"
+137289-137956 sdcard_sd: bit_1: "1"
+137956-138623 sdcard_sd: bit_0: "0"
+138623-139289 sdcard_sd: bit_1: "1"
+139289-139956 sdcard_sd: bit_1: "1"
+139956-140623 sdcard_sd: bit_1: "1"
+49962-50629 sdcard_sd: field-start: "Start bit" "Start" "S"
+50629-51296 sdcard_sd: field-transmission: "Transmission: card" "T: card" "T"
+51296-55295 sdcard_sd: field-cmd: "Reserved" "Res" "R"
+55295-139956 sdcard_sd: field-arg: "Argument" "Arg" "A"
+139956-140623 sdcard_sd: field-end: "End bit" "End" "E"
+55295-139956 sdcard_sd: decoded-field: "CID/CSD register" "CID/CSD" "C"
+49962-140623 sdcard_sd: response_r2: "Response: R2"
+55295-56629 sdcard_sd: reg_csd_csd_structure: "CSD structure" "CSD_STRUCTURE"
+56629-60628 sdcard_sd: reg_csd_rsvd: "Reserved" "RSVD" "R"
+60628-65961 sdcard_sd: reg_csd_taac: "Data read access-time - 1" "TAAC"
+65961-71294 sdcard_sd: reg_csd_nsac: "Data read access-time - 2 in CLK cycles (NSAC * 100)" "NSAC"
+71294-76627 sdcard_sd: reg_csd_tran_speed: "Max. data transfer rate" "TRAN_SPEED"
+76627-84627 sdcard_sd: reg_csd_ccc: "Card command classes" "CCC"
+84627-87293 sdcard_sd: reg_csd_read_bl_len: "Max. read data block length" "READ_BL_LEN"
+87293-87960 sdcard_sd: reg_csd_read_bl_partial: "Partial blocks for read allowed" "READ_BL_PARTIAL"
+87960-88626 sdcard_sd: reg_csd_write_blk_misalign: "Write block misalignment" "WRITE_BLK_MISALIGN"
+88626-89293 sdcard_sd: reg_csd_read_blk_misalign: "Read block misalignment" "READ_BLK_MISALIGN"
+89293-89960 sdcard_sd: reg_csd_dsr_imp: "DSR implemented" "DSR_IMP"
+89960-91293 sdcard_sd: reg_csd_rsvd: "Reserved" "RSVD" "R"
+91293-99292 sdcard_sd: reg_csd_c_size: "Device size" "C_SIZE"
+99292-101292 sdcard_sd: reg_csd_vdd_r_curr_min: "Max. read current @VDD min" "VDD_R_CURR_MIN"
+101292-103292 sdcard_sd: reg_csd_vdd_r_curr_max: "Max. read current @VDD max" "VDD_R_CURR_MAX"
+103292-105292 sdcard_sd: reg_csd_vdd_w_curr_min: "Max. write current @VDD min" "VDD_W_CURR_MIN"
+105292-107292 sdcard_sd: reg_csd_vdd_w_curr_max: "Max. write current @VDD max" "VDD_W_CURR_MAX"
+107292-109291 sdcard_sd: reg_csd_c_size_mult: "Device size multiplier" "C_SIZE_MULT"
+109291-109958 sdcard_sd: reg_csd_erase_blk_en: "Erase single block enable" "ERASE_BLK_EN"
+109958-114624 sdcard_sd: reg_csd_sector_size: "Erase sector size" "SECTOR_SIZE"
+114624-119291 sdcard_sd: reg_csd_wp_grp_size: "Write protect group size" "WP_GRP_SIZE"
+119291-119957 sdcard_sd: reg_csd_wp_grp_enable: "Write protect group enable" "WP_GRP_ENABLE"
+119957-121291 sdcard_sd: reg_csd_rsvd: "Reserved" "RSVD" "R"
+121291-123290 sdcard_sd: reg_csd_r2w_factor: "Write speed factor" "R2W_FACTOR"
+123290-125957 sdcard_sd: reg_csd_write_bl_len: "Max. write data block length" "WRITE_BL_LEN"
+125957-126624 sdcard_sd: reg_csd_write_bl_partial: "Partial blocks for write allowed" "WRITE_BL_PARTIAL"
+126624-129957 sdcard_sd: reg_csd_rsvd: "Reserved" "RSVD"
+129957-130623 sdcard_sd: reg_csd_file_format_grp: "File format group" "FILE_FORMAT_GRP"
+130623-131290 sdcard_sd: reg_csd_copy: "Copy flag" "COPY"
+131290-131956 sdcard_sd: reg_csd_perm_write_protect: "Permanent write protection" "PERM_WRITE_PROTECT"
+131956-132623 sdcard_sd: reg_csd_tmp_write_protect: "Temporary write protection" "TMP_WRITE_PROTECT"
+132623-133956 sdcard_sd: reg_csd_file_format: "File format" "FILE_FORMAT"
+133956-135290 sdcard_sd: reg_csd_rsvd: "Reserved" "RSVD" "R"
+135290-139956 sdcard_sd: reg_csd_crc: "CRC" "CRC" "C"
+139956-140623 sdcard_sd: reg_csd_one: "Always 1" "1"