Where can I find the JCOP tutorial?
The " Load" APDU command of my card is a little different from that of the JCOP.
So if I use JCOP to load applets to my card, there will be error.
So I wonder if I can modify the default parameters of APDU command in JCOP.
Or is there a JCOP tutorial ?
I can't find help in Eclipse help content. It always tells me :
The topic that you have requested is not available. The link may be wrong, or you may not have the corresponding product feature installed. This online help only includes documentation for features that are installed.
[595 byte] By [
Bobby_SHa] at [2007-11-27 6:05:39]

# 2
- Eclipse: Help --> Help Contents --> JCOP Tools User Guide
- <Eclipse directory>/plugins/com.ibm.bluez.jcop.eclipse_<x.x.x>/doc.zip
What do you mean by
The " Load" APDU command of my card is a little different from that of the JCOP. ? Is your card GP compliant?
# 3
Thanks for your reply!Let me explain the difference.
The default Load command in JCOP shell is : 80 E0 P1 P2 Lc Data 00,
Here Lc is set to FF by default,so the length of whole Load command must exceeds FF.
While in my card reference , Load command is : 80 E1 P1 P2 Lc Data 01. And it is said that the length of APDU command should not exceed FF.
So if I load applets onto my card by JCOP, there will be 2 errors:
1.invalid length ;
2.last byte of the command should be 01 but not 00.
# 5
The LOAD command instruction is 0xE8 and not 0xE0/0xE1.
Lc is one byte, so how can you exceed FF?
Optionally the LOAD response can include a receipt (delegated management). If your card mandates a response length of 1 byte (Le=01) it means that no receipt is expected --> receipt length 00. JCOPs LOAD command has Le=0x00 set by default --> response length undefined. This is in accordance with Java Card API, which follows the ISO 7816-4 APDU structure.
Let's look at the help of the JCOP tools upload command:usage: upload [-p|--progress][-c|--components][-r|--random][-l|--package package-name][-s|--sd SD-AID][-m|--params parameters][-b|--block_length length][-a|--auto][-d|--load-debug] CAP-file
...
-c|--components
Load CAP-file component wise.
-r|--random
Load with random APDU length.
...
-b|--block_length length
Max. block (APDU) length sent to the card during package upload.
length Max. block (APDU) length.
So you can set the block length --> Lc as you wish.
Message was edited by:
lexdabear