RFID MODULE Mifare Reader / Writer SL032 User Manual Version 1.5 Nov 2012 StrongLink



Similar documents
RFID MODULE Mifare Reader / Writer SL031 User Manual Version 2.7 Nov 2012 StrongLink

RFID MODULE Mifare Reader / Writer SL025B User Manual Version 1.4 Nov 2012 StrongLink

RFID MODULE Mifare Reader / Writer SL030 User Manual Version 2.6 Nov 2012 StrongLink

14443A ISO\IEC 14443B ISO\IEC

Application Programming Interface

Interface Protocol v1.2

KSH-3000-MI. Swipe Card Reader. ( Magnetic / IC Card two in One Reader ) Revision Reason Date V

PN532 NFC RFID Module User Guide

RFID READER 13.56MHz Reader / Writer SL500 User Manual Version 2.6 Nov 2011 StrongLink

ACR122 NFC Contactless Smart Card Reader

RN-XV-RD2 Evaluation Board

Exercise 1: Set up the Environment

NHD-0420D3Z-FL-GBW-V3

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

SKYEMODULE GEMINI DATASHEET VERSION

WIZnet S2E (Serial-to-Ethernet) Device s Configuration Tool Programming Guide

ACR122U USB NFC Reader

Wifi Web Server Module w TF Socket User s Guide

(USR-TCP232-T, USR-TCP232-2) (USR-TCP232-S, USR-TCP232-D) (USR-TCP232-24, USR-TCP ) (USR-TCP , USR-TCP ) File version: V3.

Secure My-d TM and Mifare TM RFID reader system by using a security access module Erich Englbrecht (info@eonline.de) V0.1draft

Table 1 below is a complete list of MPTH commands with descriptions. Table 1 : MPTH Commands. Command Name Code Setting Value Description

ACR120 Technical Specifications version 2.9 November 2005

Card Issuing Machine for Magnetic, Contact & IC Card

ROM Monitor. Entering the ROM Monitor APPENDIX

USR-TCP232-T Hard Version: V2.0 Doc Version: V

A RF18 Remote control receiver MODULE

USB Card Reader Configuration Utility. User Manual. Draft!

AN mifare Ultralight Features and Hints. Document information. Multiple ticketing, secured data storage, implementation hints

RN-WIFLY-EVAL-UM. WiFly Evaluation Kit Roving Networks. All rights reserved. RN-WIFLY-EVAL-UM Version 1.32r 10/9/2012 USER MANUAL

SAH2217 Enhanced ATHEROS GPS Module with ultra high sensitivity and antenna open/short detection/protection

Technical Data Sheet UM-005. UM005-doc In reference to UM005-c-01.04

WEA-Base. User manual for load cell transmitters. UK WEA-Base User manual for load cell transmitters Version 3.2 UK

Bluetooth UART/RS232 Module

USB2.0 <=> I2C V4.4. Konverter Kabel und Box mit Galvanischetrennung

NORITAKE ITRON VFD MODULES GU126x64D-K610A4

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

Data sheet Wireless UART firmware version 4.02

DVPPF02-H2. PROFIBUS DP Slave Communication Module Application Manual

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

Using Xbee in Serial Communication

DAM Series DAM124 4DIN+8AI+4DO Module Model No.:DAM124 WebSite:

Industrial RS-232/ RS-422/ RS-485 over Ethernet Media Converter

Using IDENT M System T with Modbus/TCP

R&D Access Touch 3.1 User Manual Version 1.00 Public 1 (13) User Manual. Access Touch 3.1

MFRD52x. Mifare Contactless Smart Card Reader Reference Design. Document information

CHD603BM-U USB Mifare Card Reader User Manual

SEC 4100 SYSTEM MONITOR Programmable Serial Interface Card Series 2

Alcalde # 1822 Col. Miraflores C.P Guadalajara, Jal. Mexico MX 01 (33) y USA 001 (619) (San Diego, CA.

RTU-EN01 Modbus TCP Remote I/O Communication Module Operation Manual

2-port RS-422 / 485 Universal PCI

Brunata Optuna W (171)

Condemn the copycat company copied behavior on HM-10!!!!!! If you buy a fake, please apply for a refund guarantee your legitimate rights

HAC-LM Series Low Power Data Radio Module

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

APR-PRT3 Printer Module: C-Bus Programming Instructions

How To Connect A Directsofl To A Powerpoint With An Acd With An Ctel With An Dm-Tel Modem On A Pc Or Ipad Or Ipa (Powerpoint) With A Powerline 2 (Powerline

How To Use A Sunix Ser5037A Card On A Pc Or Mac Or Mac With A Microsoft Powerbook (Powerbook) With A Powercard (Powercard) And Powercard With A Mini Usb (Powerboard) With An

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

How To Use An Adh8012 Gsm Gprs Module With A Gsm (Gsm) Gpros (Gsp) Gpls (Geo) Gsp (Gpl) Gs

Version Date Author Description Jpo First version Jpo FET output descriptions made clearer

RockBLOCK+ Developer guide

3.1 RS-232/422/485 Pinout:PORT1-4(RJ-45) RJ-45 RS-232 RS-422 RS-485 PIN1 TXD PIN2 RXD PIN3 GND PIN4 PIN5 T PIN6 T PIN7 R+ PIN8 R-

4511 MODBUS RTU. Configuration Manual. HART transparent driver. No. 9107MCM100(1328)

SCM Microsystems. Reference Manual version 1.3. SCL010 Multiprotocol contactless stationary reader

CipherLab 5100 Time Attendance Utility Manual

UM0853 User manual. 1 Introduction. M24LRxx application software user guide

Introduction: Implementation of the MVI56-MCM module for modbus communications:

Aperio Online. Aperio. Online Programming Application Manual. Aperio Online Quick Installation Guide, Document No: ST A, Date: 8 juli 2013

1. Summary. 2. Module Application Instruction. DFPLayer Mini. 1.2.Features. 1.3.Application Specification Description

BE635 User Manual. Rev. V Bolymin, Inc. All Rights Reserved.

Ensto Chago Master EVM300 and EVM500 Operational description

Testing Data Radio Modem with Serial Port Tool V1.20

Training MIFARE SDK. Public. MobileKnowledge June 2015

Application Note. Introduction AN2471/D 3/2003. PC Master Software Communication Protocol Specification

B Robo Claw 2 Channel 5A Motor Controller Data Sheet

User s Manual TCP/IP TO RS-232/422/485 CONVERTER. 1.1 Introduction. 1.2 Main features. Dynamic DNS

2-port RS-232 High Speed Low Profile Universal PCI Serial Board

Quick Installation. A Series of Intelligent Bar Code Reader with NeuroFuzzy Decoding. Quick Installation

CONCEPT1 RS232 COMMUNICATION

2015/02/07 05:41 1/23 WIZ550WEB Users' Guide

L16. Quectel GNSS Engine. EVB User Guide L16_EVB_UGD_V1.0

NFCulT. An easy a nice tool that will make you have fun, or... make profit!

CMC-PD01 PROFIBUS DP Slave Communication Card Operation Manual

E-Blocks Easy RFID Bundle

ACR880 GPRS Portable Smart Card Terminal

TCP/IP Converter DDS EX-9132 Operation Manual for 8051 Series

RN-131-PICTAIL & RN-171-PICTAIL Web-Server Demo Application

ATC-2000WF User s Manual

Bluetooth to Serial Adapter

PFB366 Profibus-DP Gateway User Manual

BRMO 80 / ETH-IP. User Manual. Réf : MU-BRMO 80-ETH-IP-1.4-EN

USB TO SERIAL ADAPTER

RS232 Programming and Troubleshooting Guide for Turbo Controls

IP Card Reader Interface User Manual

REGISTERED TO ISO 9001:2000

Fanuc 0 M/T Model C Serial (RS232) Connection Guide

udrive-usd-g1 Embedded DOS micro-drive Module Data Sheet

PenMount 1302 PCI Control Board

MANUAL FOR RX700 LR and NR

Transcription:

RFID MODULE Mifare Reader / Writer User Manual Version 1.5 Nov 2012 StrongLink

CONTENT 1. MAIN FEATURES... 3 2. PINNING INFORMATION... 4 3. BAUD RATE SETTING... 5 4. COMMUNICATION PROTOCOL... 5 4-1. Communication Setting... 5 4-2. Communication Format... 5 4-3. Command Overview... 6 4-4. Command List... 7 4-4-1. Select Mifare card... 7 4-4-2. Login to a sector... 7 4-4-3. Read a data block... 7 4-4-4. Write a data block... 8 4-4-5. Read a value block... 8 4-4-6. Initialize a value block... 8 4-4-7. Write master key (key A)... 8 4-4-8. Increment value... 9 4-4-9. Decrement value... 9 4-4-10. Copy value... 9 4-4-11. Read a data page (UltraLight)... 10 4-4-12. Write a data Page (UltraLight)... 10 4-4-13. Download Key... 10 4-4-14. Login sector via stored key... 11 4-4-15. Request for Answer to Select (ISO14443-4)... 11 4-4-16. Exchange Transparent Data (T = CL)... 11 4-4-17. Manage Led... 11 4-4-18. Power Down... 12 4-4-19. Get firmware version... 12 http://www.stronglink-rfid.com 2

1. MAIN FEATURES Tags supported: Mifare 1k, Mifare 4k, UltraLight, DesFire and NFC NTAG203 Built-in antenna UART interface, baud rate 9,600 ~ 115,200 bps 2.5V to 3.6VDC power supply, I/O pins are 5V tolerant Work current less than 45mA @3.3V Power down current less than 10uA Operating distance: Up to 50mm, depending on tag Storage temperature: -40 ºC ~ +85 ºC Operating temperature: -25 ºC ~ +70 ºC Dimension: 46 46 3 mm http://www.stronglink-rfid.com 3

2. PINNING INFORMATION PIN SYMBOL TYPE DESCRIPTION 1 VDD PWR Power supply, 2.5 to 3.6VDC 2 IN Input Falling edge wake up from power down mode 3 TXD Output Serial output port 4 RXD Input Serial input port 5 NC 6 GND PWR Ground 7 NC 8 NC 9 NC 10 NC http://www.stronglink-rfid.com 4

3. BAUD RATE SETTING R6 & R7 are used for setting baud rate as follows sheet Assembled R6 R7 Baud rate bps no no 9,600 no yes 19,200 yes no 57,600 yes yes 115,200 ( default ) 4. COMMUNICATION PROTOCOL 4-1. Communication Setting The communication protocol is byte oriented. Both sending and receiving bytes are in hexadecimal format. The communication parameters are as follows, Baud rate: 9,600 ~ 115,200 bps Data: 8 bits Stop: 1 bit Parity: None Flow control: None 4-2. Communication Format Host to Reader: Preamble Len Command Data Checksum Preamble: 1 byte equal to 0xBA Len: 1 byte, indicating the number of bytes from Command to Checksum Command: 1 byte Command code, see Table 3 Data: Variable length depends on the command type Checksum: 1 byte XOR of all the bytes from Preamble to Data Reader to Host: Preamble Len Command Status Data Checksum Preamble: 1 byte equal to 0xBD Len: 1 byte indicating the number of bytes from Command to Checksum Command: 1 byte Command code, see Table 3 Status: 1 byte Command status, see Table 4 Data: Variable length depends on the command type. Checksum: 1 byte XOR of all the bytes from Preamble to Data http://www.stronglink-rfid.com 5

4-3. Command Overview Table 3 Command Description 0x01 Select Mifare card 0x02 Login to a sector 0x03 Read a data block 0x04 Write a data block 0x05 Read a value block 0x06 Initialize a value block 0x07 Write master key (key A) 0x08 Increment value 0x09 Decrement value 0x0A Copy value 0x10 Read a data page (Ultralight & NTAG203) 0x11 Write a data page (Ultralight & NATG203) 0x12 Download Key 0x13 Login sector via stored Key 0x20 Request for Answer to Select (ISO14443-4) 0x21 Exchange Transparent Data according to T = CL 0x40 Manage LED 0x50 Go to Power Down mode 0xF0 Get firmware version Status Overview Table 4 Status Description 0x00 Operation success 0x01 No tag 0x02 Login success 0x03 Login fail 0x04 Read fail 0x05 Write fail 0x06 Unable to read after write 0x08 Address overflow 0x10 ATS failed 0x11 T = CL communication failed 0x0A Collision occur 0x0D Not authenticate 0x0E Not a value block 0xF0 Checksum error 0xF1 Command code error http://www.stronglink-rfid.com 6

4-4. Command List 4-4-1. Select Mifare card 0xBA Len 0x01 Checksum 0xBD Len 0x01 Status UID Type Checksum 0x01: No tag 0x0A: Collision occur UID: The uniquely serial number of Mifare carde Type: 0x01: Mifare 1k, 4 byte UID 0x02: Mifare Pro 0x03: Mifare UltraLight or NATG203 [1], 7 byte UID 0x04: Mifare 4k, 4 byte UID 0x05: Mifare ProX 0x06: Mifare DesFire 0x07: Mifare 1k, 7 byte UID [2] 0x08: Mifare 4k, 7 byte UID [2] 0x0A: Other 4-4-2. Login to a sector 0xBA Len 0x02 Sector Type Key Checksum Sector: Sector need to login Type: Key type (0xAA: authenticate with KeyA, 0xBB: authenticate with KeyB) Key: Authenticate key, 6 bytes 0xBD Len 0x02 Status Checksum Status: 0x02: Login succeed 0x03: Login fail 4-4-3. Read a data block 0xBA Len 0x03 Block Checksum Block: The block number to be read, 1 byte 0xBD Len 0x03 Status Data Checksum 0x04: Read fail Data: Block data returned if operation succeeds, 16 bytes. http://www.stronglink-rfid.com 7

4-4-4. Write a data block 0xBA Len 0x04 Block Data Checksum Block: The block number to be written, 1 byte. Data: The data to write, 16 bytes. 0xBD Len 0x04 Status Data Checksum 0x06: Unable to read after write Data: Block data written if operation succeeds, 16 bytes. 4-4-5. Read a value block 0xBA Len 0x05 Block Checksum Block: The block number to be read, 1 byte. 0xBD Len 0x05 Status Value Checksum 0x04: Read fail 0x0E: Not a value block Value: Value returned if the operation succeeds, 4 bytes. 4-4-6. Initialize a value block 0xBA Len 0x06 Block Value Checksum Block: The block number to be initialized, 1 byte. Value: The value to be written, 4 bytes. 0xBD Len 0x06 Status Value Checksum 0x06: Unable to read after write Value: Value written if the operation succeeds, 4 bytes. 4-4-7. Write master key (key A) 0xBA Len 0x07 Sector Key Checksum Sector: The sector number to be written, 1 byte. Key: Authentication key, 6 bytes http://www.stronglink-rfid.com 8

0xBD Len 0x07 Status Key Checksum Key: Authentication key written if the operation succeeds, 6 bytes. 4-4-8. Increment value 0xBA Len 0x08 Block Value Checksum Block: The block number to be increased, 1 byte. Value: The value to be increased by, 4 bytes. 0xBD Len 0x08 Status Value Checksum 0x06: Unable to read after write 0x0E: Not a value block Value: The value after increment if the operation succeeds, 4 bytes 4-4-9. Decrement value 0xBA Len 0x09 Block Value Checksum Block: The block number to be decreased, 1 byte Value: The value to be decreased by, 4 bytes 0xBD Len 0x09 Status Value Checksum 0x06: Unable to read after write 0x0E: Not a value block Value: The value after decrement if the operation succeeds, 4 bytes 4-4-10. Copy value 0xBA Len 0x0A Source Destination Checksum Source: The source block copy from, 1 byte Destination: The destination copy to, 1 byte The source and destination must in the same sector 0xBD Len 0x0A Status Value Checksum http://www.stronglink-rfid.com 9

0x06: Unable to read after write 0x0E: Not a value block (Source) Value: The value after copy if the operation succeeds, 4 bytes 4-4-11. Read a data page (Ultralight & NTAG203) 0xBA Len 0x10 Page Checksum Page: The page number to be read, 1 byte 0xBD Len 0x10 Status Data Checksum 0x04: Read fail Data: Block data returned if operation succeeds, 4 bytes. 4-4-12. Write a data Page (Ultralight & NTAG203) 0xBA Len 0x11 Page Data Checksum Page: The page number to be written, 1 byte. Data: The data to write, 4 bytes. 0xBD Len 0x11 Status Data Checksum 0x06: Unable to read after write Data: page data written if operation succeeds, 4 bytes. 4-4-13. Download Key 0xBA Len 0x12 Sector Type Key Checksum Sector: 0-39 Type: Key type (0xAA: KeyA, 0xBB: KeyB) Key: 6 bytes, stored in 0xBD Len 0x12 Status Checksum 0x08: Address overflow http://www.stronglink-rfid.com 10

4-4-14. Login sector via stored key 0xBA Len 0x13 Sector Type Checksum Sector: 0-39 Type: Key type (0xAA: KeyA, 0xBB: KeyB) 0xBD Len 0x13 Status Checksum Status: 0x02: Login succeed 0x03: Login fail 0x08: Address overflow 4-4-15. Request for Answer to Select (ISO14443-4) 0xBA Len 0x20 Checksum 0xBD Len 0x20 Status ATS Checksum 0x10: Address overflow ATS: According to ISO14443-4 protocol Len + T 0 + TA 1 + TB 1 + TC 1 + A 1 + A K 4-4-16. Exchange Transparent Data (T = CL) 0xBA Len 0x21 Data Checksum Data: COS command 0xBD Len 0x21 Status Data Checksum 0x11: Communicate with card failed Data: Response data from card 4-4-17. Manage Led 0xBA Len 0x40 Code Checksum Code: 0 command red led turn off, other red led turn on, 1 byte Return: 0xBD Len 0x40 Status Checksum http://www.stronglink-rfid.com 11

4-4-18. Power Down 0xBA Len 0x50 Checksum 0xBD Len 0x50 Status Checksum 4-4-19. Get firmware version 0xBA Len 0xF0 Checksum [3] 0xBD Len 0xF0 Status Data Checksum Status: 0x00: Operation success Data: firmware version. http://www.stronglink-rfid.com 12

Remark [1] To support NATG203, the firmware of SL031 has been updated to Ver2.4 in Mar 2012. The older firmware version only supports reading/writing data page address less than 16. [2] In order to support 7 byte UID Mifare class, the firmware of has been updated to Ver1.9 in Mar 2011. And older firmware version (such as Ver1.0, 1.5, etc) only supports 4 byte UID. Please refer to NXP Customer Letter UID for detailed information of 4 byte & 7 byte UID of Mifare products. [3] One sample of response Preamble Len Command Status Data (Firmware version) HEX BD 0C F0 00 53 4C 30 33 32 2D 312E 39 ASCII -1.9 Checksum 64 http://www.stronglink-rfid.com 13