![B&R 5AP92D.1505-I00 Скачать руководство пользователя страница 117](http://html1.mh-extra.com/html/bandr/5ap92d-1505-i00/5ap92d-1505-i00_user-manual_460482117.webp)
Software
Automation Panel 9xD - Hygienic design User's manual V 1.80
117
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
Parameter 1 Parameter 2 Parameter 3 Parameter 4 Parameter 5
Read
Reads a 16-byte block from PICC
"A" or "B"
See table
(parameter 2).
Source block --
--
Read_Blocks
Reads the specified range of blocks from PICC
"A" or "B"
See table
(parameter 2).
Starting block Ending block
--
Write
Writes a 16-byte block to PICC
"A" or "B"
See table
(parameter 2).
Destination
block
16-byte data in
hex 00h
--
Decr
Takes the value of the source value block, subtracts the
specified value and writes the result to the destination
block
"A" or "B"
See table
(parameter 2).
Source block Destination
block
Value
Incr
Takes the value of the source value block, adds the
specified value and writes the result to the destination
block
"A" or "B"
See table
(parameter 2).
Source block Destination
block
Value
Restore
Copies a value block
"A" or "B"
See table
(parameter 2).
Source block Destination
block
--
InitZero
Initializes a value block with the value 0
"A" or "B"
See table
(parameter 2).
Destination
block
--
--
Store_Key_EEPROM Stores a 6-byte key in EEPROM
"A" or "B"
Sector for key
in
reader's
EEPROM
6-byte key
Store_Key_Temp
Stores a 6-byte key in the transponder reader temporar-
ily until switched off
6-byte key
--
--
--
--
Connect
Connects manually to a specific tag
4-byte SNr
--
--
--
--
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
--
--
--
--
--
Table 35: MIFARE commands
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
Parameter 2
Parameter 3
Parameter 4 Parameter 5
Store_key_eeprom
"A" or "B"
Sector for key in reader's EEPROM
6-byte key
--
--
Store_key_temp
6-byte key
--
--
--
--
Table 36: MIFARE commands - Authentication key storage
store_key_eeprom,a,0,ff ff ff ff ff ff
Command "store_key_eeprom": The key is written to EEPROM sector 0.