Forum Stats

  • 3,827,153 Users
  • 2,260,746 Discussions
  • 7,897,182 Comments

Discussions

Unable to read large data from the Card using Extended Length APDU

nara
nara Member Posts: 21
edited Jul 22, 2016 3:08AM in Java Card

Hi,

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.

This discussion has been closed.