Hello,
It seems that the card is not recogniced as I2C, but
as 2 wire ot 3 wire. Maybe the driver is detecting the
wrong card type or maybe the label on the card is
wrong. Could you check ussing the windows program that
the card is actualy an I2C 256 Kbytes?
I think this because the following:
> > ./tester
>
> > in 1
> Port number (1..4):Initialising reader at COM1...
> Introduce a card in the reader at COM1
> ..
> Activating card...
> ATR: A2 13 10 91
This seems the ATR of a 2 wire or 3 wire card. Driver
2.0.0-pre4 does not return ATR when the card is I2C.
>
> > rd 20 1
> Address: Size (0..255): Command: 0 A4 0 0 2 3F 0
> Response: 90 0
> Command: 0 B0 0 14 1
> Response: 54 90 0
>
This makes me think that the card was recogniced OK.
If you read an I2C with the protocol for 2 wire or 3
wire you will only get 0xFF or 0x00 bytes, and the
response says that the reader returned 0x54.
> > wd 20 1 0
> Address: Size (0..255): Data: Command: 0 A4 0 0 2 3F
> 0
> Response: 90 0
> Command: 0 D6 0 14 1 0
> Response: 62 0
>
0x62 0x0 means that you tried to write over a
read/only memory area. This could be because the card
is 2/3 wire and you are triying to write over the
ATR/Directory data section, or over the application
data section without verifiying the PIN.
> > rd 20 1
> Address: Size (0..255): Command: 0 A4 0 0 2 3F 0
> Response: 90 0
> Command: 0 B0 0 14 1
> Response: 54 90 0
>
Yes, the memory remains unchanged with 0x54. If you
see that the card is actualy an I2C, could you please
send me the output for the same process configuring
the driver with --enable-debug=1 ?
> Greetings to the Linux community and
> gracias a David Corcoran y Carlos Prados
> who are doing a great job for us all.
�No hay de qu�!
Carlos Prados.
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/
***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************