]> sigrok.org Git - sigrok-test.git/commitdiff
sdcard_sd: add CMD23 test
authorWolfram Sang <redacted>
Sun, 14 May 2017 09:30:15 +0000 (11:30 +0200)
committerUwe Hermann <redacted>
Sun, 21 May 2017 16:31:28 +0000 (18:31 +0200)
Signed-off-by: Wolfram Sang <redacted>
decoder/test/sdcard_sd/r-car-h2_cmd23_cmd18.output [new file with mode: 0644]
decoder/test/sdcard_sd/test.conf

diff --git a/decoder/test/sdcard_sd/r-car-h2_cmd23_cmd18.output b/decoder/test/sdcard_sd/r-car-h2_cmd23_cmd18.output
new file mode 100644 (file)
index 0000000..6a2ccf1
--- /dev/null
@@ -0,0 +1,286 @@
+127-129 sdcard_sd: bits: "0"
+129-131 sdcard_sd: bits: "1"
+131-133 sdcard_sd: bits: "0"
+133-135 sdcard_sd: bits: "1"
+135-137 sdcard_sd: bits: "0"
+137-139 sdcard_sd: bits: "1"
+139-141 sdcard_sd: bits: "1"
+141-143 sdcard_sd: bits: "1"
+143-145 sdcard_sd: bits: "0"
+145-147 sdcard_sd: bits: "0"
+147-149 sdcard_sd: bits: "0"
+149-151 sdcard_sd: bits: "0"
+151-153 sdcard_sd: bits: "0"
+153-155 sdcard_sd: bits: "0"
+155-157 sdcard_sd: bits: "0"
+157-159 sdcard_sd: bits: "0"
+159-162 sdcard_sd: bits: "0"
+162-164 sdcard_sd: bits: "0"
+164-166 sdcard_sd: bits: "0"
+166-168 sdcard_sd: bits: "0"
+168-170 sdcard_sd: bits: "0"
+170-172 sdcard_sd: bits: "0"
+172-174 sdcard_sd: bits: "0"
+174-176 sdcard_sd: bits: "0"
+176-178 sdcard_sd: bits: "0"
+178-180 sdcard_sd: bits: "0"
+180-182 sdcard_sd: bits: "0"
+182-184 sdcard_sd: bits: "0"
+184-186 sdcard_sd: bits: "0"
+186-188 sdcard_sd: bits: "0"
+188-190 sdcard_sd: bits: "0"
+190-192 sdcard_sd: bits: "1"
+192-194 sdcard_sd: bits: "0"
+194-196 sdcard_sd: bits: "0"
+196-198 sdcard_sd: bits: "0"
+198-203 sdcard_sd: bits: "0"
+203-205 sdcard_sd: bits: "0"
+205-207 sdcard_sd: bits: "0"
+207-209 sdcard_sd: bits: "0"
+209-211 sdcard_sd: bits: "0"
+211-213 sdcard_sd: bits: "0"
+213-215 sdcard_sd: bits: "1"
+215-217 sdcard_sd: bits: "1"
+217-219 sdcard_sd: bits: "1"
+219-221 sdcard_sd: bits: "0"
+221-223 sdcard_sd: bits: "0"
+223-225 sdcard_sd: bits: "1"
+225-227 sdcard_sd: bits: "1"
+127-129 sdcard_sd: field-start: "Start bit" "Start" "S"
+129-131 sdcard_sd: field-transmission: "Transmission: host" "T: host" "T"
+131-143 sdcard_sd: field-cmd: "Command: SET_BLOCK_COUNT (23)" "Cmd: SET_BLOCK_COUNT (23)" "CMD23" "Cmd" "C"
+143-211 sdcard_sd: field-arg: "Argument: 0x00000100" "Arg" "A"
+211-225 sdcard_sd: field-crc: "CRC: 0x39" "CRC" "C"
+225-227 sdcard_sd: field-end: "End bit" "End" "E"
+127-227 sdcard_sd: cmd23: "CMD23 (SET_BLOCK_COUNT): CMD23" "CMD23 (SET_BLOCK_COUNT)" "CMD23"
+242-244 sdcard_sd: bits: "0"
+244-246 sdcard_sd: bits: "0"
+246-248 sdcard_sd: bits: "0"
+248-250 sdcard_sd: bits: "1"
+250-252 sdcard_sd: bits: "0"
+252-254 sdcard_sd: bits: "1"
+254-256 sdcard_sd: bits: "1"
+256-258 sdcard_sd: bits: "1"
+258-260 sdcard_sd: bits: "0"
+260-262 sdcard_sd: bits: "0"
+262-264 sdcard_sd: bits: "0"
+264-266 sdcard_sd: bits: "0"
+266-268 sdcard_sd: bits: "0"
+268-270 sdcard_sd: bits: "0"
+270-272 sdcard_sd: bits: "0"
+272-274 sdcard_sd: bits: "0"
+274-276 sdcard_sd: bits: "0"
+276-278 sdcard_sd: bits: "0"
+278-281 sdcard_sd: bits: "0"
+281-283 sdcard_sd: bits: "0"
+283-285 sdcard_sd: bits: "0"
+285-287 sdcard_sd: bits: "0"
+287-289 sdcard_sd: bits: "0"
+289-291 sdcard_sd: bits: "0"
+291-293 sdcard_sd: bits: "0"
+293-295 sdcard_sd: bits: "0"
+295-297 sdcard_sd: bits: "0"
+297-299 sdcard_sd: bits: "0"
+299-301 sdcard_sd: bits: "1"
+301-303 sdcard_sd: bits: "0"
+303-305 sdcard_sd: bits: "0"
+305-307 sdcard_sd: bits: "1"
+307-309 sdcard_sd: bits: "0"
+309-311 sdcard_sd: bits: "0"
+311-313 sdcard_sd: bits: "0"
+313-315 sdcard_sd: bits: "0"
+315-317 sdcard_sd: bits: "0"
+317-322 sdcard_sd: bits: "0"
+322-324 sdcard_sd: bits: "0"
+324-326 sdcard_sd: bits: "0"
+326-328 sdcard_sd: bits: "0"
+328-330 sdcard_sd: bits: "0"
+330-332 sdcard_sd: bits: "1"
+332-334 sdcard_sd: bits: "1"
+334-336 sdcard_sd: bits: "1"
+336-338 sdcard_sd: bits: "0"
+338-340 sdcard_sd: bits: "1"
+340-342 sdcard_sd: bits: "1"
+242-244 sdcard_sd: field-start: "Start bit" "Start" "S"
+244-246 sdcard_sd: field-transmission: "Transmission: card" "T: card" "T"
+246-258 sdcard_sd: field-cmd: "Command: SET_BLOCK_COUNT (23)" "Cmd: SET_BLOCK_COUNT (23)" "CMD23" "Cmd" "C"
+258-326 sdcard_sd: field-arg: "Argument: 0x00000900" "Arg" "A"
+326-340 sdcard_sd: field-crc: "CRC: 0x1d" "CRC" "C"
+340-342 sdcard_sd: field-end: "End bit" "End" "E"
+242-342 sdcard_sd: cmd23: "Reply: R1"
+258-326 sdcard_sd: decoded-fields: "Card status" "Status" "S"
+258-260 sdcard_sd: decoded-bits: "OUT_OF_RANGE"
+260-262 sdcard_sd: decoded-bits: "ADDRESS_ERROR"
+262-264 sdcard_sd: decoded-bits: "BLOCK_LEN_ERROR"
+264-266 sdcard_sd: decoded-bits: "ERASE_SEQ_ERROR"
+266-268 sdcard_sd: decoded-bits: "ERASE_PARAM"
+268-270 sdcard_sd: decoded-bits: "WP_VIOLATION"
+270-272 sdcard_sd: decoded-bits: "CARD_IS_LOCKED"
+272-274 sdcard_sd: decoded-bits: "LOCK_UNLOCK_FAILED"
+274-276 sdcard_sd: decoded-bits: "COM_CRC_ERROR"
+276-278 sdcard_sd: decoded-bits: "ILLEGAL_COMMAND"
+278-281 sdcard_sd: decoded-bits: "CARD_ECC_FAILED"
+281-283 sdcard_sd: decoded-bits: "CC_ERROR"
+283-285 sdcard_sd: decoded-bits: "ERROR"
+285-287 sdcard_sd: decoded-bits: "Reserved"
+287-289 sdcard_sd: decoded-bits: "Reserved for DEFERRED_RESPONSE"
+289-291 sdcard_sd: decoded-bits: "CSD_OVERWRITE"
+291-293 sdcard_sd: decoded-bits: "WP_ERASE_SKIP"
+293-295 sdcard_sd: decoded-bits: "CARD_ECC_DISABLED"
+295-297 sdcard_sd: decoded-bits: "ERASE_RESET"
+297-299 sdcard_sd: decoded-bits: "CURRENT_STATE"
+299-301 sdcard_sd: decoded-bits: "CURRENT_STATE"
+301-303 sdcard_sd: decoded-bits: "CURRENT_STATE"
+303-305 sdcard_sd: decoded-bits: "CURRENT_STATE"
+305-307 sdcard_sd: decoded-bits: "READY_FOR_DATA"
+307-309 sdcard_sd: decoded-bits: "Unknown"
+309-311 sdcard_sd: decoded-bits: "Unknown"
+311-313 sdcard_sd: decoded-bits: "APP_CMD"
+313-315 sdcard_sd: decoded-bits: "Reserved for SDIO card"
+315-317 sdcard_sd: decoded-bits: "AKE_SEQ_ERROR"
+317-322 sdcard_sd: decoded-bits: "Reserved for application specific commands"
+322-324 sdcard_sd: decoded-bits: "Reserved for manufacturer test mode"
+324-326 sdcard_sd: decoded-bits: "Reserved for manufacturer test mode"
+3300-3302 sdcard_sd: bits: "0"
+3302-3304 sdcard_sd: bits: "1"
+3304-3306 sdcard_sd: bits: "0"
+3306-3308 sdcard_sd: bits: "1"
+3308-3310 sdcard_sd: bits: "0"
+3310-3312 sdcard_sd: bits: "0"
+3312-3314 sdcard_sd: bits: "1"
+3314-3316 sdcard_sd: bits: "0"
+3316-3318 sdcard_sd: bits: "0"
+3318-3323 sdcard_sd: bits: "0"
+3323-3325 sdcard_sd: bits: "0"
+3325-3327 sdcard_sd: bits: "0"
+3327-3329 sdcard_sd: bits: "0"
+3329-3331 sdcard_sd: bits: "0"
+3331-3333 sdcard_sd: bits: "0"
+3333-3335 sdcard_sd: bits: "0"
+3335-3337 sdcard_sd: bits: "0"
+3337-3339 sdcard_sd: bits: "0"
+3339-3341 sdcard_sd: bits: "0"
+3341-3343 sdcard_sd: bits: "0"
+3343-3345 sdcard_sd: bits: "0"
+3345-3347 sdcard_sd: bits: "1"
+3347-3349 sdcard_sd: bits: "1"
+3349-3351 sdcard_sd: bits: "1"
+3351-3353 sdcard_sd: bits: "0"
+3353-3355 sdcard_sd: bits: "0"
+3355-3357 sdcard_sd: bits: "1"
+3357-3359 sdcard_sd: bits: "1"
+3359-3362 sdcard_sd: bits: "0"
+3362-3364 sdcard_sd: bits: "0"
+3364-3366 sdcard_sd: bits: "1"
+3366-3368 sdcard_sd: bits: "0"
+3368-3370 sdcard_sd: bits: "0"
+3370-3372 sdcard_sd: bits: "1"
+3372-3374 sdcard_sd: bits: "0"
+3374-3376 sdcard_sd: bits: "0"
+3376-3378 sdcard_sd: bits: "0"
+3378-3380 sdcard_sd: bits: "0"
+3380-3382 sdcard_sd: bits: "0"
+3382-3384 sdcard_sd: bits: "0"
+3384-3386 sdcard_sd: bits: "0"
+3386-3388 sdcard_sd: bits: "0"
+3388-3390 sdcard_sd: bits: "1"
+3390-3392 sdcard_sd: bits: "0"
+3392-3394 sdcard_sd: bits: "1"
+3394-3396 sdcard_sd: bits: "0"
+3396-3398 sdcard_sd: bits: "1"
+3398-3400 sdcard_sd: bits: "1"
+3300-3302 sdcard_sd: field-start: "Start bit" "Start" "S"
+3302-3304 sdcard_sd: field-transmission: "Transmission: host" "T: host" "T"
+3304-3316 sdcard_sd: field-cmd: "Command: READ_MULTIPLE_BLOCK (18)" "Cmd: READ_MULTIPLE_BLOCK (18)" "CMD18" "Cmd" "C"
+3316-3384 sdcard_sd: field-arg: "Argument: 0x00073240" "Arg" "A"
+3384-3398 sdcard_sd: field-crc: "CRC: 0x15" "CRC" "C"
+3398-3400 sdcard_sd: field-end: "End bit" "End" "E"
+3300-3400 sdcard_sd: cmd18: "CMD18 (READ_MULTIPLE_BLOCK): CMD18" "CMD18 (READ_MULTIPLE_BLOCK)" "CMD18"
+3415-3417 sdcard_sd: bits: "0"
+3417-3419 sdcard_sd: bits: "0"
+3419-3421 sdcard_sd: bits: "0"
+3421-3423 sdcard_sd: bits: "1"
+3423-3425 sdcard_sd: bits: "0"
+3425-3427 sdcard_sd: bits: "0"
+3427-3429 sdcard_sd: bits: "1"
+3429-3431 sdcard_sd: bits: "0"
+3431-3433 sdcard_sd: bits: "0"
+3433-3435 sdcard_sd: bits: "0"
+3435-3437 sdcard_sd: bits: "0"
+3437-3439 sdcard_sd: bits: "0"
+3439-3442 sdcard_sd: bits: "0"
+3442-3444 sdcard_sd: bits: "0"
+3444-3446 sdcard_sd: bits: "0"
+3446-3448 sdcard_sd: bits: "0"
+3448-3450 sdcard_sd: bits: "0"
+3450-3452 sdcard_sd: bits: "0"
+3452-3454 sdcard_sd: bits: "0"
+3454-3456 sdcard_sd: bits: "0"
+3456-3458 sdcard_sd: bits: "0"
+3458-3460 sdcard_sd: bits: "0"
+3460-3462 sdcard_sd: bits: "0"
+3462-3464 sdcard_sd: bits: "0"
+3464-3466 sdcard_sd: bits: "0"
+3466-3468 sdcard_sd: bits: "0"
+3468-3470 sdcard_sd: bits: "0"
+3470-3472 sdcard_sd: bits: "0"
+3472-3474 sdcard_sd: bits: "1"
+3474-3476 sdcard_sd: bits: "0"
+3476-3478 sdcard_sd: bits: "0"
+3478-3483 sdcard_sd: bits: "1"
+3483-3485 sdcard_sd: bits: "0"
+3485-3487 sdcard_sd: bits: "0"
+3487-3489 sdcard_sd: bits: "0"
+3489-3491 sdcard_sd: bits: "0"
+3491-3493 sdcard_sd: bits: "0"
+3493-3495 sdcard_sd: bits: "0"
+3495-3497 sdcard_sd: bits: "0"
+3497-3499 sdcard_sd: bits: "1"
+3499-3501 sdcard_sd: bits: "1"
+3501-3503 sdcard_sd: bits: "0"
+3503-3505 sdcard_sd: bits: "1"
+3505-3507 sdcard_sd: bits: "0"
+3507-3509 sdcard_sd: bits: "0"
+3509-3511 sdcard_sd: bits: "1"
+3511-3513 sdcard_sd: bits: "1"
+3513-3515 sdcard_sd: bits: "1"
+3415-3417 sdcard_sd: field-start: "Start bit" "Start" "S"
+3417-3419 sdcard_sd: field-transmission: "Transmission: card" "T: card" "T"
+3419-3431 sdcard_sd: field-cmd: "Command: READ_MULTIPLE_BLOCK (18)" "Cmd: READ_MULTIPLE_BLOCK (18)" "CMD18" "Cmd" "C"
+3431-3499 sdcard_sd: field-arg: "Argument: 0x00000901" "Arg" "A"
+3499-3513 sdcard_sd: field-crc: "CRC: 0x53" "CRC" "C"
+3513-3515 sdcard_sd: field-end: "End bit" "End" "E"
+3415-3515 sdcard_sd: cmd18: "Reply: R1"
+3431-3499 sdcard_sd: decoded-fields: "Card status" "Status" "S"
+3431-3433 sdcard_sd: decoded-bits: "OUT_OF_RANGE"
+3433-3435 sdcard_sd: decoded-bits: "ADDRESS_ERROR"
+3435-3437 sdcard_sd: decoded-bits: "BLOCK_LEN_ERROR"
+3437-3439 sdcard_sd: decoded-bits: "ERASE_SEQ_ERROR"
+3439-3442 sdcard_sd: decoded-bits: "ERASE_PARAM"
+3442-3444 sdcard_sd: decoded-bits: "WP_VIOLATION"
+3444-3446 sdcard_sd: decoded-bits: "CARD_IS_LOCKED"
+3446-3448 sdcard_sd: decoded-bits: "LOCK_UNLOCK_FAILED"
+3448-3450 sdcard_sd: decoded-bits: "COM_CRC_ERROR"
+3450-3452 sdcard_sd: decoded-bits: "ILLEGAL_COMMAND"
+3452-3454 sdcard_sd: decoded-bits: "CARD_ECC_FAILED"
+3454-3456 sdcard_sd: decoded-bits: "CC_ERROR"
+3456-3458 sdcard_sd: decoded-bits: "ERROR"
+3458-3460 sdcard_sd: decoded-bits: "Reserved"
+3460-3462 sdcard_sd: decoded-bits: "Reserved for DEFERRED_RESPONSE"
+3462-3464 sdcard_sd: decoded-bits: "CSD_OVERWRITE"
+3464-3466 sdcard_sd: decoded-bits: "WP_ERASE_SKIP"
+3466-3468 sdcard_sd: decoded-bits: "CARD_ECC_DISABLED"
+3468-3470 sdcard_sd: decoded-bits: "ERASE_RESET"
+3470-3472 sdcard_sd: decoded-bits: "CURRENT_STATE"
+3472-3474 sdcard_sd: decoded-bits: "CURRENT_STATE"
+3474-3476 sdcard_sd: decoded-bits: "CURRENT_STATE"
+3476-3478 sdcard_sd: decoded-bits: "CURRENT_STATE"
+3478-3483 sdcard_sd: decoded-bits: "READY_FOR_DATA"
+3483-3485 sdcard_sd: decoded-bits: "Unknown"
+3485-3487 sdcard_sd: decoded-bits: "Unknown"
+3487-3489 sdcard_sd: decoded-bits: "APP_CMD"
+3489-3491 sdcard_sd: decoded-bits: "Reserved for SDIO card"
+3491-3493 sdcard_sd: decoded-bits: "AKE_SEQ_ERROR"
+3493-3495 sdcard_sd: decoded-bits: "Reserved for application specific commands"
+3495-3497 sdcard_sd: decoded-bits: "Reserved for manufacturer test mode"
+3497-3499 sdcard_sd: decoded-bits: "Reserved for manufacturer test mode"
index 52849999d1e7b0263dd89587dba34e4e12418f1d..c8055b8629c20135328b980a1fc07507827c2886 100644 (file)
@@ -2,3 +2,8 @@ test imx6_quad_working_snippet
        protocol-decoder sdcard_sd channel clk=0 channel cmd=4
        input sdcard/sd_mode/imx6_quad/working_snippet.sr
        output sdcard_sd annotation match imx6_quad_working_snippet.output
+
+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