SLE4442卡无响应

时间:2016-08-08 18:19:35

标签: smartcard pcsc emv

我有一个需要玩存储卡的项目。我需要阅读并写入卡片。

我的阅读器型号是:Alcor Micro AU9540(http://www.ebay.com/itm/NEW-HIGH-SPEED-USB-EMV-PS-SC-SMART-CARD-CHIP-READER-AND-WRITER-SUPPORT-ISO-7816-/172165900399?hash=item2815e3286f:g:zJoAAOSwDuJWxOcc

我使用的卡是:SLE4442存储卡(我丢失了链接)

我在ubuntu上使用pcsc-lite和pcsc-tools

执行此操作

当我使用'pcsc_scan'命令时,它可以成功读取读卡器型号,但卡片无响应。这样的事情:

leo@leo-ThinkPad-S3-S431:~$ pcsc_scan
PC/SC device scanner
V 1.4.23 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.11
Using reader plug'n play mechanism
Scanning present readers...
0: Alcor Micro AU9540 00 00

Tue Aug  9 01:57:39 2016
Reader 0: Alcor Micro AU9540 00 00
Card state: Card inserted, Unresponsive card,

但如果我使用我自己的使用中的银行卡(我知道它不是存储卡),但是这样的话,它得到了ATR响应:

Tue Aug  9 01:58:36 2016
Reader 0: Alcor Micro AU9540 00 00
  Card state: Card inserted, 
  ATR: 3B 68 00 00 00 73 C8 40 13 00 90 00

ATR: 3B 68 00 00 00 73 C8 40 13 00 90 00
+ TS = 3B --> Direct Convention
+ T0 = 68, Y(1): 0110, K: 8 (historical bytes)
  TB(1) = 00 --> VPP is not electrically connected
  TC(1) = 00 --> Extra guard time: 0
+ Historical bytes: 00 73 C8 40 13 00 90 00
  Category indicator byte: 00 (compact TLV data object)
    Tag: 7, len: 3 (card capabilities)
      Selection methods: C8
        - DF selection by full DF name
        - DF selection by partial DF name
        - Implicit DF selection
      Data coding byte: 40
        - Behaviour of write functions: write OR
        - Value 'FF' for the first byte of BER-TLV tag fields:     invalid
        - Data unit in quartets: 1
          Command chaining, length fields and logical channels: 13
        - Logical channel number assignment: by the card
        - Maximum number of logical channels: 4
    Mandatory status indicator (3 last bytes)
      LCS (life card cycle): 00 (No information given)
      SW: 9000 (Normal processing.)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 68 00 00 00 73 C8 40 13 00 90 00
MASTERCARD issued by MLP (Marschollek, Lautenschl?ger and Partner)
G&D 12696-GDM-10/11 DEBIT CARD issued by BANCO DE CREDITO DEL PERU

通过比较,似乎卡上出现了问题。

我也猜测是不是因为我买的卡与读卡不匹配?在eBay上,卡的详细信息如下: [卡片销售页面] [1]

[1]:http://i.stack.imgur.com/O6v1o.png它提供了卡支持的一些型号的读卡器(一些卡支持所有读卡器)。也许我的卡不支持我的读卡器?

或许我需要先在卡片上做任何事情,然后才能得到ATR回复?

1 个答案:

答案 0 :(得分:0)

一张卡片与读卡器不兼容可以做很多事情,反之亦然。请注意,SLE4442内存卡,这意味着通信是同步的,并使用双线协议而不是异步T = 0或T = 1。

根据Alcor Micro,读卡器芯片支持双线,因此您的卡可能有缺陷。