I'm using EclipseJCDE with Eclipse.
I set up a Java code applet as a .cap
file to install on a Simplified Simulator. I do not know that the installation failed because the download script is a bunch of ADPU commands I can not understand. Is there any way to see what applets are currently on the simulator and what are their AIDS?
Then I created a script with the same command for the ADPUTole, selecting the applet according to the .jca
file in my project
-
Aid for my applet:
0x1: 0x2: 0x3: 0x4: 0x5: 0x6: 0x7: 0x8: 0x 9: 0x0: 0x0
. -
The order I created to select an applet:
0x00 0xA4 0x04 0x00 0x0b 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x 9 0x0 0x0
In the beginning, select 0x00 0xA4 0x04 0x00
for command, then 0x0b
length For, from AID, and then at the end of 0x0
LE byte which I do not think of cases for this order. When I run this script with the ADPU tool, I get this:
- CLA: 00
- ins: < P1: 04
- P2: 00
- LC:
- SW1: 6D
- SW2
I believe that SW1 and SW2 bytes are my feedback command and I think that 6d means that he did not find or was unable to load the applet. 6D00 Bad Instructions (INS byte is not present in the 'A4' class) means what am I doing wrong?
Post the ATR completely after the ATR and for example, advise you to check section 10.
Comments
Post a Comment