MIFARE & ISO14443A & ISO14443B STANDARD USB PC/SC RFID READER Standard PC/SC Series IC Card Reader General Technical Manual (Revision 2.63) Quick-Ohm Küpper & Co. GmbH February 20, 2021 Please read this manual carefully before using. If any problem, please feel free to contact us, we will offer satisfied answer ASAP.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de Contents Document update records................................................................................................................................4 1 Introduction.............................................................................................................................................5 2 Driver Installation and System Identification........................................................................
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de 7.6 Read Default Baud Rate of SAM Card.........................................................................................21 7.7 Set Card Operation Mode.............................................................................................................22 7.8 RTC Time Initialize ......................................................................................................................23 7.9 RTC Time Read ..
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de Document update records Date Update information Revision June 14, 2016 R2.30 Update device controller part and modify sample code. July 1, 2016 R2.32 Add comments August 18, 2017 R2.35 Fix spell errors. April 22, 2018 R2.37 Add chapter 7.21 and 7.22 May 5, 2018 R2.38 Add chapter 5.3 and 5.5 May 8, 2018 R2.39 July 26,2018 R2.40 Aug 1,2018 R2.50 October 10, 2018 R2.52 February 20, 2021 R2.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de 1 Introduction This document is suitable for MR791, MR7911, MR801, MR811, MR8111 and MR881 and so on. The above mentioned RFID Readersare designed according to USB PC/SC standard. It uses the Microsoft CCID driver and standard operation method, so you could refer to other standard PC/SC documents too.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de 2.3 Device Controller Device controller is the way to operate miscellany. Like LCD, buzzer and etc. Copyright © 2003-2021 Quick-Ohm Küpper & Co. GmbH. All rights reserved.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de 3 PC Software First opening "PC/SC Communication Tool",then to click"Initialize" button, there are several Readers will be shown like the following picture.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de 4 PICC Interface Description 4.1 ATRGeneration If the reader detects a PICC, an ATR will be sent to the PCSC driver for identifying the PICC.Because these readers are standard PC/SC device, you could refer to other standard documents too. 4.2 ATR format for ISO 14443 Part 3 PICCs Byte No.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de 4.3 ATR format for ISO 14443 Part 4 PICCs Byte Nr Value(Hex) Designation 0 3B Initial Header Description Higher nibble 8 means no TA1, TB1, and TC1 only TD1 is following. 1 8N T0 Lower nibble n is the number of historical bytes (HistByte 0 to HistByte n-1). 2 80 TD1 3 01 TD2 Higher nibble 8 means no TA2, TB2, and TC2 only TD2 is following. Lower nibble 0 means T = 0. Higher nibble 0 means no TA3, TB3, TC3, TD3 following.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de 5 Contactless Reader Commands 5.1 Operation Prepare Please to confirm that the card could be support by the reader before you operate the card. Connect the reader to PC and wait the reader startup. Place the card on the reader and the reader will prompt by LED and Buzzer. Startup the PC/SC operation software (PCSC Communication Tools) supplied by QUIO-RFID. Select the proper channel and click “Connect” button.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de Command CLA INS P1 P2 Lc Data Transaction FF 00 00 00 LEN RF Data LEN: the length of RF Data RF Data: the data will send over RF interface Response Data Out Result SW1 Data SW2 APDU format 2: Command CLA INS P1 P2 Lc CMD TMO Data Transaction FF 00 FF FF LEN CMD FWI RF Data LEN: the length of Data CMD: 0: Send commands and receive data. 1: Send only. TMO: Timeout parameter.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de Key Structure: 1byte b7 b6 b5 b4 b3 b2 b1 b0 X Description 0: Card Key; 1 Reader Key X 0: Plain Transmission, 1: Secured Transmission 0: Keys are loaded into volatile memory X 1: Keys are loaded into non-volatile memory. 0 0 0 0 0 RFU The non-volatile Key, which is stored in the Flash of the Reader, has write cycle limitation. Users need pay more attention to it.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de Answer: Response Data Out Result SW1 SW2 5.5.3 ReadBinaryBlocks This command is used for retrieving “data blocks” from the PICC. The data block/trailer block must be authenticated first. APDU Format: Command CLA INS P1 P2 Le Read Blocks FF B0 00 Block Number Len Block Number: 1Byte.The block to be accessed Len: 1Byte. An integer multiple of 16 bytes Answer: Response Data Out Result SW1 Data SW2 5.5.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de VB_OP: 0x00 = Store the VB_Value into the block. The block will then be converted to a value block. 0x01 = Increment the value of the value block by the VB_Value. This command is only valid for value block. 0x02 = Decrement the value of the value block by the VB_Value. This command is only valid for value block. VB_Value: The value used for value manipulation. The value is a signed long integer with LSB first.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de 5.6 Contactless Smart Card Operation Loop 5.6.1 ISO14443-4Card Operation Basic Operation Loop: Step 1 PuttheCPU card into ContactlessReader antenna field Step 2 Connect Contactless Reader Step 3 SendAPDU command Example: Get 8bytes Random Send: 0xFF 00 FB 00 08 07 DA 04 0C 0C 01 00 01 Receive: 0x90 00 5.6.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER Send: www.quio-rfid.de 0xFF D6 00 04 04 00 01 02 03 Receive: 0x90 00 Write data into 5~7 block Send: 0xFF D6 00 05 0C 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F Receive: 0x90 00 Read data from 4~12 block Send: 0xFF B0 00 04 20 Receive: 0x00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 6 SAM Readers Commands IMPORTANT: SAM(s) need to install before the reader power up.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de 7 Device Controller Commands This part of APDU is about the operation of “DEVICE” controller. The “DEVICE”controller is included these components: LCD, RTC, FLASH MEMORY, LED, and BUZZER. 7.1 Switch Current Operating Smart Card This function is aim to switch SAM card. Note: Format 1 is only supported by MR88x, and Format 2 is supported by MR88x, MR79xx.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de 0x00 - 9600(Default) 0x01 - 19200 0x02 - 38400 0x03 - 55800 0x04 - 57600 0x05 - 115200 0x06 - 230400 Answer: Response Data Out Result SW1 SW2 7.4 Automatically Set SAM Baud Rate (Set PPS) Note: This command only supported by MR801/MR811/MR8111/MR881. This function is aim to according to SAM Reset Information (ATR) parameters in the automatic set of SAM baudrate.Default is not enable. This parameter is set to save when power is off.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de SAMn: 0x00 - StandardCPUCard 0x01 - SAM1Card 0x02 - SAM2Card 0x03 - SAM3Card 0x04 - SAM4Card Baudrate: 0x00 - 9600(Default) 0x01 - 19200 0x02 - 38400 0x03 - 55800 0x04 - 57600 0x05 - 115200 0x06 – 230400 Answer: Response Data Out Result SW1 SW2 7.6 Read Default Baud Rate of SAM Card Note: This command only supported by MR801/MR811/MR8111/MR881.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de 0x01: Operate the card use MIFARE 1 mothed Note: remove card is needed after this command. Answer: Response Data Out Result SW1 SW2 Example: Get Random Send: 0xFF 00 FF 10 01 01 Receive: 0x90 00 7.8 RTC Time Initialize Initialize theInternal Clock of the Reader.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de 2010 - 4 - 12 12:01:00 Monday : Time in hex = 0x07 DA 04 0C 0C 01 00 01 Set and Read Time Send: 0xFF 00 FB 00 08 07 DA 04 0C 0C 01 00 01 Receive: 0x90 00 Send: 0xFF 00 FB 01 08 Receive: 0x07 DA 04 0C 0C 03 15 01 90 00 7.10 RTC TimeDisplay on LCD Format Set Set the time display format on LCD.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de EnableFag:Date display enable (0-Disable, 1-Enable) Line:The start display line (0~7 or 0~12) (LCD resolution:128*64 or 240*128) Column:The start display column (0~127 or 0~239)( Same as above) Answer: Response Result Data Out SW1 SW2 Example: Date Display OFF Send: 0xFF 00 FB 03 03 00 00 00 Receive: 0x90 00 Date Display ON Send: 0xFF 00 FB 03 03 01 03 05 Receive: 0x90 00 7.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de 0x03: Russian Answer: Response Data Out Result SW1 SW2 Example: Send: 0xFF 00 FC 00 01 01 Receive: 0x90 00 7.14 Read Non-English Font Display Setting Read the setting of none-English font display.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de Remark: Russian support 32 pixel only. Example: 7.16 Send: FF 00 FC 0A 01 00 Receive: 90 00 LCD Display Text on LCD Display Text on LCD. One Chinese font - 2Byte; One English font - 1Byte; One Russian font - 1Byte.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de Answer: Response Result Data Out SW1 SW2 Example: Showing "QUIO-RFID" on the top left corner of LCD displayer with "Positive Display", "Before showing new information on the screen, no any delete the old ones" and"BackLight off" . Send: 0xFF 00 FC 02 09 00 00 00 BD F0 C4 BE D3 EA Receive: 0x90 00 7.17 LCD Display Character String at Any Point MR88x special instruction.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de Example: Showing "QUIO-RFID" on the top left corner of LCD displayer with "Positive Display", "Before showing new information on the screen, no any delete the old ones" and"BackLight off" . Send: 0xFF 00 FC 02 09 00 00 00 BD F0 C4 BE D3 EA Receive: 0x90 00 7.18 LCD Display Picture (Directly send picture data) This function is aim to display the specified size picture.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER 7.19 www.quio-rfid.de Delete Row on LCD MR80x special instruction. For the convenience of the screen to be cleared, the user can remove fonts or picture according to each row. APDU Format: Command Class INS P1 P2 Lc Data EraseLCD FF 00 FC 04 01 Row Row(1Row = 8 dot High): "Bit0 ~ Bit7" means 0 to 7 rows.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Receive: 90 00 Send: FF 00 FC 05 08 01 17 05 80 08 00 00 05 Receive: 90 00 7.22 Set Standby Screen on LCD This function is aim to set the standby screen. If no setting, after finished the User's interface display, it won't return to the standby screen. All pictureswill be stored in FLASH.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER Response Result www.quio-rfid.de Data Out SW1 SW2 Note: If the standby Screen OFF, the following parameters are meaningless. The standby Screen stored in external FLASH of the reader. Thefonts stored totallyin the 1303(0~1302) Blocks with MR801, 10360(0 ~ 10359) blocks with MR881, the user can not erase or set the above Blocks.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de ByteAddr: The start byte address in Block (MSB first) Len :The length of Byte to be read (MSB first),Len≤256 Answer: Response Data Out Result SW1 Flash Data SW2 Example: Read 2bytes from Block2 in Flash, the start address is 0002 Send: 0xFF 00 FD 00 06 00 02 00 02 00 02 Receive: 0x18 08 90 00 7.26 Write Data to FLASH The Flash on MR801/MR811 is AT45DB321 (MR881 isAT45DB641).
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER Response www.quio-rfid.de Data Out Result SW1 Product SNR SW2 Example: Send: 0xFF 00 FF 00 0A Receive: 0x01 05 07 09 09 04 03 08 06 09 90 00 7.28 Get Hardware and Firmware Version APDU Format: Command Class INS P1 P2 Le GetVer FF 00 FF 01 04 SW1 SW2 Answer: Data Out Response Result HandwareVer(2Byte)+ Software Ver(2Byte) Example: Send: 0xFF 00 FF 01 04 Receive: 0x01 00 02 02 90 00 7.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de BIT3 = Yellow state update mask (1 - Update, 0- Maintenance) BIT4~7: RFU T1/T2: T1, T2 time (Unit: 100ms), T = T1+T2 Number: Times Answer: Response Result Data Out SW1 SW2 Example: Four kinds of lights twinkle two times. And then all of them are OFF Send: 0xFF 00 FF 02 05 F0 0F 0F0F 02 Receive: 0x90 00 Red twinkles two times.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER Send: www.quio-rfid.de 0xFF 00 FF 03 05 08 01 0F 0F 02 Receive: 0x90 00 7.31 Set Card Encryption Mode APDU Format: Command Class INS P1 P2 Lc Data EncrMode FF 00 FF 05 01 EncryptMode EncryptMode: 0x00-Philips 0x01-Shanghai Standard Answer: Response Data Out Result SW1 SW2 Example: Set Shanghai Encryption Mode Send: 0xFF 00 FF 05 01 01 Receive: 0x90 00 7.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER Response www.quio-rfid.de Data Out Result SW1 SW2 Example: Send: 0xFF 00 FF 07 00 Receive: 0x90 00 7.34 Set Fast Boot The reader could be set Fast Boot. It could be quickly to ready. APDU Format: Command Class INS P1 P2 Le Data SetFastBoot FF 00 FF 08 01 Para Para: 0: normal boot; 1: fast boot Answer: Response Data Out Result SW1 SW2 Example: Send: 0xFF 00 FF 08 01 01 Receive: 0x90 00 7.
E & ISO14443 STANDARD USB PC/SC RFID DESKTOP READER www.quio-rfid.de APDU Format: Command Class INS P1 P2 Le GetParameter FF 00 FF 21 00 Answer: Response Data Out Result SW1 Parameter SW2 Example: Send: 0xFF 00 FF 21 00 Receive: 0x03 90 00 (parameter default 0x03) 7.37 Set Buzzer and LED Indicator Parameter Set buzzer and LED indicator working mode when card in and out of the RF filed.