background image

 

Mifare & ISO14443A & ISO14443B & ISO15693 Module                                 

http://www.jinmuyu.com

 

Copyright  ©  2003-2011  Jinmuyu  Electronics  Co.,  LTD.  All  rights  reserved. 

 

7/35 

 

5

 

Description of commands 

5.1

 

List of commands 

Command code 

Command function 

0x10 

 

 

Read product information 

0x11  

 

 

Module working mode set 

0x12 

 

 

Sets module idle 

0x15 

 

 

EEPROM read 

0x16 

 

 

EEPROM write 

0x17 

 

 

Set UART communication baud rate 

0x19 

 

 

Set IIC address 

0x1A 

 

 

Set multi-card operation 

0x1B 

 

 

Set ISO15693 automatic detecting card AFI and AFI enable 

0x1C 

 

 

Set automatic detecting card interval time 

0x20 

 

 

ISO14443A Request cards 

0x21 

 

 

Mifare 1K/4K data block read 

0x29 

 

 

Mifare 1K/4K sector (4 blocks) read 

0x2A 

 

 

Mifare 1K/4K multi blocks read 

0x22 

 

 

Mifare 1K/4K data block write 

0x2B 

 

 

Mifare 1K/4K multi blocks write 

0x23 

 

 

Mifare 1K/4K purse block initialize 

0x24 

 

 

Mifare 1K/4K purse read 

0x25 

 

 

Mifare 1K/4K purse increment 

0x26 

 

 

Mifare 1K/4K purse decrement 

0x27 

 

 

Mifare 1K/4K purse copy 

0x28 

 

 

ISO14443A card halt 

0x2D 

 

 

Download Mifare 1K/4K card key to module 

0x30 

 

 

ISO14443-4 TYPE-A card reset 

0x31 

 

 

Send APDU to ISO14443-4 card 

0x41 

 

 

Ultra Light card read 

0x42 

 

 

Ultra Light card write 

0x50 

 

 

SAM slot default baud rate set 

0x51 

 

 

SAM reset 

0x52 

 

 

Set SAM baud rate after reset (through PPSS) 

0x53 

 

 

Send APDU to SAM 

0x70 

 

 

Set module contactless protocol 

0x60 

 

 

ISO14443-4 TYPE B card request 

0x62 

 

 

ISO14443-4 TYPE B card halt 

0x63 

 

 

SR serial cards 1 slot initiate card 

0x64 

 

 

SRI serial cards 16 slots initiate card 

0x65 

 

 

SR serial cards select 

Содержание JMY601H

Страница 1: ...JMY601H User s Manual Revision 3 50 Jinmuyu Electronics Co LTD 2012 2 12 Please read this manual carefully before using If any problem please mail to Jinmuyu vip sina com ...

Страница 2: ...2 1 Read product information 9 5 2 2 Module working mode set 9 5 2 3 Set module idle 10 5 2 4 EEPROM read 10 5 2 5 EEPROM write 11 5 2 6 Set UART communication baud rate 11 5 2 7 Set IIC communication address 11 5 2 8 Set multi card operation 12 5 2 9 Set ISO15693 automatic detecting card AFI and AFI enable 12 5 2 10 Set automatic detecting card interval time 13 5 2 11 ISO14443A request cards 13 5...

Страница 3: ...ial cards return to inventory 25 5 2 39 SR serial cards completion 25 5 2 40 SR176 card read 25 5 2 41 SR176 card write 26 5 2 42 SR176 data block lock 26 5 2 43 SRI serial cards read 27 5 2 44 SRI serial cards write 27 5 2 45 SRI serial cards data block lock 27 5 2 46 SRI serial cards read UID 28 5 2 47 SRIX serial cards authentication 28 5 2 48 ISO15693 inventory 28 5 2 49 ISO15693 stay quiet 29...

Страница 4: ... 2 Characteristics PCD model NXP CL RC632 Working frequency 13 56MHz Supported standard ISO14443A ISO14443B ISO15693 Card supported Mifare 1K 4K FM11RF08 Ultra Light DesFire Mifare ProX SR176 SRI512 SRI1K SRI2K SRI4K SRIX4K T CL smart cards both ISO14443A ISO14443B TI TagIt I Code SLI ST LRI and other tags according to ISO15693 Anti collision ability Full function anti collision be able to process...

Страница 5: ...Mifare ISO14443A ISO14443B ISO15693 Module http www jinmuyu com Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 4 35 3 Physical parameter and pin outs 3 1 Photo 3 2 Dimension ...

Страница 6: ...tput TX UART 3 RX Input RX UART 4 VCC Power VCC 5 GND Power GND 3 4 Model available JMY601HT UART interface TTL level 3 5 Model rule 3 5 1 Model format 1 2 3 4 JMY 601 X X 1 company code 2 product series code 3 card operating type 4 communication port type 3 5 2 Card operating type C PCD is RC531 support ISO14443A ISO14443B and Mifare Class H PCD is RC632 support ISO15693 ISO14443A ISO14443B and M...

Страница 7: ...ming and refer to the sample program There are detailed comments in the sample source code 4 2 UART protocol 4 2 1 Parameters The communication protocol is byte oriented Both sending and receiving bytes are in hexadecimal format The communication parameters are as follows Baud rate 19200bps default 115200bps Data bits 8 bits Stop bits 1 bit Parity check None Flow control None 4 2 2 Data send forma...

Страница 8: ...locks read 0x2A Mifare 1K 4K multi blocks read 0x22 Mifare 1K 4K data block write 0x2B Mifare 1K 4K multi blocks write 0x23 Mifare 1K 4K purse block initialize 0x24 Mifare 1K 4K purse read 0x25 Mifare 1K 4K purse increment 0x26 Mifare 1K 4K purse decrement 0x27 Mifare 1K 4K purse copy 0x28 ISO14443A card halt 0x2D Download Mifare 1K 4K card key to module 0x30 ISO14443 4 TYPE A card reset 0x31 Send...

Страница 9: ...0x6B SRI serial cards read 0x6C SRI serial cards write 0x6D SRI serial cards lock block 0x6E SRI serial cards read UID 0x6F SRIX serial cards authentication 0x5C ISO15693 inventory 0x5D ISO15693 stay quiet 0x5E ISO15693 get system information 0x5F ISO15693 reset to ready 0x54 ISO15693 read blocks 0x55 ISO15693 write blocks 0x56 ISO15693 block lock 0x57 ISO15693 AFI write 0x58 ISO15693 AFI lock 0x5...

Страница 10: ... 1 byte ISO15693 automatic detecting card s AFI 1 byte ISO15693 automatic detecting card s AFI enable state 1 byte automatic detecting card interval multiple of 10mS Module returns failure 0x02 0xEF Checksum 5 2 2 Module working mode set Function set the antenna RF output ON OFF set the automatic detecting card ON OFF Antenna RF output is default ON and automatic detecting card is OFF The module w...

Страница 11: ...to idle mode after the answer procedure is finished In IIC mode host need to read the answer and then the module will goes into idle mode Host sends 0x03 0x12 Random data Checksum Random data 1 byte random data for example 0x55 Module returns success 0x02 0x12 Checksum Module returns failure 0x02 0xED Checksum 5 2 4 EEPROM read Function read data in EEPROM of the module Host sends 0x05 0x15 Addres...

Страница 12: ...Function set UART communication baud rate of the module After module receive the command it will first save the new setting and then send the execute result according to the host At last it will validate the new setting UART communication baud rate is default 19200bps Settings will SAVE in the module it will not be lost after power OFF Host sends 0x03 0x17 Baud rate Checksum Baud rate 1 byte baud ...

Страница 13: ...operation If users set the automatic detecting card the multi card operation will be prohibited If there is more than one card in the RF effective field then the operation will fail Settings will save in the module it will be not lost after power OFF Multi card operation default enables This function is suitable for ISO14443A ISO15693 Host sends 0x03 0x1A Multi card enable Checksum Multi card enab...

Страница 14: ...0mS 0x01 means 10mS Module returns success 0x02 0x1C Checksum Module returns failure 0x02 0xE3 Checksum 5 2 11 ISO14443A request cards Function ISO14443A request cards cards include Mifare and other ISO14443A cards In the return results user can ascertain the length of serial number via the return data package length and also judge the card type by ATQA and judge whether the card supports ISO14443...

Страница 15: ...on Block 1 byte Block number to read 0 to 0x3F for S50 0 to 0xFF for S70 Key 6 bytes the key of the card Module returns success 0x12 0x21 Data Checksum Data 16 bytes card data Module returns failure 0x02 0xDE Checksum 5 2 13 Mifare 1K 4K sector 4 blocks read Function read Mifare 1K 4K sector 4 blocks For S50 and sector number less than 32 of S70 this command is called read sector it will read the ...

Страница 16: ...the same sector The function is supported only in the same sector If cross sectors then read will fail Host sends 0x0A 0x2A Key ID Start Block Blocks Key Checksum Key ID 1 byte key identification Start Block 1 byte start block to read Blocks 1byte number of block to read Key 6 bytes the key of the card Module returns success 0x2A Data Checksum Data blocks 16 bytes card data Module returns failure ...

Страница 17: ...nds 0x0A 0x2B Key ID Start Block Blocks Key Data Checksum Key ID 1 byte key identification Start Block 1 byte the start block to write Blocks 1 byte number of block to write Key 6 bytes the key of the card Data blocks 16 bytes data to write Module returns success 0x42 0x2B Checksum Module returns failure 0x02 0xD4 Checksum 5 2 17 Mifare 1K 4K purse block initialize Function initialize a block of M...

Страница 18: ...4 Key ID Block Key Checksum Key ID 1 byte Key identification Block 1 byte block number of the value to read 0 to 0x3F for S50 0 to 0xFF for S70 Key 6 bytes the key of the card Module returns success 0x06 0x24 Data Checksum Data 4 bytes value data LSB first Module returns failure 0x02 0xDB Checksum 5 2 19 Mifare 1K 4K purse increment Function purse increment of Mifare 1K 4K The format of the purse ...

Страница 19: ...Checksum Key ID 1 byte Key identification Block 1 byte Block number to initialize 0 to 0x3F for S50 0 to 0xFF for S70 Key 6 bytes the key of the card Value 4 bytes increment value LSB first Module returns success 0x02 0x26 Checksum Module returns failure 0x02 0xD9 Checksum 5 2 21 Mifare 1K 4K purse copy Function copy the Mifare 1K 4K purse to another block in the same sector The format of the purs...

Страница 20: ...2 key memory spaces in the module that can storage 32 different keys When using the downloaded key on the module this key wouldn t appear on the pin outs of the PCD So it could provide more security Host sends 0x09 0x2D Key Index Key Checksum Key Index 1 byte store the Key Index in the module Key 6 bytes the key of the card to store in module Module returns success 0x02 0x2D Checksum Module return...

Страница 21: ...SO14443 4 card then need to turn OFF the automatic detecting card That s because the ISO14443 4 card s state will be lost in automatic detecting card Host sends 0x31 APDU Checksum APDU APDU to send Module returns success 0x31 Response Checksum Response card answers length depends on the detailed command Module returns failure 0x02 0xCE Checksum 5 2 26 Ultra Light card read Function read the data f...

Страница 22: ...byte block number to write Data 4 bytes data to write Module returns success 0x12 0x42 Checksum Module returns failure 0x02 0xBD Checksum 5 2 28 SAM slot default baud rate set Function Set default baud rate of the SAM slot Host sends 0x03 0x50 Baud rate Checksum Baud rate 1 byte baud rate code of SAM 0 9600bps default 2 38400bps other value RFU Module returns success 0x02 0x50 Checksum Module retu...

Страница 23: ...rate Checksum Baud rate 1 byte baud rate code of SAM 0 9600bps 2 38400bps other value RFU Module returns success 0x02 0x52 Checksum Module returns failure 0x02 0xAD Checksum 5 2 31 Send APDU to SAM Function send APDU to SAM and get result Host sends 0x53 APDU Checksum APDU APDU need to send Module returns success 0x53 Response Checksum Response response of SAM Module returns failure 0x02 0xAC Chec...

Страница 24: ...s operation after one card answer successful Host sends 0x05 0x60 Model AFI SLOT Checksum Model 1 byte 0 WUPB Wakeup B 1 REQB Request B other values RFU AFI 1 byte the AFI to request if request all AFI please use 0x00 SLOT 1 byte slot numbers for request uses 1 2 4 8 16 all other value are RFU Module returns success 0x0E 0x60 Info Checksum Info 12 bytes card reset information Module returns failur...

Страница 25: ...cess 0x03 0x63 Card ID Checksum Card ID 1 byte card ID Module returns failure 0x02 0x9C Checksum 5 2 36 SRI serial cards 16 slots initiate card Function SRI serial cards 16 slots initiate card Host sends 0x02 0x64 Checksum Module returns success 0x22 0x64 Status Card ID Checksum Status 16 bytes the initiate result of 16 channels 0x00 current channel success 0xE8 current channel collision 0xFF curr...

Страница 26: ... a selected SRI card returning to inventory state Host sends 0x02 0x66 Checksum Module returns success 0x02 0x66 Checksum Module returns failure 0x02 0x99 Checksum 5 2 39 SR serial cards completion Function set the CURRENT CARD into the completion state If want to operate the card again then need to move the card out of the antenna RF effective field and initiate the card Host sends 0x02 0x67 Chec...

Страница 27: ...le will read the data and compare If not equal then return failure Host sends 0x05 0x69 Block Data Checksum Block 1 byte data block number to read Data 2 bytes data to write Module returns success 0x02 0x69 Checksum Module returns failure 0x02 0x96 Checksum 5 2 42 SR176 data block lock Function write the data of SR176 lock register of the card The module will check the lock result after write Host...

Страница 28: ...44 SRI serial cards write Function write data block of SRI serial card After write module will read data and compare If not equal then return failure Host sends 0x07 0x6C Block Data Checksum Block 1 byte data block number to read Data 4 bytes data to write Module returns success 0x02 0x6C Checksum Module returns failure 0x02 0x93 Checksum 5 2 45 SRI serial cards data block lock Function write the ...

Страница 29: ... CARD Module returns failure 0x02 0x91 Checksum 5 2 47 SRIX serial cards authentication Function SRIX serial card authentication Anti clone function of the SRIX serial card Host sends 0x06 0x6F Data Checksum Data 6 bytes data input Module returns success 0x05 0x6F Result Checksum Result 3 bytes result return Module returns failure 0x02 0x90 Checksum 5 2 48 ISO15693 inventory Function Find a card i...

Страница 30: ...ion set the CURRENT TAG stay quiet Host sends 0x02 0x5D Checksum Module returns success 0x02 0x5D Checksum Module returns failure 0x02 0xA2 Checksum 5 2 50 ISO15693 get system information Function get the system information of CURRENT TAG Host sends 0x02 0x5E Checksum Module returns success 0x5E Data Checksum Data tag information the length is a variable depends on the manufacturer of the tag Modu...

Страница 31: ...54 Start Blocks Checksum Start 1 byte read start block Blocks 1 byte number of blocks to read max 62 blocks in one command Module returns success 0x54 Data Checksum Data Blocks 4 bytes Module returns failure 0x02 0xAB Checksum 5 2 53 ISO15693 write blocks Function write data blocks of CURRENT TAG Host sends 0x55 Start Blocks Data Checksum Start 1 byte write start block Blocks 1 byte number of bloc...

Страница 32: ... Module returns success 0x02 0x56 Checksum Module returns failure 0x02 0xA9 Checksum 5 2 55 ISO15693 AFI write Function write AFI to CURRENT TAG Host sends 0x03 0x57 AFI Checksum AFI 1 byte AFI value to write to tag Module returns success 0x02 0x57 Checksum Module returns failure 0x02 0xA8 Checksum 5 2 56 ISO15693 AFI lock Function lock AFI of CURRENT TAG Host sends 0x02 0x58 Checksum Module retur...

Страница 33: ... 0x02 0xA6 Checksum 5 2 58 ISO15693 DSFID lock Function lock DSFID of CURRENT TAG Host sends 0x02 0x5A Checksum Module returns success 0x02 0x5A Checksum Module returns failure 0x02 0xA5 Checksum 5 2 59 ISO15693 get blocks security Function get blocks security of CURRENT TAG Host sends 0x04 0x5B Start Blocks Checksum Start 1 byte start block Blocks 1 byte number of blocks Module returns success 0x...

Страница 34: ... key is unused in this command E g key Identification is 0x33 binary system is 00110011 here BIT0 1 authenticate Key B of the card BIT1 1 using the downloaded Key in the module BIT6 BIT5 BIT4 BIT3 BIT2 01100 then use the already downloaded key 01100 and hexadecimal is 0x0C decimal is 12 5 4 About the automatic detecting card The automatic detecting card function supports ISO14443A and ISO15963 It ...

Страница 35: ...card 2A 0A 21 00 01 AA BB CC DD EE FF 2A in sample program the function will calculate it see chapter 4 5 5 5 2 UART commands sample Read block 1 0A210001FFFFFFFFFFFF2A Read block 255 S70 0A2100FFFFFFFFFFFFFFD4 Write block 1 1A220001FFFFFFFFFFFF1234567890ABCDEF1234567890ABCDEF39 Request card WUPA 03200023 Halt card 021210 ISO15693 inventory 035C005F ISO15693 read blocks 0454000858 ISO15693 write b...

Отзывы: