I am trying to write a data of length 0x2CF0 bytes using extended length APDU on to the card and it works fine. But i am unable to read the same amount of data back from the card using extended length apdu.
I get the following error, "sun.security.smartcardio.PCSCException: Unknown error 0x4d3".
When i try to load a relatively smaller data of size 0x1af0 bytes i am able to successfully write and read from the card using extended length apdu.
Is there any limitation with respect to read data from the card in extended length apdu? Is there a workaround without the use of command chaining?
PS: I use a JCOP 2.4.2 R2 card.