No matter what command (APDU) I use (even VERIFY), I get SW1=69 SW2=99 response! I triend literaly everything (changing default PIN, adding certificate using Gemalto MiniDriver Manager)
Does anyone have any idea what to do? As far, I only need simple thing - To write 2 bytes of data somewhere on card and later read them. I can't believe it is so complicated!
Info:
Reader Name: Gemplus USB Smart Card Reader 0
Card Name: Axalto Cryptoflex .NET
Card ATR: 3B1696417374726964
It seems to me, that you would be better off using a simple memory card or at least a card using an ISO 7816-4 file system. With a java card such as you seem to have you would need to write an applet understanding your read and write commands, download that to the card and finally send the commands implemented.
A card with a file system understands a set of commands like create file, update binary, read binary from the beginning and so reduces the complexity.
Update: The status 69 99 is not in the standard and since the values of SW2 are all marked as reserved for future use must be considered as non-compliant to it.