Inside Secure M300 Radio Frequency Transceiver User Manual

Inside Secure Radio Frequency Transceiver Users Manual

Users Manual

Page 1COMMAND INTERFACE - REFERENCE MANUALCOMMAND INTERFACE - REFERENCE MANUALCouplers - Reference Manuel V1.3
Page 2CONTENTSCONTENTSIntroduction..........................................................................................................................................................4Host – Coupler protocol.......................................................................................................................................4Description......................................................................................................................................................4Case 1: ISO None Data Exchange.................................................................................................................5Case 2 : ISO Out Data Exchange - Coupler ð Host .......................................................................................5Case 3: ISO In Data Exchange - Host ð Coupler ...........................................................................................5Case 4 : ISO InOut Data Exchange - Host Û coupler.....................................................................................6Coupler's command ............................................................................................................................................7overview.........................................................................................................................................................7Common functions.....................................................................................................................................7Security module functions..........................................................................................................................7SELECT CARD.................................................................................................................................................8Use............................................................................................................................................................8Prototyping................................................................................................................................................8Parameters.................................................................................................................................................8SELECT PAGE...............................................................................................................................................10Use..........................................................................................................................................................10Prototyping..............................................................................................................................................10Parameters...............................................................................................................................................10TRANSMIT....................................................................................................................................................13Use..........................................................................................................................................................13Prototyping..............................................................................................................................................13Parameters...............................................................................................................................................13GET RESPONSE............................................................................................................................................16Use..........................................................................................................................................................16Prototyping..............................................................................................................................................16Parameters...............................................................................................................................................16READ STATUS...............................................................................................................................................17Use..........................................................................................................................................................17Prototyping..............................................................................................................................................17Parameters...............................................................................................................................................17SET STATUS..................................................................................................................................................18Use..........................................................................................................................................................18Prototyping..............................................................................................................................................18Parameters...............................................................................................................................................18Modifiable parameters............................................................................................................................19Coupler's INPUTS and OUTPUTS............................................................................................................20EEPROM free area..................................................................................................................................20DISABLE COUPLER........................................................................................................................................21Use..........................................................................................................................................................21Prototyping..............................................................................................................................................21Parameters...............................................................................................................................................21DISABLE COUPLER ENHANCED..................................................................................................................22Use..........................................................................................................................................................22Prototyping..............................................................................................................................................22Parameters...............................................................................................................................................22ENABLE COUPLER........................................................................................................................................23Use..........................................................................................................................................................23Couplers - Reference Manuel V1.3
Page 3Prototyping..............................................................................................................................................23Parameters...............................................................................................................................................23ASK RANDOM.............................................................................................................................................24Use..........................................................................................................................................................24Prototyping..............................................................................................................................................24Parameters...............................................................................................................................................24LOAD KEY FILE.............................................................................................................................................25Use..........................................................................................................................................................25Prototype.................................................................................................................................................25Parameters...............................................................................................................................................25SELECT CURRENT KEY.................................................................................................................................27Use..........................................................................................................................................................27Prototype.................................................................................................................................................27Parameters...............................................................................................................................................27DIVERSIFY KEY.............................................................................................................................................28Use..........................................................................................................................................................28Prototype.................................................................................................................................................28Parameters...............................................................................................................................................28GET CONFIG...............................................................................................................................................29Use..........................................................................................................................................................29Prototype.................................................................................................................................................29Parameters...............................................................................................................................................29Couplers - Reference Manuel V1.3
Page 4IntroductionThis reference manual describes the command interface with INSIDE Contactless couplers and readers.Host – Coupler protocolDescriptionThe commands are modeled on the ISO 7816 command set. This protocol is used by all INSIDE’s couplersA typical protocol exchange includes:1. The host sends a command to the coupler2. The coupler executes the command3. The host receives a response from the couplerCoupler command is always constituted of 5 bytes :CLASS : always 80hINSTRUCTION : command to be executed by the coupler (like SelectCard)P1 : Command parameterP2 : Command parameterP3 : Command parameterDepending on the command, coupler answers data, status words.There are 4 cases of data exchange:Case Host to coupler Coupler to host ISO Type1 None None ISO None2 None Yes ISO Out 3 Yes None ISO In4 Yes Yes ISO In/OutNote : In case 4, data has to be sent and received from the coupler. With T=0protocol, it is not possible in a single command, so this command has to be splitinto 2 commands:Couplers - Reference Manuel V1.3
Page 5ISO In : The host sends a command + data and receives the status words.ISO Out : The host sends a command and receives data + the status words.Coupler with firmware former than 40-017F has only ISO NONE, ISO IN and ISO OUT protocol available. In all cases, status words are returned (SW1 and SW2).Case 1: ISO None Data ExchangeCommand  Status wordsHost Class Ins. P1 P2 P3Coupler  SW1 SW2nb. bytes 5 bytes 2 bytesCase 2 : ISO Out Data Exchange - Coupler ð Host Command  Ack. Data  Status wordsHost Class Ins. P1 P2 P3Coupler  = Ins. Data  SW1 SW2Nb bytes 5 1 =P3 2Class : always 80h•Instruction : command code•P1 & P2 : command parameters•P3: number of data bytes expected from the couplerAck. : coupler acknowledgement. It is always equal to the command code, except when an error occurs. Ifthe Acknoledgement value is different than the instruction byte, then the received byte is the first byte of astatus error code coded on 2 bytes.Data : data sent to the host by the coupler. Size of the command has to be P3.Status word : 90 00h if correct, error code.Case 3: ISO In Data Exchange - Host ð Coupler Command  Ack. Data  Status wordsHost Class Ins. P1 P2 P3 Data Coupler  = Ins. SW1 SW2Nb bytes 5 1 =P3 2Couplers - Reference Manuel V1.3
Page 6•Class : always 80h•Instruction : command code•P1 & P2 : command parameters•P3: number of data bytes sent to the coupler.•Ack. : coupler acknowledgement. It is always equal to the command code, except when an erroroccurs. If Acknowledgement value is different than instruction byte, then the received byte is the firstbyte of a status error code coded on 2 bytes.•Data : data sent by host to the coupler. Size of data array has to be P3.•Status word : 90 00h if correct / error code.•Error : If the Acknowledgement value is different than the instruction byte, then the received byte is thefirst byte of a status error code coded on 2 bytes.Case 4 : ISO InOut Data Exchange - Host Û couplerCommand  Ack. Data In Ack. Data out Status wordsHost Cla. Ins. P1 P2 P3 Data InCoupler  =Ins. =Ins. Data out SW1 SW2Nb bytes 5 1 = P3 1 = P2 2Class : always 80hInstruction : command codeP1 : command parametersP2 : number of data bytes expected from the coupler.P3 : number of data bytes sent to the coupler.Ack. : coupler acknowledgement. It is always equal to the command code, except when an error occurs. IfAcknowledgement value is different than instruction byte, then the received byte is the first byte of a statuserror code coded on 2 bytes.Data : data sent to the host by the coupler. Size of the command has to be P3.Status word : 90 00h if correct / error code.Couplers - Reference Manuel V1.3
Page 7Coupler's command overviewCommon functionsCommand INS DescriptionSELECT_CARD ‘A4h’ Selects one contactless card following list of possiblecards in the fieldSELECT_PAGE ‘A6h’ Selects a page in a multi-application chipTRANSMIT ‘C2h’ Sends and retrieve data from chip through contactlessinterface : Transparent modeGET_RESPONSE ‘C0h’ Reads the internal buffer of the coupler to retrieve chipanswer for ISO 7816 T=0 protocol.Command INS DescriptionREAD_STATUS ‘F2h’ Reads coupler status or EEPROM memory.SET_STATUS ‘F4h’ Sets the coupler status or write in EEPROM memory.DISABLE_COUPLER ‘ADh’ Disables the coupler. it will only respond after aENABLE_COUPLER command.ENABLE_COUPLER ‘AEh’ Enable the coupler. It wakes up the coupler after aDISABLE_COUPLER command.Security module functionsCommand INS DescriptionLOAD_KEY_FILE ‘D8h’ Load new master keys for authentication purposes.ASK_RANDOM ‘84h’ Ask for a random number from the coupler.SELECT_CURRENT_KEY ‘52h’ Select the key to be used for authentication purposes.Couplers - Reference Manuel V1.3
Page 8SELECT CARDUseSelect a card in order to get the serial number. This command manages anti-collision and  authenticationfeatures.This command is able to test several communication protocol. It answers the number of protocol used to selectthe card.Prototyping•Command sent : A4h•Command type : ISO outHost 80h A4h P1 P2 P3Coupler  A4h Serial Number 90h 00hParametersBit 7 6 5 4 3 2 1 0Function - - Key Auth Presel. Loop Halt WaitP1: Parameter used for contactless configurationImportant note: ‘ – ‘ are reserved for future use, and values should be set to 0.WAIT :1: Wait until a card is selected or a character received from the host (e.g. PC).0: Exit if no card is detected after 3 attempts.Note: When SELECT_CARD uses the option «LOOP», the coupler sends ACK=60h(See T=0 specifications) after each unsuccessful selection until a card is selected.When a card is selected, «90h 00h» is returned. In order to stop this scanning,host has to send a byte through the RS232 interface.HALT:1: Halts card after selection for fast serial numbers capture.0: No halt after selection.LOOP:1: returned a frame composed of ACK |  CARD TYPE |  SN |  9000h or wait character 60h0: no loop performed.Couplers - Reference Manuel V1.3
Page 9PRE:1: Increases pre-selection with INSIDE CONTACTLESS anti-collision and a large number of cards.0: Standard anti-collision (best for 5 cards max.).AUTH:1: Performs a standard INSIDE authentication. Authentication is performed if the key is set as the current key. Please refer to appendix A : «How to low a key» for key loading and key management operationsdetails.0: Does not perform an authentication.KEY:1: Authenticates with Debit Key  (Kd = Key 1) if AUTH is set.0: Authenticates with Credit Key (Kc = Key 2) if AUTH is set.P2: Parameter used for selecting the card types to be readB7-b4 B3 B2 B1 b00 Protocol 3 Protocol 2 Protocol 1 Protocol 0INSIDE couplers manage the following protocols :•Protocol 0 : ISO 14 443 type B & Inside anticollision (only for INSIDE chip)•Protocol 1 : ISO 15 693 & Inside anticollision (only for INSIDE chip)•Protocol 2 : ISO 14 443 type B-3 •Protocol 3 : User defined protocol - see «Other ISO chip management» chapter for more informationabout Protocol 3 use.If bit related to protocol x is set to one, coupler will run an anticollision using this protocol.If several protocols are selected, coupler will test all of them, starting from protocol 0 to protocol 3.P3: Number of bytes to be return by the couplerSet P3 = 09h for reading Pico Family Chips serial numbers.Response: Card type (1 byte) and serial number (8 bytes)Card type is the protocol number used by the card that has been selected for its answer.For 15 693 INSIDE’s chips, card type value is 1 as protocol 1 is used for selection. This value is the one to useto indicate protocol in the transmit command.Couplers - Reference Manuel V1.3
Page 10SELECT PAGEUseThis command is used to select and authenticate in an INSIDE multi-application chip (8*2Ks...).Prototyping•Command sent : A6h•Command type : ISO OutHost 80h A6h P1 P2 08h Data Coupler  A6h Chip's configurationblock90h 00hParametersBit 7 6 5 4 3 2 1 0Function - - - - Auth PageSelectionProtocol typeP1: Parameter used for contactless configurationb3 : Auth0 - Does not perform authentication after PAGESEL. 1 - Performs authentication after PAGESELb2: Select Page0 - Does not send the PAGESEL command before authentication1 - Sends the PAGESEL command with page contained in P2 before authenticationNote : b2=b3=0 imply that no operation is performedb1-b0: Protocol type. This command can only work with PICO family chipsCouplers - Reference Manuel V1.3
Page 11Contactless Communication Protocol00 ISO14 443 B PICO family chips01 ISO15 693 PICO family chips10 ISO14 443 B-311 User’s protocolCouplers - Reference Manuel V1.3
Page 12P2 : Page number to select and authenticate and cryptographic key to useBit 7 6 5 4 3 2 1 0Function Reader key number - Page numberb7-b4 : Reader key numberThis is the reader key number to use during authentication. The reader will use this key number(EEPROM) to diversify and authenticate the requested page with Kd or Kc.Note : 0 correspond to Kd0, 1 to Kc0, …, 14 to Kd7 and 15 to Kc7.b3 : Page’s key to use to perform the authentication0 : authentication will be performed with page’s debit key.1 : authentication will be performed with page’s credit key.b2-b0 : Page number to selectP3 : Chip answer lengthThis parameter has to be set to 8 as the chip answers the page’s configuration block (8 bytes).Couplers - Reference Manuel V1.3
Page 13TRANSMITUseTransmits data from the coupler to the chip and read back chip response.This command is the one to use to read and write data in the chip.Prototyping•Command sent : C2h•Command type : ISO In / OutHost 80h C2h P1 P2 P3 DataCoupler C2h Chip answer 90h 00hP1 : Defines the contactless communication protocolP2 : Chip answer lengthP3 : Chip command and dataParametersP1: Parameter used for contactless configurationBit 7 6 5 4 3 2 1 0Function SendCRCCheckCRCTime out Send signature ISO type RF protocol type b7: Send CRC1: The coupler automatically sends the CRC (function of the Data bytes) to the chip. Coupler uses the CRCassociated to the choosen protocol (bit 1 & 0)0: Only P3 data bytes are sent.b6: Compare CRC1: Compares the returned CRC with the expected value calculated by the coupler (verify the data sent bythe chip).0: CRC is not checked.b5-b4: Time OutThe time out value depends of the protocol used (b1 and b0 values).The time out is the time from the command’s EOF (End Of Frame) to the chip response SOF (Start ofFrame).Couplers - Reference Manuel V1.3
Page 14Bits 4 & 5 Time-out 15 693 Time-out 14 44300 800 µs 200 µs01 4 ms 1 ms10 24 ms 6 ms11 40 ms 10 msb3: Send Signature:1: Send a cryptographic signature calculated thanks to the coupler security module. This option may beused only for UPDATE command performed on secure PICO family chip. Set this value to 0 for nonsecure chip or any other manufacturer chips0: Cryptographic signature is not sent.b2 : HOST - COUPLER protocol type1 : Communication is ISO IN-OUT. Coupler send back the data as soon as it receives chip answer.0 : Commucation between HOST and coupler follows the ISO 78-16 T=0 protocol. Thus TRANSMITcommand is only ISO IN, and user has to use the GET REPONSE command to retrieve chip DATA fromthe coupler.b1-b0: Protocol typeDefines the contactless communication protocol number to be used. When coupler’s EEPROM is setwith the default values, the protocol types are as follows:Contactless Communication Protocol0 ISO14 443 B PICO family chips1 ISO15 693 PICO family chips10 ISO14 443 B-311 User protocol (default value : ISO 14 443 A-3)P2 : Number of data bytes received from the chip after transmission of the commandIf the Compare CRC bit of P1 is enabled, P2 should not include the CRC bytes.Note: P2<=35 (23h).P3 : Number of bytes in the data field of the commandIf the Send CRC or the Send Signature bit of P1 is enabled, P3 should not include the CRC bytes or thesignature.Note: P3<=32 (20h).Couplers - Reference Manuel V1.3
Page 15Data: Commands and data to send to the chipAll PICOTAG commands are detailed in PICOTAG datasheet.Response:•Chip answer•Status word.Couplers - Reference Manuel V1.3
Page 16GET RESPONSEUseThis command returns the value contained in the internal buffer of the coupler.It has to be used to get chip answer when the TRANSMIT command is used with the ISO IN type to retreive thechip answer.Prototyping•Command sent :C0h•Command type : ISO outHost 80h C0h 00h 00h P3Coupler C0h Coupler buffer 90h 00hParametersP3: Number of bytes of the coupler responseIt has to be less than 35 (23h).Response : Coupler’s buffer and status wordsCouplers - Reference Manuel V1.3
Page 17READ STATUSUseThis command is used to get coupler parameters (communication speed…).Prototyping•Command sent : F2h•Command type : ISO outHost 80h F2h P1 P2 01hCoupler F2h Read bytes 90h 00hParametersP1: type of parameter to readB7-b2 B1-b00 (RFU) Parameter b1-b0 : Parameter location•00 : Parameter value is read in coupler’s EEPROM (setting when power on)•01 : Coupler’s I/O•10 : Reserved for Future Use•11 : Parameter value is read in coupler’s RAM (current setting)P2: set the parameter address to readValid values for P2 according to P1 value:•EEPROM: 00h to FFh.•I/O: 05h and 07h.•Parameter: 50h to 6Fh.Response : byte value at the transmitted address + status wordNote: When reading the I/O,  the Read byte returned indicates the IN1, OUT1, OUT2 pin states as follows:(OUT2P is connected to VDD via a 1kW - resistor).I/O  Address B7 B6 B5 B4 B3 B2 B1 B005h : output - - - - OUT2 OUT1 - -07h : Input - - - - - - - INCouplers - Reference Manuel V1.3
Page 18SET STATUSUseThis command sets configuration parameters and coupler’s I/O  :•Communication speed•Protocols•State at Power ON•2 outputs & 1 inputThe various parameters and data used by INSIDE couplers are stored in the EEPROM.When coupler is powered on, a part of these parameters are load in coupler’s RAM, so that parameters maybe modified in coupler’s EEPROM and in coupler’s RAM.For a given parameter, RAM and EEPROM address are the same. For example, speed parameter is located ataddress 6Dh for both RAM and EEPROM.✔When updating a value in the coupler’s EEPROM, this value will be the default value after turning thecoupler on.✔When updating a value in the coupler’s RAM, this value will be the current value until the next Power  Off.✔When writing to EEPROM occurs, EEPROM parameters are reloaded into processor memory (RAM).Prototyping•Command sent : F4h•Command type : ISO InHost 80h F4h P1 P2 01h DataCoupler F4h 90h 00hParametersP1: Sets the type of configuration parameter to updateB7 B6 B5-b2 B1-b0Reset coupler Reset magnetic field - (RFU) Addressb7 : Resets couplerif this bit is set to 1, coupler will fully reload EEPROM in RAM as if the coupler is powered  on.Note : when b7 = 1, the coupler responds 3Bh 00h.b6 : Reset magnetic fieldMagnetic field is cut for 20 ms.When this bit is set to 1, coupler will execute no other action, including EEPROM or RAM update.Couplers - Reference Manuel V1.3
Page 19 b5-b2 : RFU (reserved for future use)b1-b0 : Parameter location00 : Parameter value is read in coupler’s EEPROM (setting when power on)01 : Coupler’s I/O10 : Reserved for Future Use11 : Parameter value is read in coupler’s RAM (current setting)P2: Sets the parameter address to updateValid values for P2 according to P1 value:•EEPROM : 00h to 07h and 3Eh to FFh.•I/O  : 05h, 06h, 07h.•RAM : 50h to 6Fh.Response: Status wordsModifiable parametersUser can change the following parameters in coupler’s memory :•Protocols - Please refer to «Managing ISO protocol with INSIDE coupler» application note for moreinformation about protocol management•Serial communication speed - from 9600 to 424000 bauds depending on the readerNote : When updating the COMSPEED parameter, the coupler returns the StatusWords with the previous COMSPEED before the COMSPEED update.Example : the baudrate is set to 9600 bauds and needs to be temporarily updatedto 115 200 bauds.Couplers - Reference Manuel V1.3Name Address State Hex. value Available on...9600 57h19200 2Dh38400 15h57600 0Eh115200 06hSerial communication speed6DhAll readers
Page 20Send a SET_STATUS command (80h F4h 03h 6Dh 01h & 06h). The couplerresponds (Status words) using 9600 bauds.State at power on - Is coupler emitting a field when it is powered on ? (please refer to ENABLE and DISABLEcommand chapters)Note : The ACTIVATE AT POWER ON parameter defines the state of the couplerwhen you turn it on. If you turn the coupler on and if 00h is written in the EEPROMat address 42h , it will be «asleep» until you send an ENABLE_COUPLERcommand.IMPORTANT NOTE : If change in the EEPROM is followed by a reset of thecoupler and if address 42h contains 00h then the coupler will be asleep until yousend an ENABLE command.Coupler's INPUTS and OUTPUTSPlease refer to chapter 1 for connection.EEPROM free areaUser can use EEPROM bytes from 70h to 7Dh to write some data.Couplers - Reference Manuel V1.3Name Address State Hex. value Available on...Enable 01hDisable 00hAll reader42hState at power onReader Input / Output I/O address Command to use ValueOUT1 05h - Bit 1 Set StatusOUT 2 05h - bit 2 Set StatusIN 1 07h - bit 0 Read StatusM22xH OUT 05h - bit 2 Set StatusM302H OUT 06h - bit 4 Set StatusByte value & color04h : Red08h : Orange0Ch : GreenBit at 0 : low levelBit at 1 : High levelM21xHSet Status05hLEDACCESSO
Page 21DISABLE COUPLERUseThe coupler goes in SLEEP mode that allows low power consumption and RF carrier is desactivated.After this command, the coupler will not respond to any command except the ENABLE_COUPLER command.A new feature available only on M21xH 2G is that coupler can detect if a card approach the antenna andwake up on its own.PrototypingCommand sent : ADhCommand Type : ISO noneParametersResponse: Status wordsNote : It is possible using the SET_STATUS command to have the coupler in a sleepmode each time it turns on. The coupler will then be asleep until you send anENABLE_COMMAND. Please refer to the SET_STATUS command for activating thisfeature.Couplers - Reference Manuel V1.3Host 80h ADh BCh DAh 01hCoupler 90h 00h
Page 22DISABLE COUPLER ENHANCEDUseAs the DISABLE_COUPLER command, this specific version enables the user to asleep the reader.But M210H 2G and M260H 2G have the possibility to detect that a card approaches their antenna.As sooon as the card is detected, the coupler will turn the RF field on, and start a card selection.If no card answers to the anticollision process, the coupler go back asleep. If a card is selected, then thecoupler stay awake.PrototypingCommand sent : ADhCommand Type : ISO noneParametersP2 : specify the anticollision to process when a card is detected. If several bit are set at 1, all selectedanticollision will be performed.If « Ant x » bit is set, then the anti-collision x will be processed else not.If no « Ant x » is set, then the coupler will wake-up only by detecting a field change over the reader.If b4 is set, then the OUT1 PIN is set to high for 10 ms when a card is selected.Note 1 : It is possible using the SET_STATUS command to have the coupler in asleep mode each time it turns on. The coupler will then be asleep until you sendan ENABLE_COMMAND. Please refer to the SET_STATUS command foractivating this feature.Note 2 : This command is only available on M210-2G and ACCESSO-2G.Couplers - Reference Manuel V1.3Host 80h ADh BCh P2 01hCoupler 90h 00hb7 b6 b5 b4 b3 b2 b1 b0- 0 -Pulse OUT1Ant3 Ant2 Ant1 Ant0
Page 23ENABLE COUPLERUseThis command restores a normal coupler running, with RF emission.This command can only be used after a DISABLE_COUPLER command or if the coupler is desactivated afterpower on.PrototypingCommand sent : AEhCommand type : ISO noneParametersResponse : Status wordsThe coupler will respond «Instruction not recognized» (6Dh 00h) if already activated.Important note : You have to send the ENABLE_COUPLER command in a windowof 16ms. To be sure that your command will be received, send it twice. The timebetween the sending of the 2 commands has to be less than 10 ms.This is automatically done when using MX.Enable method (ActiveX component).Couplers - Reference Manuel V1.3Host 80h AEh DAh BCh 00hCoupler 3Bh 00h
Page 24ASK RANDOMUseThis command returns an 8 bytes random value from the coupler.This command has to be used to initialize thekey loading procedure.PrototypingCommand sent : 84hCommand type : ISO outParametersResponse : Random number; Status wordsCouplers - Reference Manuel V1.3Host 80h 84h 00h 00h 08hCoupler 84h Random number 90h 00h
Page 25LOAD KEY FILEUseThis function loads into the coupler’s security module a key to be used for authentication and security purposes.Key loading is a security sensitive operation. In order to protect the confidentiality of the keys transferred to thecoupler, data is encrypted. A 4-byte checksum is also sent in order to guarantee the authenticity of the data,which could be corrupted either through transmission errors or by a deliberate attempt to fraud the system.Refer to «Coupler’s key loading» chapter for more information about security and the way to calculateencrypted key and checksum.PrototypeCommand sent : D8hCommand type : ISO InParametersP1 : Parameter used for key operations00: Load and activate the key pointed by P2. 01: Deactivate the key pointed by P2 (Forbidden option to Exchange Key Ke). 02: Delete the key pointed by P2 (Forbidden option to Exchange Key Ke).Others value are reserved for future use.Note : With the 00 option, this command will replace the old value of the key with thenew value.With the 01 and 02 options, the command has to be sent with 12-byte data at anyvalue (Data = XX XX XX XX XX XX XX XX XX XX XX XX).When a key is deactivated, you need to reload it to reactivate the key.P2 : Key number00h - Exchange Key Ke: used for key loading operation.01h - Debit Key Kd002h - Credit Key Kc003h - Debit Key Kd104h - Credit Key Kc1.....0Fh - Debit Key Kd7Couplers - Reference Manuel V1.3Host 80h D8h P1 P2 OCh DataCoupler D8h 90h 00h
Page 2610h - Credit key Kc7DataThis field contains:the 8-byte encrypted master keythe 4-byte checksumResponse: Status WordsCouplers - Reference Manuel V1.3
Page 27SELECT CURRENT KEYUseThis function allows to choose a key for future authentications. A key that has been deactivated or deletedcannot be selected. Only one of the 16 keys can be current at the same time.PrototypeCommand sent : 52hCommand type : ISO InParametersP2 : Key number01h - Debit Key Kd002h - Credit Key Kc003h - Debit Key Kd104h - Credit Key Kc1.....0Fh - Debit Key Kd710h - Credit key Kc7Note : if the specified key is deactivated, the status bytes returned is 6Bh 00h.Couplers - Reference Manuel V1.3Host 80h 52h 00h P2h 08h 8 * 00hCoupler 52h 90h 00h
Page 28DIVERSIFY KEYUseThis function enables the user to calculate the result of key diversication with selected chip serial number.The key diversified value is used for authentication and signature calculation while writing a secure chip.This can have 2 uses :- before an authentication (SELECT_PAGE or AUTHENTIFY command)- to calculate the keys that will be written in a chip during a personalization phase (only working with adedicated personalization coupler)Prototype•Command sent : 52h•Command type : ISO InParametersP2 : Key number01h - Debit Key Kd002h - Credit Key Kc003h - Debit Key Kd104h - Credit Key Kc1.....0Fh - Debit Key Kd710h - Credit key Kc7Note : if the specified key is deactivated, the status bytes returned is 6Bh 00h.Couplers - Reference Manuel V1.3Host 80h 52h 00h P2h 08h Chip serial numberCoupler 52h 90h 00h
Page 29GET CONFIGUseThis command is used to read the ID of the MCU part.PrototypeCommand sent : CAhCommand type : ISO InParametersData : MCU part’s IDCode Info (1 byte) : RFUCouplers - Reference Manuel V1.3Host 80h CAh 00h 00h 09hCoupler CA ID (8) Code Info (1) 90h 00h

Navigation menu