CRC error when trying to perform short case 3 type SCardTransmit !

From: Ruslan (yruslan$optisign.net)
Date: 01/01/04


Date: Thu, 1 Jan 2004 05:59:06 +0400

Hi !
Does anybody know how to handle the error "BAD CRC" which I receive upon
transmitting a SELECT FILE command with data= 3F 00 ?
I can see that the reader receives the request (from Resource Manager)
    "6F 05 00 00 00 00 0C 00 01 00 00 A4 00 00 02" (6F means
PC_to_RDR_XfrBlock, 5 - command length, 0C - sequence number of this
message, 01 - wLevelParameter, means data will come later and then goes 5
bytes of the command)

and responses
"80 01 00 00 00 00 0C 00 00 00 A4" (80 means RDR_to_PC_DataBl***, A4 - echo
of INS byte)

then it receives
"6F 02 00 00 00 00 0D 00 01 00 3F 00" (Now it is the data that is sent, but
I wonder why the wLevelParameter equals 1 and not 2, as it supposed to be
according to CCID specification - page 71)

and responses
"80 02 00 00 00 00 0D 00 00 00 90 00" (Correct proceeding)

Right after this message the reader receives the PowerOff message, the
Resource Manager returns "Bad CRC error" and the computer stops to react.

Please HELP !!!


Quantcast