Project

General

Profile

Actions

Bug #4805

closed

The reader is mute after a T=1 data block

Added by rousseau over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
-
Start date:
10/14/2020
Due date:
% Done:

100%

Spec Reference:

Description

I use the sysmoOCTSIM. The reader declares in dwProtocols the support of T=0 only.

But I am a bad guy and I try with a T=1 card :-)
I get:
> 000000 62 00 00 00 00 00 2E 01 00 00
<
000000 80 14 00 00 00 00 2E 00 00 00 3B FA 94 00 00 81 31 20 43 80 65 A2 01 01 01 3D 72 D6 43 21
No problem with PC_to_RDR_IccPowerOn

> 000000 61 07 00 00 00 00 2F 01 00 00 94 10 00 43 00 20 00
<
000000 82 05 00 00 00 00 2F 40 07 00 00 00 00 00
As expected the PC_to_RDR_SetParameters reports an error on bye 7: bProtocolNum

But then if I send a T=1 block using PC_to_RDR_XfrBlock to the reader I get:
sending: 00 C1 01 00 C0
-> 000000 6F 05 00 00 00 00 30 00 00 00 00 C1 01 00 C0
ccid_usb.c:897:ReadUSB() read failed (1/11): -7 LIBUSB_ERROR_TIMEOUT

The reader does not respond. Not even an error code.

After that any command sent to the reader fails with a USB timeout.

The only way I found to get the reader to work again is to remove the power cable and plug it in again. A On/Off button or a reset button on the reader would help here.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)