Table of Contents

R502 SPY Reader Debug User Manual

R502 SPY reader is developed by JavaCardOS Technologies. It is based on Feitian R502 smart card reader. It supports not only contact cards compliant with ISO 7816 but also contactless cards compliant with ISO 14443,and has ISO14443 TypeA protocol debug function and Mifare command debug function. It also provides the online update feature. We will launch more protocol debug function in the future.

Contactless command

1. RF_ON

Open electromagnetic field.

2. RF_OFF

Close electromagnetic field.

3. RF_AUTO

Set to automatic communication status. In this status, anti-collision will be completed automatically.

4. RF_MANUAL

Set to manual operation status. In this status, all the commands will be sent by artificial, anti-collision program will not be executed automatically.

ISO14443-TypeA Debug

1. REQA

Command value is REQA . As the specification said, the command value is 0x26.

2. WUPA


Command value is WUPA. This command value is 0x52.

3. ANTICOLLISION

4. SELECT


5. RATS


6. HLTA

Command value is HLTA. This value is 0x5000, provided by specification.

7. PPS

ISO14443-Block Transmission Debug

1. I-BLOCK

2. R-BLOCK

3. S-BLOCK

Mifare Debug

1. AUTHENTICATION

2. READ BLOCK

3. WRITE BLOCK

4. INCREMENT

5. DECREMENT

6. TRANSFER

7. RESTORE

Script operation

1. Load script file

Select script directory and load script content. The script file extension is scd.

2. Save script file

Save the current editing script.

If the script file directory is selected, this script will cover the script file under the current directory. If the script file directory is not selected, the window “Save” will pop up for you to save the file.

3. Script operation

4. Script execution

Error value check list

No. Value
1 0x02
2 0x03
3 0x04
4 0x05
5 0x06
6 0x0F
7 0x1B
8 0x40
9 0x41
10 0x42
11 0x43
12 0x45
13 0x46
14 0x47
15 0x48
16 0x49
17 0x4A
18 0x4B
19 0x4C
20 0x4D
21 0x4E
22 0x4F
23 0x60
24 0x61
25 0x62
26 0x63
27 0x64

Technical support

1. Product introduction: http://www.javacardos.com/store/java_R502_SPY.php

2. Technology forum: http://www.javacardos.com/javacardforum/

3. Online manual: http://www.javacardos.com/wiki/