Home
JMY603C User`s Manual
Contents
1. 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 15 Mifare 1K 4K purse block initialize Function initialize a block of Mifare 1K 4K to a purse The format of purse uses Mifare 1K 4K s default The key of the card could not use as a purse Host sends Ox0E 0x23 KeyID Block Key Value Checksum Key ID 1 byte Key identification Block 1 byte Block number to initialize 0 to Ox3F for S50 0 to OXFF for S70 Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 15 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com Key 6 bytes the key of the card Value 4 bytes initialized value LSB first Module returns success 0x02 0x23 Checksum Module returns failure 0x02 OxDC Checksum 5 2 16 Mifare 1K 4K purse read Function read a purse of Mifare 1K 4K The format of the purse uses Mifare 1K 4K s default Module will read the data in the block and check if it is a purse format If yes return 4 bytes value data if no return failure Host sends Ox0A 0x24 KeyID Block Key Checksum
2. Key ID 1 byte Key identification Block 1 byte block number of the value to read 0 to 0x3F for S50 0 to OxFF 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 OxDB Checksum 5 2 17 Mifare 1K 4K purse increment Function purse increment of Mifare 1K 4K The format of the purse uses Mifare1K 4K s default Purse increment means the increment on the basis of the original number Host sends Ox0E 0x25 KeyID Block Key Value Checksum Key ID 1 byte Key identification Block 1 byte block number to initialize 0 to Ox3F for S50 0 to OxFF for S70 Key 6 bytes the key of the card Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 16 28 lt Mifare amp ISO14443A amp ISO14443B Module Value 4 bytes increment value LSB first Module returns success 0x02 0x25 Checksum Module returns failure 0x02 OxDA Checksum 5 2 18 Mifare 1K 4K purse decrement http www jinmuyu com Function purse decrement of Mifare 1K 4K The format of the purse uses Mifare 1K 4K s default Purse decrement means the decrement on the basis of the original number Purse decrement only needs the read authority of the key Host sends Ox0E 0x26 Key ID Block
3. 0x04 0x68 Data Checksum Data 2 bytes data read Module returns failure 0x02 0x97 Checksum 5 2 35 SR176 card write Function write the data block of SR176 card After write module will read the data and compare If not equal then return failure Host sends Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 23 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com 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 36 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 sends 0x03 0x6A Lock value Checksum Locked value 1 byte the lock register values to write Module returns success 0x02 0x6A Checksum Module returns failure 0x02 0x95 Checksum 5 2 37 SRI serial cards read Function read data block of SRI serial card Host sends 0x03 0x6B Block Checksum Block 1 byte data block number to read Module returns success 0x06 0x6B Data Checksum Data 4 bytes data read Module returns failure 0x02 0x94 Checksum Copyri
4. 5 2 9 ISO14443A request cards Function SO14443A 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 1SO14443 4 by SAK If automatic detecting card function was turned on then this command is read the result of automatic detecting card Host sends 0x03 0x20 Mode Checksum Mode 1 byte 0 WUPA request all 1 REQA Request not halted only other value RFU Module returns success 0x20 Data Checksum Data 4 7 or 10 bytes card serial number 2 bytes ATQA 1 byte SAK Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 12 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com Module returns failure 0x02 OxDF Checksum 5 2 10 Mifare 1K 4K data block read Function read Mifare 1K 4K data block Host sends Ox0A 0x21 Key ID Block Key Checksum Key ID 1 byte Key identification BITO 0 Key A BITO 1 Key B BIT1 0 using the key in the command BIT1 1 using the key downloaded by command 0x2D BIT6 BIT5 BIT4 BIT3 BIT2 if use the downloaded key this is the index of the key IMPORTANT please read Chapter 5 3 about Key identification Block 1 byte Block number to read 0 to 0x3F
5. Key Value Checksum Key ID 1 byte Key identification Block 1 byte Block number to initialize 0 to Ox3F for S50 0 to OXFF 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 19 Mifare 1K 4K purse copy Function copy the Mifare 1K 4K purse to another block in the same sector The format of the purse uses Mifare 1K 4K s default Host sends 0x0B 0x27 Key ID Source Target Key Checksum Key ID 1 byte Key identification Source 1 byte block number to copy 0 to 0x3F for S50 0 to OxFF for S70 Target 1 byte copy the purse to this block source and target need in same sector Key 6 bytes the key of the card Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 17 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com Module returns success 0x02 0x27 Checksum Module returns failure 0x02 0x D8 Checksum 5 2 20 ISO14443A card halt Function set the current operating ISO14443A card in halt state Host sends 0x02 0x28 Checksum Module returns success 0x02 0x28 Checksum Module returns failure 0x02 0xD7 Checksum 5 2 21 Download Mifare 1K 4K card key to module Func
6. AABBCCDDEEFP 01 block number to read AABBCCDDEEFF key of the sector of the card 2A 0A 21 00 01 AA BB CC DD EE FF 2A in sample program the function will calculate it 5 5 2 UART commands sample Read block 1 0A210001FFFFFFFFFFFF2A Read block 255 S70 0A2100FFFFFFFFFFFFFFD4 Write block 1 1A220001 FFFFFFFFFFFF 1234567890ABCDEF 1234567890ABCDEF39 Request card WUPA AABBO03200023 Halt card AABBO021210 5 6 Interface program source code We have interface program source code to help users They are KELL project in C51 or ASM51 format Please mail to jinmuyu vip sina com to obtain the program Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 27 28
7. If cross sectors then read will fail Host sends Ox0A Ox2A Key ID Start Block Blocks Key Checksum Key ID 1 byte key identification Start Block 1 byte start block to read Blocks Ibyte number of block to read Key 6 bytes the key of the card Module returns success Ox2A Data Checksum Data blocks 16 bytes card data Module returns failure 0x02 0xD5 Checksum 5 2 13 Mifare 1K 4K data block write Function write the data to a block of Mifare 1K 4K Host sends OxlA 0x22 KeyID Block Key Data Checksum Key ID 1 byte Key identification Block 1 byte Block number to write 0 to 0x3F for S50 0 to OxFF for S70 Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 14 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com Key 6 bytes the key of the card Data 16 bytes data to write Module returns success 0x02 0x22 Checksum Module returns failure 0x02 0xDD Checksum 5 2 14 Mifare 1K 4K multi blocks write Function write multi data blocks The function is supported only in the same sector If cross sector it will fail while writing the first block in the next sector and then prompt the error in the returned result Host sends OxOA 0x2B Key ID Start Block Blocks Key Data Checksum
8. Module returns success 0x12 0x42 Checksum Module returns failure 0x02 OxBD Checksum 5 2 26 Set module contactless protocol Function set module card operating protocol default is IS014443A The setting will not be saved and will return to the default state at next power up Host sends 0x03 0x70 Model Checksum Model 1 byte 0 ISO14443A 1 ISO14443B 2 ISO15693 other value RFU Module returns success 0x12 0x70 Checksum Module returns failure 0x02 Ox8F Checksum 5 2 27 ISO14443 4 TYPE B card request Function ISO14443 4 TYPE B card request and set the communication parameters The reader will skip the remains operation after one card answer successful Host sends Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 20 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com 0x05 0x60 Model AFI SLOT Checksum Model 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 OxOE 0x60 Info Checksum Info 12 bytes card reset information Module returns failure 0x02 Ox9F Checksum 5 2 28 ISO14443 4 TYPE B card
9. 1 115200bps other values RFU Module returns success 0x02 0x17 Checksum Module returns failure 0x02 OxE8 Checksum 5 2 7 Set multi card operation Function set multi card operation If users need select on card from multi card then need to use the multi card 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 Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 11 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com Multi card operation default enables This function is suitable for ISO14443A only Host sends 0x03 OxlA Multi card enable Checksum Multi card enable 1 byte 0 disable multi card 1 enable multi card other values RFU Module returns success 0x02 OxlA Checksum Module returns failure 0x02 OxE5 Checksum 5 2 8 Set automatic detecting card interval time Function set interval time between two automatic detecting card Host sends 0x03 Ox1C Interval Time Checksum Interval Time 1 byte 0x00 to OxFF unit is 1OmS 0x01 means 10mS Module returns success 0x02 Ox1C Checksum Module returns failure 0x02 OxE3 Checksum
10. be able to set operate single card only Auto detecting card EEPROM Power supply Interface Communication rate Max command length Power consumption Operating distance Dimension Weight ISP Operating temperature Storage temperature RoHS Supported default OFF 512 Bytes DC 5V 0 5V RS232C 19 2Kbps 115 2Kbps 254 Bytes 80mA 100mm depending on card and antenna design 85mm 59mm 5 6mm About 30g Supported 25 to 85 C 40 to 125 C Compliant Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 3 28 lt gt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com 3 Physical parameter and pin outs 3 1 Photo 3 2 Dimension CEYULUCIJJUUUGTU S Anim 8 4mm 5 a F x ei yaa os a Se f 3 4mm 44 2mm 64mm 59mm Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 4 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com 3 3 Pin configurations and Pin outs PIN Function Type Description 1 ICC Output Card in out 0 card in 1 card out 2 RXD Input RXD 3 TXD Output TXD 4 VCC Power VCC 5 GND Power GND 3 4 Model available JMY603CS RS232 UART interface 232 level 3 5 Model rule 3 5 1 Model format 1 2 3 4 JMY 603 X X 1 company code 2 product series code 3 card operating type 4 communication por
11. card If there is more than one card in the RF electric field then the operation will fail Host sends 0x03 Ox11 Mode Checksum Mode 1 byte Antenna status BITO 0 OFF BITO 1 ON Auto request BIT1 0 OFF BITI 1 ON Module returns success 0x02 0x11 Checksum Module returns failure Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 9 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com 0x02 OxEE Checksum 5 2 3 Set module idle Function set the module idle In idle mode the module of RF output turn to OFF PCD power down and CPU in idle mode so the power consumption reduces to about 100uA Sending the next command to module will wake up the module and then the RF output ON and automatic detecting card restore default settings The module will enter into 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 OxED Checksum 5 2 4 EEPROM read Function read data in EEPROM of the module Host sends 0x05 0x15 Address Bytes Checksum Address 2 bytes read start address add
12. halt Function set the current ISO14443B card halt Host sends 0x03 0x62 PUPI Checksum PUPI 4 bytes PUPI of the card to halt Module returns success 0x02 0x62 Checksum Module returns failure 0x02 0x9D Checksum 5 2 29 SR serial cards 1 slot initiate card Function SR serial cards SR176 SRI512 SRI1K SRI2K SRI4K SRIX4K the same below single channel initiate card Before read write card it needs to use the command of SR serial cards select to select the card More detailed card operations see the card manual please Host sends 0x06 0x63 Checksum Module returns success 0x03 0x63 Card ID Checksum Card ID 1 byte card ID Module returns failure Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 21 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com 0x02 0x9C Checksum 5 2 30 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 OxE8 current channel collision OxFF current channel no card Card ID 16 bytes card ID of 16 channels it is valid while the status of current channel is successful Module retu
13. JM Y603C User s Manual Revision 3 42 Jinmuyu Electronics Co LTD 2011 6 27 Please read this manual carefully before using If any problem please mail to Jinmuyu vip sina com lt Mifare amp ISO14443A amp ISO14443B Module Contents Product introduction esccescceseceseceneceecesecsaeeesecsaeceseceseesaeeeseeeaeeeaeeeaeees DZ CRALACTELISUICS wsievsdidsccctses secs sedstsvssencorssuegssesisetiversessetvelievstescevisteenuessiesteny 3 Physical parameter and pin outs oe eee eee ceeeeseeeeceeeeseeaeeseeeeeeaees 3 1 IPHOUO A E AE T E A E P 3 2 DIENS oea aa e E Ea ASEA 3 3 Pin configurations and Pin outs ssssesseseeeseeesseresrsrrsrrreersreeese 3 4 Model available iseseisana iii is 3 5 Model Merona en E N ETS 3 5 1 Model format is cccssives sessiesacessavescusasens coscvesseupsvessceesten convenes 3 5 2 Card operating type sesesesesessseesrsseessresesrrsesrerentrresisresesee 3 5 3 Communication pott s esssseesssssesseesssresrereetsiesrsrreesrseeseses 4 Communication Protocols ee eeeceseeseceseceeeceseeeseeeseeeseeeeeeeseeeteeeeeeesees 4 1 DY CE VIC Ws ces casuns sees ya E EE 4 2 UART protocols sc cecccstistccteacesetsteastecsbevsassetesessbestastabeneteastosts 4 3 Data Send formatisi iiipin i i pii 4 4 Data return format oc iecsiecsveciasctieccasecaectavetandansecascaasceanceveccaseneaes 5 Description of Commands sssr insense i Eaa asia eni 5 1 List of commands sasic ern
14. a 5 2 Explanation of commands 0 cece eeeeeeseeseceeeeeeeseeseeeeeeaeeas 5 2 1 Read product information sssesseessseeeeseersrsersrrsesrsresreee 5 2 2 Module working mode Set eee eee ee eeeeeteeeeeeeseees 5 2 3 Set mod le 11O yc cscisscdevbsodehabcaweiibeeleitebesseihbesleneebeaeteeds 5 2 4 EEPROM fad wicciseccss sts cevecivacussctsesens cdonccvecduesesscdvadens stveves 5 2 5 EEBPROM Wrt siiiicicsecidiinuveduannidsinnasnudvis 5 2 6 Set UART communication baud rate eee 5 21 Set multi card Operation essssesseessesesreeeersrrerersresreresreees 5 2 8 Set automatic detecting card interval time 5 2 9 TSO14443A request Cards cece eseesseeeeeeeeeseeeeeeeeeaes 5 2 10 Mifare 1K 4K data block read oo eee eee eeeeeeeees 5 2 11 Mifare 1K 4K sector 4 blocks read eeeeceeeeseeeeees 5 2 12 Mifare 1K 4K multi blocks read eects 5 2 13 Mifare 1K 4K data block Write eee eeeeeeeeeeteeeeeeeeees 5 2 14 Mifare 1K 4K multi blocks write 0 eee 5 2 15 Mifare 1K 4K purse block initialize eee 5 2 16 Mifare 1K 4K purse read eee eeeeseereeeeeeeeeaes 5 2 17 Mifare 1K 4K purse increment eee eee eeeeeeeeees 5 2 18 Mifare 1K 4K purse decrement eee eee eeeeeeeee 5 2 19 Mifare 1K 4K purse COPY eee eeeeceeseceeeeeeeeeseeseeeeeeaes 5 2 20 ISO14443A card halt 0 eee eeceeceeeeseeeeeeeneeeaes 5 2 21 Download Mifare 1K 4K card key to module 5 2 22 1SO14443 4 TYPE A card reset eee eee eeeeeeees 5 2 23 Sen
15. d 6 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com 5 Description of commands 5 1 List of commands Command code 0x10 0x11 0x12 0x15 0x16 0x17 OxlA Ox1C 0x20 0x21 0x29 0x2A 0x22 0x2B 0x23 0x24 0x25 0x26 0x27 0x28 0x2D 0x30 0x31 0x41 0x42 0x70 0x60 0x62 0x63 0x64 0x65 0x66 0x67 0x68 0x69 Ox6A Ox6B Command function Read product information Module working mode set Sets module idle EEPROM read EEPROM write Set UART communication baud rate Set multi card operation Set automatic detecting card interval time 1SO14443A Request cards Mifare 1K 4K data block read Mifare 1K 4K sector 4 blocks read Mifare 1K 4K multi blocks read Mifare 1K 4K data block write Mifare 1K 4K multi blocks write Mifare 1K 4K purse block initialize Mifare 1K 4K purse read Mifare 1K 4K purse increment Mifare 1K 4K purse decrement Mifare 1K 4K purse copy 1SO14443A card halt Download Mifare 1K 4K card key to module 1SO14443 4 TYPE A card reset Send APDU to ISO14443 4 card Ultra Light card read Ultra Light card write Set module contactless protocol 1SO14443 4 TYPE B card request 1SO14443 4 TYPE B card halt SR serial cards 1 slot initiate card SRI serial cards 16 slots initiate card SR serial cards select SRI serial cards return to inventory SR serial cards completion SR176 card read SR176 card write SR176 data block lock SRI serial cards read Copyright 2003 2011 J
16. d APDU to 1SO14443 4 card eee eeeeeeeees Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved http www jinmuyu com 1 28 lt Mifare amp ISO14443A amp ISO14443B Module 5 2 24 Ultra Light card read 0 0 cccsscscsesscsessevsecssessessassteseene 5 2 25 Ultra Light card Write 0 eee cece eeeeeeeeeeaeeeeeeeeeeees 5 2 26 Set module contactless protocol eee eee eee eeeeees 5 2 27 1SO14443 4 TYPE B card request 0 eee eee eee 5 2 28 1SO14443 4 TYPE B card halt eee eeeeee 5 2 29 SR serial cards 1 slot initiate card eee eeeeseeteeeneeeeees 5 2 30 SRI serial cards 16 slots initiate card eeeeeeeeeeeees 5 2 31 SR serial cards Select esceseesceseeeseceneceeceeeeeeeaeeeneees 5 2 32 SRI serial cards return to inventory 00 ee eee este eeteeeeeees 5 2 33 SR serial cards completion cece ee eeeeseeseeeeeeeeeeees 5 2 34 SRIT6 Card Tad oerien iEn ENAN REENE EE 5 2 33 SRITO Card Will wicca shinee ae MMe ana 5 2 36 SR176 data block LOCK eee eeeeneceneceeceseceseeeaeeeaeeeaeees S237 SR serial cards read weccscccscccsccssssescstsscessccveceesscsccessccneceesstas 5 2 38 SRivserial cards Write sic cicasaiedsdevsanvad canoes 5 2 39 SRI serial cards data block lock eee eeseeneeeteeeeeeeeees 5 2 40 SRI serial cards read UID eee eeeeseceneceeceteeeneeeneees 5 2 41 SRIX serial cards authentication eeeseeseeeseeeneeeeeees 5 3 About KEY Identification sesoses aseri
17. for S50 0 to OxFF 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 OxDE Checksum 5 2 11 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 sector trailer For sector 32 to 39 of S70 this command is called read 4 blocks Because the sectors are include 16 blocks and then module will read 4 blocks If you need to read the 16 blocks in these sectors you need do this command 4 times to fill the requirements The Sector in package is read start block number shift right 2 bits Host sends Ox0A 0x29 Key ID Sector Key Checksum Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 13 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com Key ID 1 byte Key identification Sector 1 byte Sector number to read 0 to OxOF for S50 0 to 0x3F for S70 Key 6 bytes the key of the card Module returns success 0x42 0x29 Data Checksum Data 64 bytes card data Module returns failure 0x02 0xD6 Checksum 5 2 12 Mifare 1K 4K multi blocks read Function read multi data blocks in the same sector The function is supported only in the same sector
18. ght 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 24 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com 5 2 38 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 39 SRI serial cards data block lock Function write the data of SRI card to lock the register It will check the locked result after write Host sends 0x03 0x6D Locked value Checksum Locked value 1 byte the locked register values to write Module returns success 0x02 0x6D Checksum Module returns failure 0x02 0x92 Checksum 5 2 40 SRI serial cards read UID Function SRI serial cards read UID Host sends 0x02 Ox6E Checksum Module returns success Ox0A Ox6E UID Checksum UID 8 bytes UID of CURRENT CARD Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 25 28 lt Mifare amp ISO14443A amp ISO14443B Module Module returns failure 0x02 0x91 Checksum 5 2 41 SRIX serial cards authentication http www jinmuyu c
19. inmuyu Electronics Co LTD All rights reserved 7 28 lt Mifare amp ISO14443A amp ISO14443B Module 0x6C 0x6D Ox6E Ox6F Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved SRI serial cards write SRI serial cards lock block SRI serial cards read UID SRIX serial cards authentication http www jinmuyu com 8 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com 5 2 Explanation of commands 5 2 1 Read product information Function read the product information of CURRENT PRODUCT includes product name firmware version firmware date and configuration information Host sends 0x02 0x10 Checksum Module returns success Ox1D 0x10 Information Checksum Information 27 bytes 8 bytes product name 4 bytes firmware version 8 bytes firmware date 1 byte UART baud rate code lbyte RFU 1 byte IIC address 1 byte multi card operation enable state 2 bytes RFU 1 byte automatic detecting card interval multiple of 10mS Module returns failure 0x02 OxEF 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 will NOT SAVE the setting and all settings will LOSE on next power up The multi card operation will be prohibited while users turn ON the automatic detecting
20. n 5 4 About the automatic detecting Card oo eee eee eeeseeseeeeeeeeeeee 5 3 Example of commands s sseesssseessesesrsrtstsrestsrssesreeesrssesrsresenes 5 5 1 About UART communication protocol eee 5 5 2 UART commands sample eee eeeeeeeeneeeeeeeeeeees 5 6 Interface program source code oo eee eee esses eeeeeeeeseeseeeeeeeeaes Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved http www jinmuyu com 2 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com 1 Product introduction JMY603C is RFID reader writer module with an UART port JMY603C has various functions and supports multi ISO IEC standard of contactless card The RF protocol is complex The designer combined some frequently used command of RF card and then user could operate the cards with full function by sending simple command to the module The module and antenna is integrated The impedance between RF module and antenna was tuned by impedance analyzer And then the module has excellent performance and stability 2 Characteristics PCD model Working frequency Supported standard Card supported NXP MF RCS531 13 56MHz 1SO14443A ISO14443B Mifare 1K 4K FM11RFO08 Ultra Light DesFire Mifare ProX SR176 SRI512 SRIIK SRI2ZK SRI4K SRIX4K T CL smart cards both ISO14443A amp 1SO14443B Anti collision ability Full function anti collision be able to process multi cards
21. om Function SRIX serial card authentication Anti clone function of the SRIX serial card Host sends Data 6 bytes data input Module returns success 0x06 Ox6F Data Checksum 0x05 Ox6F Result Checksum Result 3 bytes result return Module returns failure 0x02 0x90 Checksum 5 3 About KEY Identification There is a byte of KEY identification in command of Mifare 1K 4K read write This byte will identify the way to get the card key Key Identification BIT7 BIT6 BITS BIT4 BIT3 BIT2 BITI BITO 0 BITO 0 KEY A authenticate Key A of the card 1 KEY B authenticate Key B of the card BIT1 0 Using the following Key in command key in the command are left unused but the 6 byte is necessary in the command sequence 1 Using the downloaded Key by command 0x2D BIT6 BITS BIT4 BIT3 BIT2 Index of the Key already downloaded 0 to 31 If BIT1 is 0 then these 5 bits BIT6 to BIT2 are unused If BIT1 is 1 then use the already downloaded key Users need to download key s by using command 0x2D first and then the 6 bytes E g key Identification is 0x00 binary system is 00000000 here BITO 0 authenticate Key A of the card BIT1 0 using the key in command BIT6 BITS BIT4 BIT3 BIT2 00000 because not use the already downloaded key the index key is unused in this command E g key Identifica
22. ress from 0x0000 to 0x01FF MSB first Bytes 1 byte number of bytes to read max 64 bytes Module returns success 0x15 Data Checksum C6 GC Remark the byte length is means the byte length depends on the card feedback information The same to below Data data read Module returns failure 0x02 OxEA Checksum Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 10 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com 5 2 5 EEPROM write Function write data into EEPROM of the module Host sends 0x16 Address Bytes Data Checksum Address 2 bytes read start address address from 0x0000 to OxO1FF MSB first Bytes 1 byte number of bytes to read max 64 bytes Data Bytes data to write Module returns success 0x02 0x16 Checksum Module returns failure 0x02 OxE9 Checksum 5 2 6 Set UART communication baud rate 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 rate code 0 19200bps
23. rns failure 0x02 0x9B Checksum 5 2 31 SR serial cards select Function select a SR card as the CURRENT CARD You could operate the card after select Host sends 0x03 0x65 Card ID Checksum Card ID 1 byte Card ID to select Module returns success 0x03 0x65 Card ID Checksum Card ID 1 byte the selected card ID Module returns failure 0x02 0x9A Checksum 5 2 32 SRI serial cards return to inventory Function set a selected SRI card returning to inventory state Host sends Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 22 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com 0x02 0x66 Checksum Module returns success 0x02 0x66 Checksum Module returns failure 0x02 0x99 Checksum 5 2 33 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 Checksum Module returns success 0x02 0x67 Checksum Module returns failure 0x02 0x98 Checksum 5 2 34 SR176 card read Function read SR176 card data block Host sends 0x06 0x68 Block Checksum Block 1 byte data block number to read Module returns success
24. t the card If operate ISO14443 4 card then need to turn OFF the automatic detecting card That s because the IS014443 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 OxCE Checksum 5 2 24 Ultra Light card read Function read the data from Ultra Light card A read command will read 4 blocks data from the card If read start block is the last block then these 4 blocks data are the 15th Oth lst and 2nd block Host sends 0x05 0x41 Read start block Checksum Read start block 1 byte start block number to read Module returns success Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 19 28 lt Mifare amp ISO14443A amp ISO14443B Module 0x12 0x41 Data Checksum Data 16 bytes card data of 4 blocks a read operation read 4 blocks from the start block Module returns failure 0x02 OxBE Checksum 5 2 25 Ultra Light card write Function write data to Ultra Light card Host sends http www jinmuyu com 0x05 0x42 Block Data Checksum Block 1 byte block number to write Data 4 bytes data to write
25. t type 3 5 2 Card operating type A PCD is RC500 support ISO14443A and Mifare Class C PCD is RC531 support IS014443A ISO14443B and Mifare Class 3 5 3 Communication port S RS232C Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 5 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com 4 Communication Protocols 4 1 Overview There is COMS UART port on the module Please read this chapter before programming and refer to the sample program There are detailed comments in the sample source code 4 2 UART protocol 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 3 Data send format Length Command Data Checksum Length 1 byte number of bytes from Command length byte to the last byte of Data Command 1 byte the command of this instruction Data length depends on the command type length from 0 to 251 bytes Checksum 1 byte Exclusive OR XOR results from length byte to the last byte of data 4 4 Data return format Success Length Command Data Checksum Failure Length Invert Command Checksum Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserve
26. tion download the Mifare 1K 4K card key to module There are 32 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 returns failure 0x02 0xD2 Checksum 5 2 22 ISO14443 4 TYPE A card reset Function reset an IS014443 4 TYPE A card Before executing this command it needs to request card and verifies the card support ISO14443 4 in the SAK of card If operate Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 18 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com 1SO14443 4 card then need to turn OFF the automatic detecting card That s because the 1SO14443 4 card state will be lost in the automatic detecting card Host sends 0x02 0x30 Checksum Module returns success 0x30 Info Checksum Info card reset information length depends on card Module returns failure 0x02 OxCF Checksum 5 2 23 Send APDU to ISO14443 4 card Function send APDU to an ISO14443 4 card Before executing the command it needs to rese
27. tion is 0x33 binary system is 00110011 here BITO 1 authenticate Key B of the card BIT1 1 using the downloaded Key in the module BIT6 BITS BIT4 BIT3 BIT2 01100 then use the already downloaded key 01100 and Copyright 2003 2011 Jinmuyu Electronics Co LTD All rights reserved 26 28 lt Mifare amp ISO14443A amp ISO14443B Module http www jinmuyu com hexadecimal is OxOC decimal is 12 5 4 About the automatic detecting card The automatic detecting card function supports ISO14443A It is default OFF User could set the automatic detecting card on by send command 0x11 This setting will lose on next power up Automatic detecting card supports full function of Mifare 1K 4K and Ultra Light Automatic detecting card can find ISO14443A smart cards If user needs to send APDU to the card then must turn automatic detecting card OFF for correct operation Automatic detecting card supports only one card operation If there is more than one card in the RF effective field then the operation may fail Then the multi card operation will automatically turn OFF while the automatic detecting card function turned on 5 5 Example of commands 5 5 1 About UART communication protocol For example Read block 1 0A210001AABBCCDDEEFF2A OA package length from OA to FF are total Ox0A bytes the 00 in red is a protocol byte see chapter 4 2 2 21 instruction of read 00 Authenticate KEY A using the key in package The key is
Download Pdf Manuals
Related Search
Related Contents
Manual de Instruções TORQUE CONTROL PAINEL BIXOLON CM014-2 User's Manual User Manual SERVICE MANUAL Insight Version 3-4 User Manual - AD Elegant Home Fashions HDT559 Instructions / Assembly TEKTRONIX DPO4104B Datasheet Call for Proposals for Period 93 Kawasaki 690081-1HR User's Manual Lightolier Emergency Lighting HL User's Manual Copyright © All rights reserved.
Failed to retrieve file