Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

Update Record command return 6D 00

JavaCard Applet Development Related Questions and Answers.
k2evil
Posts: 2
Joined: Sat Dec 26, 2015 2:48 pm
Points :0
Contact:

Update Record command return 6D 00

Post by k2evil » Tue Dec 29, 2015 7:06 pm

I'm writing a smart card program for ISO 7816 Cards which I need to update a record. I write the program with JAVA and javax.smartcardio Library.

I select the file with this command:

Code: Select all

cla = 0x00 , ins = 0xA4 , p1 = 0x00 , p2 = 0x00
and I enter the name of file in data field.
I can read record with this command:

Code: Select all

cla = 0x80 , ins = 0xB2 , p1 = 0x00 , p2 = 0x00 , le = 90


Read record works correct and send me 90 00. Now I need to update this record. So I use this command:

Code: Select all

cla = 0x80 , ins = 0xDC , p1 = 0x00 , p2 = 0x00
, and some data.

But in response APDU I get 6D 00 Error which means "Ins Value not supported".

How can I update records correctly?

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: Update Record command return 6D 00

Post by UNKNwYSHSA » Tue Dec 29, 2015 9:54 pm

Do you have the User Manul for the applet in the card? Perhaps this INS is not implemented in this applet.
sense and simplicity

k2evil
Posts: 2
Joined: Sat Dec 26, 2015 2:48 pm
Points :0
Contact:

Re: Update Record command return 6D 00

Post by k2evil » Wed Dec 30, 2015 6:28 am

UNKNwYSHSA wrote:Do you have the User Manul for the applet in the card? Perhaps this INS is not implemented in this applet.


No I don't have it...
I'm new in Smart Card programming, So you mean INSes may not be same in all ISO 7618-4 cards?

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: Update Record command return 6D 00

Post by UNKNwYSHSA » Wed Dec 30, 2015 9:42 am

Do you have the source code of the applet in the card?
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: antonimorali and 19 guests

JavaCard OS : Disclaimer