how to make JCIDE support NXP card.
Posted: Fri Jan 17, 2020 4:46 am
And The latest JCIDE support jcop converter. Using it.
JavaCardOS - JavaCardForum
http://www.javacardos.com/javacardforum/
http://www.javacardos.com/javacardforum/viewtopic.php?f=15&t=2110
Code: Select all
Connect successful.
Download Cap begin...
Download Cap error: Download cap file failed. Send: 80 E6 02 00 17 0A D1 56 00 01 32 0A 64 65 6D 9F 08 A0 00 00 00 03 00 00 00 00 00 00, Recv: 6A 88.
Install Applet begin...
Install Applet error: Install Applet failed. Send: 80 E6 0C 00 29 0A D1 56 00 01 32 0A 64 65 6D 9F 0B D1 56 00 01 32 0A 64 65 6D 9F 01 0B D1 56 00 01 32 0A 64 65 6D 9F 01 01 00 02 C9 00 00, Recv: 6A 88.
Can you try java card kit 2.2.2.priyankap wrote: ↑Fri Jan 17, 2020 11:20 amI tried to follow the steps you mentioned to change converter to JCOP 3.0.1 and -i is set to 'False'. But the CAP file of java applet is still not getting uploaded. I am getting the below error:
Code: Select all
Connect successful. Download Cap begin... Download Cap error: Download cap file failed. Send: 80 E6 02 00 17 0A D1 56 00 01 32 0A 64 65 6D 9F 08 A0 00 00 00 03 00 00 00 00 00 00, Recv: 6A 88. Install Applet begin... Install Applet error: Install Applet failed. Send: 80 E6 0C 00 29 0A D1 56 00 01 32 0A 64 65 6D 9F 0B D1 56 00 01 32 0A 64 65 6D 9F 01 0B D1 56 00 01 32 0A 64 65 6D 9F 01 01 00 02 C9 00 00, Recv: 6A 88.
I try to upload walt applet with jcop tool , it can upload ,but install fauled. Then i creat a hello applet ,it can upload ,and install sucesssful.
Code: Select all
package com.test ;
import javacard.framework.*;
public class test extends Applet
{
public static void install(byte[] bArray, short bOffset, byte bLength)
{
new test().register(bArray, (short) (bOffset + 1), bArray[bOffset]);
}
public void process(APDU apdu)
{
if (selectingApplet())
{
return;
}
byte[] buf = apdu.getBuffer();
switch (buf[ISO7816.OFFSET_INS])
{
case (byte)0x00:
break;
default:
ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
}
}
}