SDIO Master Status Report
The following is the simulation report with master debug print messages:
Testing Secure Digital (SD) Card
VCD info: dumpfile wave.vcd opened for output.
CRC7 : ( 40 bit) 0x000000000000000000004000000000 = 1001010 (0x4a)
Tx Command 0 0x00 param=0x00000000 data=0x400000000095 at 100
CRC7 : ( 40 bit) 0x000000000000000000007700000000 = 0110010 (0x32)
Tx Command 55 0x37 param=0x00000000 data=0x770000000065 at 3940
GetResponse_R1 started at 7780
.3.........2.........1.........0
10987654321098765432109876543210
++++
.......4.........3.........2.........1.........0
765432109876543210987654321098765432109876543210
GetResponse_R1 of 000001110000000000000000000000000000000000010111 ended at 11940
CRC7 : ( 40 bit) 0x000000000000000000000700000000 = 0001011 (0x0b)
R1 response : Command=0x07 Command= 7 stat=0x00000000 crc=0x0b data=0x0b
Status : 0x00000000
State was Idle
CRC7 : ( 40 bit) 0x000000000000000000006900000000 = 1110010 (0x72)
Tx Command 41 0x29 param=0x00000000 data=0x6900000000e5 at 11940
R3 response : Reserved1 000111 0x07 OCR 0x00000000 Reserved2 0x0b
CRC7 : ( 40 bit) 0x000000000000000000007700000000 = 0110010 (0x32)
Tx Command 55 0x37 param=0x00000000 data=0x770000000065 at 19940
GetResponse_R1 started at 23780
.3.........2.........1.........0
10987654321098765432109876543210
++++
.......4.........3.........2.........1.........0
765432109876543210987654321098765432109876543210
GetResponse_R1 of 000001110000000000000000000000000000001000110011 ended at 27940
CRC7 : ( 40 bit) 0x000000000000000000000700000002 = 0011001 (0x19)
R1 response : Command=0x07 Command= 7 stat=0x00000002 crc=0x19 data=0x19
Status : 0x00000002
State was Ready
CRC7 : ( 40 bit) 0x000000000000000000006900ff8000 = 1000010 (0x42)
Tx Command 41 0x29 param=0x00ff8000 data=0x6900ff800085 at 27940
R3 response : Reserved1 000111 0x07 OCR 0x00000002 Reserved2 0x19
CRC7 : ( 40 bit) 0x000000000000000000004200000000 = 0100110 (0x26)
Tx Command 2 0x02 param=0x00000000 data=0x42000000004d at 35940
R2 response : Reserved=111111 63 data=0x00000000000000000000000402468a crc=0x1e
CRC7 : (120 bit) 0x00000000000000000000000402468a = 0011110 (0x1e)
Card ID :
ID : 0x00000000000000000000000402468a
Manufacturer Code : 0x00
OEM/Application ID : 0x0000
Product Name : 0x0000000000
Product Revision : 0x00
Serial Number : 0x00000402
Manuf date code : 2104 10
CRC7 : ( 40 bit) 0x000000000000000000004300000000 = 0010000 (0x10)
Tx Command 3 0x03 param=0x00000000 data=0x430000000021 at 50980
R6 response : cmd= 3 rca=0x1234 status=0x00000000 crc=0x37
CRC7 : ( 40 bit) 0x000000000000000000000312340000 = 0110111 (0x37)
Status : 0x00000000
State was Idle
CRC7 : ( 40 bit) 0x000000000000000000004a12340000 = 1100000 (0x60)
Tx Command 10 0x0a param=0x12340000 data=0x4a12340000c1 at 58980
R2 response : Reserved=111111 63 data=0x00000000000000000000000402468a crc=0x1e
CRC7 : (120 bit) 0x00000000000000000000000402468a = 0011110 (0x1e)
Card ID :
ID : 0x00000000000000000000000402468a
Manufacturer Code : 0x00
OEM/Application ID : 0x0000
Product Name : 0x0000000000
Product Revision : 0x00
Serial Number : 0x00000402
Manuf date code : 2104 10
CRC7 : ( 40 bit) 0x000000000000000000004912340000 = 0111010 (0x3a)
Tx Command 9 0x09 param=0x12340000 data=0x491234000075 at 74020
R2 response : Reserved=111111 63 data=0x000000325b50800000000000000000 crc=0x4b
CRC7 : (120 bit) 0x000000325b50800000000000000000 = 1001011 (0x4b)
Card Specific Data :
CSD : 0x000000325b50800000000000000000
Max read block len : 1 bytes
Device Size : 1 blocks
Device Size multpl : 4
Card capacity : 4 bytes
File Format :
Hard-disk (with partition table)
CRC7 : ( 40 bit) 0x000000000000000000004a12340000 = 1100000 (0x60)
Tx Command 10 0x0a param=0x12340000 data=0x4a12340000c1 at 89060
R2 response : Reserved=111111 63 data=0x00000000000000000000000402468a crc=0x1e
CRC7 : (120 bit) 0x00000000000000000000000402468a = 0011110 (0x1e)
Card ID :
ID : 0x00000000000000000000000402468a
Manufacturer Code : 0x00
OEM/Application ID : 0x0000
Product Name : 0x0000000000
Product Revision : 0x00
Serial Number : 0x00000402
Manuf date code : 2104 10
CRC7 : ( 40 bit) 0x000000000000000000004712340000 = 0101100 (0x2c)
Tx Command 7 0x07 param=0x12340000 data=0x471234000059 at 104100
GetResponse_R1 started at 107940
.3.........2.........1.........0
10987654321098765432109876543210
++++
.......4.........3.........2.........1.........0
765432109876543210987654321098765432109876543210
GetResponse_R1 of 000001110000000000000000000000000000011001111011 ended at 112100
CRC7 : ( 40 bit) 0x000000000000000000000700000006 = 0111101 (0x3d)
R1 response : Command=0x07 Command= 7 stat=0x00000006 crc=0x3d data=0x3d
Status : 0x00000006
State was Stby
CRC7 : ( 40 bit) 0x000000000000000000005000000200 = 0001010 (0x0a)
Tx Command 16 0x10 param=0x00000200 data=0x500000020015 at 112100
GetResponse_R1 started at 115940
.3.........2.........1.........0
10987654321098765432109876543210
++++
.......4.........3.........2.........1.........0
765432109876543210987654321098765432109876543210
GetResponse_R1 of 000001110000000000000000000000000000100010000111 ended at 120100
CRC7 : ( 40 bit) 0x000000000000000000000700000008 = 1000011 (0x43)
R1 response : Command=0x07 Command= 7 stat=0x00000008 crc=0x43 data=0x43
Status : 0x00000008
Authentication sequence errorg
State was Tran
Card Status Errorg
SD Card Tests failed (28)