Announce two new product: SmartCard Reader Rockey200 and USB2.0 Extension Cable

ROCKEY 200 is a handy and portable USB Smart Card reader that can perform read/write operations on any ISO 7816-1/2/3/4 smart cards which are compatible with protocol T=0 and T=1.

USB2.0 Extension Cable With high speed USB 2.0 devices such as USB token ,USB Card Reader and so on.

Come to try it now!

Different result with some apdu tools - GP.exe -

Other Tools
shimizus3106
Posts: 19
Joined: Thu Oct 06, 2016 10:05 pm
Points: 222
Contact:

Different result with some apdu tools - GP.exe -

Postby shimizus3106 » Wed Oct 19, 2016 6:02 am

Hello.

I had a qeustion about javacard-ndef - viewtopic.php?f=17&t=860&start=10
and it had been solved.
but I have a new questions about apdu tool.

Please the attached image and log below:

-------------------------------
-- pyApdu --
Connect successful.
Send script begin: C:\workspace\JavaCardNdef\bin\javacardndef\javacard\javacardndef1.scr

No.1
Send: 00 A4 04 00 07 D2 76 00 00 85 01 01
Expt: 90 00 [IGNORE DATA]
Recv: 90 00 [SW: No Error]
Time used: 60.000 ms

No.2
Send: 00 A4 00 0C 02 E1 03
Expt: 90 00 [IGNORE DATA]
Recv: 90 00 [SW: No Error]
Time used: 40.000 ms

No.3
Send: 00 B0 00 00 02 00 0F
Expt: 90 00 [IGNORE DATA]
Recv: 00 0F 20 00 80 00 80 04 06 E1 04 00 0D 00 FF 90 00 [SW: No Error]
Time used: 60.000 ms

No.4
Send: 00 A4 00 0C 02 E1 04
Expt: 90 00 [IGNORE DATA]
Recv: 90 00 [SW: No Error]
Time used: 40.000 ms

No.5
Send: 00 B0 00 00 02 00 02
Expt: 90 00 [IGNORE DATA]
Recv: 00 0B D1 01 07 54 02 65 6E 54 65 73 74 90 00 [SW: No Error]
Time used: 60.000 ms

No.6
Send: 00 B0 00 00 02 02 12
Expt: 90 00 [IGNORE DATA]
Recv: 00 0B D1 01 07 54 02 65 6E 54 65 73 74 90 00 [SW: No Error]
Time used: 60.000 ms

Send script end. Time used: 0.390 sec.

------
<<00 A4 04 00 07 D2 76 00 00 85 01 01
>>90 00

<<00 A4 00 0C 02 E1 03
>>90 00

<<00 B0 00 00 02 00 0F
>>61 0F

<<00 C0 00 00 0F
>>00 0F 20 00 80 00 80 04 06 E1 04 00 0D 00 FF 90 00

<<00 A4 00 0C 02 E1 04
>>90 00

<<00 B0 00 00 02 00 02
>>61 0D

<<00 C0 00 00 0D
>>00 0B D1 01 07 54 02 65 6E 54 65 73 74 90 00

<<00 B0 00 00 02 02 12
>>61 0D

<<00 C0 00 00 0D
>>00 0B D1 01 07 54 02 65 6E 54 65 73 74 90 00
--------
--- Ucard tool ---
[USERCARD: Activation]
3B6800000073C84000009000

[USERCARD: Command]
00A4040007D2760000850101
[Response]

(9000)
(46.875 ms)

[USERCARD: Command]
00A4000C02E103
[Response]

(9000)
(23.4375 ms)

[USERCARD: Command]
00B0000002000F
[Response]
000F20008000800406E104000D00FF
(9000)
(46.875 ms)

[USERCARD: Command]
00A4000C02E104
[Response]

(9000)
(23.4375 ms)

[USERCARD: Command]
00B00000020002
[Response]
000BD101075402656E54657374
(9000)
(39.0625 ms)

[USERCARD: Command]
00B00000020212
[Response]
000BD101075402656E54657374
(9000)
(39.0625 ms)
--------

-------------------------------

pyApdu, Ucard tool is find but GP.exe is not find.

I dont know why the differnce occur.

Could you let me know the cause that GP.exe not work well ?

Regards,
Shige
You do not have the required permissions to view the files attached to this post. Please login first.

User avatar
UNKNwYSHSA
Posts: 628
Joined: Thu May 21, 2015 4:05 am
Points: 2979
Contact:

Re: Different result with some apdu tools - GP.exe -

Postby UNKNwYSHSA » Wed Oct 19, 2016 6:16 am

In your APDU1 script file, you should select D2760000850101 first, so send following command before send other apdus:

Code: Select all

00A4040007D2760000850101


In your APDU2 script file, you should select D2760000850101 first, then select E104, so send following commands before send other apdus:

Code: Select all

00A4040007D2760000850101
00A4000C02E104
sense and simplicity

shimizus3106
Posts: 19
Joined: Thu Oct 06, 2016 10:05 pm
Points: 222
Contact:

Re: Different result with some apdu tools - GP.exe -

Postby shimizus3106 » Wed Oct 19, 2016 6:34 am

Thank you for your quick reply.

How to send APDU with such script to use GP.exe ?
Could you let me know and some example ?

Regards,
Shige

User avatar
UNKNwYSHSA
Posts: 628
Joined: Thu May 21, 2015 4:05 am
Points: 2979
Contact:

Re: Different result with some apdu tools - GP.exe -

Postby UNKNwYSHSA » Thu Oct 20, 2016 3:11 am

gp.exe -r "<readername>" -d -a 00A4040007D2760000850101 -a 00A4000C02E103 -a 00B0000002000F
sense and simplicity

shimizus3106
Posts: 19
Joined: Thu Oct 06, 2016 10:05 pm
Points: 222
Contact:

Re: Different result with some apdu tools - GP.exe -

Postby shimizus3106 » Thu Oct 20, 2016 4:01 am

Thanks to your quick reply.

It works well.

User avatar
UNKNwYSHSA
Posts: 628
Joined: Thu May 21, 2015 4:05 am
Points: 2979
Contact:

Re: Different result with some apdu tools - GP.exe -

Postby UNKNwYSHSA » Thu Oct 20, 2016 5:16 am

:D
sense and simplicity


Return to “Other Tools”

Who is online

Users browsing this forum: No registered users and 1 guest

JavaCard OS : Disclaimer