Page 1 of 1

[RESOLVED][J2A040] v2.41 and initialisation question

Posted: Fri Aug 28, 2020 1:48 pm
by andromeda92
Hi,
1) If I initialize my card with just the command
00A4040010 C238E449F725B1510EAA699550CABA16,
I can download an applet, install it, and use it with pyAdpuTool and even with a client program developed in C # for example.
The keys will be the default ones.

2) On the other hand, if after initializing my card with the commands
00A4040010 C238E449F725B1510EAA699550CABA16
00F00000
A random key will be created, so I will have to pre-personalize it, so that I can download, install an applet and then use it.

having the default keys, it doesn't bother me, I'm doing this to learn JAVACARD.

is that it?

Thanks in advance.

Re: [J2A040] v2.41 and initialisation question

Posted: Thu Sep 03, 2020 4:39 am
by kuafu
Do you get card from this store. If it is . Ask them from email . Most of the user in this forum didn't have J2A040, and They can't help you . The staff of the store ,may didn't work in this forum.

Re: [J2A040] v2.41 and initialisation question

Posted: Thu Sep 03, 2020 7:36 am
by andromeda92
I contacted the seller and he sent me the script to pre-personalize it, I can now use it correctly.

i can't to shop to this site because i am in france and is expensive with custom taxe, delivery ...

else, which card would you recommend?

thanks.

Re: [J2A040] v2.41 and initialisation question

Posted: Thu Sep 03, 2020 7:54 am
by kuafu
andromeda92 wrote:
Thu Sep 03, 2020 7:36 am
I contacted the seller and he sent me the script to pre-personalize it, I can now use it correctly.

i can't to shop to this site because i am in france and is expensive with custom taxe, delivery ...

else, which card would you recommend?

thanks.
i don't sell card.

Re: [J2A040] v2.41 and initialisation question

Posted: Thu Sep 03, 2020 11:05 am
by andromeda92
I was talking about javacardos store.

Re: [J2A040] v2.41 and initialisation question

Posted: Fri Sep 04, 2020 11:58 am
by andromeda92
problem resolved with this script for pre-personalize the card.

Code: Select all

//pre-personalize command

mode_211
enable_trace
establish_context
card_connect

send_apdu -sc 0 -APDU 00A4040010C238E449F725B1510EAA699550CABA16
send_apdu -sc 0 -APDU 00F00000
send_apdu -sc 0 -APDU C0D6029A02F807
send_apdu -sc 0 -APDU C0D60124010B
send_apdu -sc 0 -APDU C0D60147010B
send_apdu -sc 0 -APDU C0D6012201FE
send_apdu -sc 0 -APDU C0D601260908F01300008131FE45
send_apdu -sc 0 -APDU C0D601490908F01300008131FE45                      
send_apdu -sc 0 -APDU C0D6013609084a434f5076323431
send_apdu -sc 0 -APDU C0D6015909084a434f5076323431        
send_apdu -sc 0 -APDU C0D603010101
send_apdu -sc 0 -APDU C0D6030510404142434445464748494A4B4C4D4E4F
send_apdu -sc 0 -APDU C0D6031d0101
send_apdu -sc 0 -APDU C0D6032110404142434445464748494A4B4C4D4E4F
send_apdu -sc 0 -APDU C0D603390101
send_apdu -sc 0 -APDU C0D6033D10404142434445464748494A4B4C4D4E4F
send_apdu -sc 0 -APDU 00100000
//*****fuse command (only fuse when ready!)
//****00 00 00 00

card_disconnect
release_context

Re: [RESOLVED][J2A040] v2.41 and initialisation question

Posted: Wed Dec 30, 2020 7:10 pm
by Peckerwood1904
Hi I’ve been having trouble pre programming my jop40K cards as well and the store I got them from has yet to get back to me, any chance you can share with me how to do it? I’ve been reading everything I can and been trying to figure it out but nothing I do works. It would really help me out if you don’t mind I would really appreciate it.

Re: [RESOLVED][J2A040] v2.41 and initialisation question

Posted: Wed Dec 30, 2020 7:10 pm
by Peckerwood1904
Hi I’ve been having trouble pre programming my jop40K cards as well and the store I got them from has yet to get back to me, any chance you can share with me how to do it? I’ve been reading everything I can and been trying to figure it out but nothing I do works. It would really help me out if you don’t mind I would really appreciate it.

Re: [RESOLVED][J2A040] v2.41 and initialisation question

Posted: Fri Jan 15, 2021 12:23 am
by plakat
Hello,

I am sorry for pulling up an old post. I am brand new to Java cards and I believe this script is what I have been looking for to personalize some newly purchase unfused cards. Can some PLEASE tell me how to actually run this script file? I am pretty technical but do not know which software I should associate this with. Thank you very much in advance for your help.

Plakat