It might be obvious since no one else has asked this but anyway:

What version of Java Card is the internal Java Card of Nokia 6212?

Something like 2.1.1 or 2.2.1?

I'm having troubles with installing an applet on the SE. From what I have understood, the version of the .cap file must be the same as the version of the Java Card.

The SE is unlocked. The GPShell script I'm using is this:

*********************** helloInstall.txt ***********************************
mode_211
enable_trace
establish_context
card_connect -readerNumber 2
select -AID a0000000030000
open_sc -security 3 -keyind 0 -keyver 42 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494A4B4C4D4E4F
delete -AID a00000006203010c0101
delete -AID a00000006203010c01
delete -AID a00000006203010c0101
install -file HelloWorld.cap -nvDataLimit 500 -instParam 00 -priv 2
card_disconnect
release_context
***********************************************************************


It's at the line:

install -file HelloWorld.cap -nvDataLimit 500 -instParam 00 -priv 2

that the error occurs.

The last lines of the result are:

install -file HelloWorld.cap -nvDataLimit 500 -instParam 00 -priv 2
file name HelloWorld.cap
Command --> 80E602001F09A00000006203010C0107A0000000030000000AEF08C60201A8C80201
F40000
Wrapped command --> 84E60200285B7DE49A286D3DB6965511DE745AD1DA96F7022BFFE70A778B
49739C394F67AAF4A10CD6D3368DD800
Response <-- 6A88
install_for_load() returns 0x80206A88 (6A88: Referenced data not found.)

Any ideas?