I have been working of the read / write operation of smart cards, I believe my card is sle_4428 and I am using HID OMNIKEY 3121 USB Card Reader. The problem is that when I enter card in card reader my program responds as the smart card is not responding to a reset with error code 0x80100066, instead of connecting the card and getting ATR...
[EDIT] It works fine if I do only the read operation. When I do the write operation and then reinsert the card it stops responding, giving the above message. The APDU command I use to write is: FF D6 00 00 #(01 02)