Mifare; Mifare Commands; Authentication - B&R Automation Panel 9 D Series User Manual

Hygienic design
Table of Contents

Advertisement

Procedure in Windows:
1) Enter command "Firmware_Upgrade" to put the transponder reader in upgrade mode.
2) Depending on the Windows system settings, the transponder reader will automatically be registered as a
USB mass storage device.
3) A new drive will appear in Windows Explorer (e.g. D:\).
4) Open the new drive in Windows Explorer.
5) Delete the firmware.bin file located there.
6) Copy the new firmware file (e.g. firmware_80.bin) to the drive.
7) The transponder reader should now be modified by the new firmware.
8) The transponder reader must be restarted to complete the upgrade procedure. This is done by disconnect-
ing and reconnecting the USB port or by switching the device off and back on again.
9) It is possible to check the firmware version with command "show_revision" or command "firmware_info"
after a restart.

7.4.3 MIFARE

7.4.3.1 MIFARE commands

Command
Description
Read
Reads a 16-byte block from PICC
Read_Blocks
Reads the specified range of blocks from PICC
Write
Writes a 16-byte block to PICC
Decr
Takes the value of the source value block, subtracts the
specified value and writes the result to the destination
block
Incr
Takes the value of the source value block, adds the
specified value and writes the result to the destination
block
Restore
Copies a value block
InitZero
Initializes a value block with the value 0
Store_Key_EEPROM
Stores a 6-byte key in EEPROM
Store_Key_Temp
Stores a 6-byte key in the transponder reader temporar-
ily until switched off
Connect
Connects manually to a specific tag
Disconnect
Automatically restores a connection to the best tag
Key_CMD
Sends a key directly with each command (default)
Key_EEPROM
Uses the key from EEPROM
Key_TEMP
Uses the temporary key

7.4.3.2 Authentication

The keys needed for authentication can be stored either in EEPROM or temporarily in the transponder. Alterna-
tively, the authentication keys can be transferred with the command.
Commands Key_EEPROM, Key_TEMP and Key_CMD are used to set the storage location or to send the authen-
tication keys.
The following commands are used to store the authentication key in the transponder:
MIFARE commands - Authentication key storage
Command
Parameter 1
Store_key_eeprom
"A" or "B"
Store_key_temp
6-byte key
store_key_eeprom,a,0,ff ff ff ff ff ff
Command "store_key_eeprom": The key is written to EEPROM sector 0.
Automation Panel 9xD - Hygienic design User's manual V 1.80
Table 35: MIFARE commands
Parameter 2
Sector for key in reader's EEPROM
--
Table 36: MIFARE commands - Authentication key storage
Parameter 1
Parameter 2
Parameter 3
"A" or "B"
See table
Ac-
Source block
cess
rights
(parameter 2).
"A" or "B"
See table
Ac-
Starting block
cess
rights
(parameter 2).
"A" or "B"
See table
Ac-
Destination
cess
rights
block
(parameter 2).
"A" or "B"
See table
Ac-
Source block
cess
rights
(parameter 2).
"A" or "B"
See table
Ac-
Source block
cess
rights
(parameter 2).
"A" or "B"
See table
Ac-
Source block
cess
rights
(parameter 2).
"A" or "B"
See table
Ac-
Destination
cess
rights
block
(parameter 2).
"A" or "B"
Sector for key
6-byte key
in
reader's
EEPROM
6-byte key
--
--
4-byte SNr
--
--
--
--
--
--
--
--
--
--
--
--
--
--
Parameter 3
6-byte key
--
Software
Parameter 4
Parameter 5
--
--
Ending block
--
16-byte data in
--
hex 00h
Destination
Value
block
Destination
Value
block
Destination
--
block
--
--
--
--
--
--
--
--
--
--
--
--
--
--
Parameter 4
Parameter 5
--
--
--
--
117

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Automation Panel 9 D Series and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF