JCOP of Nokia 3220 NFC shell
We are just in receipt of a Nokia 3220 NFC shell.
However, we have no idea about how to load an applet to the secure element inside the shell.
We've got both Pegoda and Omnikey reader. However, we could'nt select the card manager of the card via the JCOP shell integrated in Eclipse. All we got is the ATR.
We just wonder is there a Global Platform exist on the secure element? If so, where can we get the default key? Or do we have to initialize the secure element in order to setting our own key?
Any help will be very appreciated.
[566 byte] By [
fabalana] at [2007-11-27 9:44:12]

# 1
Could you post the APDU trace, including ATR, SELECT CM and get-cplc?
# 2
Thanks for you reply.
The response messages we got are attacheded below,
//terminal "winscard:4|SCM Microsystems Inc. SDI010 Contactless Reader 0"
> /atr
ATR: 3BF59100FF918171FE400041C0000000C5
ATR: T=1, FI=9/DI=1 (512clk/etu), N=-1, specific mode T=1/explicit, IFSC=254, BWI=4/CWI=0, EDC=LRC, Hist=41C0000000
> /card
ATR: 3BF59100FF918171FE400041C0000000C5
ATR: T=1, FI=9/DI=1 (512clk/etu), N=-1, specific mode T=1/explicit, IFSC=254, BWI=4/CWI=0, EDC=LRC, Hist=41C0000000
jcshell: Unable to select Card Manager or invalid FCI: Unknown Global Platform Java Card.
Subsequent commands might fail! Inspection might not be possible!
> Could you post the APDU trace, including ATR, SELECT
> CM and get-cplc?
Message was edited by:
fabalan
# 3
Please switch on the APDU trace in the JCShell (button top/right).
# 4
> Please switch on the APDU trace in the JCShell
> (button top/right).
Thanks for your help, Lexdabear.
Here is the log with APDU traced....
?> /card
--Waiting for card...
ATR=3B F5 91 00 FF 91 81 71 FE 40 00 41 C0 00 00 00;......q.@.A....
C5 .
ATR: T=1, FI=9/DI=1 (512clk/etu), N=-1, specific mode T=1/explicit, IFSC=254, BWI=4/CWI=0, EDC=LRC, Hist=41C0000000
=> 00 A4 04 00 07 A0 00 00 00 03 00 00 00 .............
jcshell: Unable to select Card Manager or invalid FCI: Unknown Global Platform Java Card.
Subsequent commands might fail! Inspection might not be possible!
# 5
I do not see the reply for select CM: => 00 A4 04 00 07 A0 00 00 00 03 00 00 00
# 6
> I do not see the reply for select CM: => 00 A4
> 04 00 07 A0 00 00 00 03 00 00 00
Neither do we. And the jcshell responded with an "Unable to select Card Manager or invalid FCI....." message.
That's why we wonder is there a card manager exist on the secure element of Nokia shell.
Any suggestion will be very appreciated.
# 7
Issue the command manually /send 00A4040008A00000000300000000
# 8
> Issue the command manually /send
> 00A4040008A00000000300000000
I've tried several times, it always got an error code -6 (Card Terminal Error), and the LED of the reader keep blinking in red.
ATR: T=1, FI=9/DI=1 (512clk/etu), N=-1, specific mode T=1/explicit, IFSC=254, BWI=4/CWI=0, EDC=LRC, Hist=41C0000000
=> 00 A4 04 00 07 A0 00 00 00 03 00 00 00 .............
jcshell: Unable to select Card Manager or invalid FCI: Unknown Global Platform Java Card.
Subsequent commands might fail! Inspection might not be possible!
?> /send 00A4040008A00000000300000000
=> 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00 ..............
jcshell: Error code: -6 (Card terminal error)
jcshell: Communication problems: ?X?P?z?d?q癟?~?C?@?C
# 9
Did you set the correct mode for the Tama/Joiner in the mobile phone? You need to enable the output for the smart card IC via the antenna in the mobile phone shell.
# 10
> Did you set the correct mode for the Tama/Joiner in
> the mobile phone? You need to enable the output for
> the smart card IC via the antenna in the mobile phone
> shell.
All we did were plugin the connector to the phone and install the cover browser which were described in the user manual. We now have no any idea about what you described above. We will very appreciate you if you could kindly teach us how to set the correct mode and enable the antenna functionality of smart card IC.
# 11
I do not have the user manual available. If you can't switch the mode with this browser, then you probably need to write a midlet to switch the mode. Is there an API described to access the smart card IC?