Difference between revisions of "DPH - USB interface using"

From pubWiki-en
Jump to: navigation, search
(Backup copy of 1- and 2- button doorphone)
(Backup copy of 1- and 2- button doorphone)
 
Line 11: Line 11:
 
# Connection of USB cable between doorphone and PC
 
# Connection of USB cable between doorphone and PC
 
After connection according presented above sequence on PC screen appears (by default Windows settings) window of removablw disk named DPH_AB. On this drive located are files SETTING.INI and ACCOUNT.CSV. Content of these files is different and depends on type of used doorphone, but these files together include whole configuration stored in DPH doorphone. In file SETTING.INI DPH doorphone is stored (all configuration parameter settings) while in file ACCOUNT.CSV all RFID cards registered in doorphone. For doorphone without RFID reader or doorphone with RFID reader but no card registered, size of this file is equal to 0. For doorphone with RFID reader and any card registered, in this file is stored card number (automatically created by doorphone while registering), scrambled PIN code (for 1- or 2- button doorphone PIN code is not used) and 10-digit RFID card number presented in hexadecimal. Copy these two files from doorphone is equal to perform backup copy, return copy stofed files from PC to doorphone is equal to restore configuration backup copy.
 
After connection according presented above sequence on PC screen appears (by default Windows settings) window of removablw disk named DPH_AB. On this drive located are files SETTING.INI and ACCOUNT.CSV. Content of these files is different and depends on type of used doorphone, but these files together include whole configuration stored in DPH doorphone. In file SETTING.INI DPH doorphone is stored (all configuration parameter settings) while in file ACCOUNT.CSV all RFID cards registered in doorphone. For doorphone without RFID reader or doorphone with RFID reader but no card registered, size of this file is equal to 0. For doorphone with RFID reader and any card registered, in this file is stored card number (automatically created by doorphone while registering), scrambled PIN code (for 1- or 2- button doorphone PIN code is not used) and 10-digit RFID card number presented in hexadecimal. Copy these two files from doorphone is equal to perform backup copy, return copy stofed files from PC to doorphone is equal to restore configuration backup copy.
{{warning|If you loose registered RFID card it is possible to remove appropriate row from ACCOUNT.CSV file and copy it to doorphone. In this situation you don'y erase all register RFID card. Sequence of RFID cards in ACCOUNT.CSV file is equal to sequence of registering cards in doorphone.}}
+
 
 +
 
 +
{{warning|
 +
If you loose registered RFID card it is possible to remove appropriate row from ACCOUNT.CSV file and copy it to doorphone. In this situation you don'y erase all register RFID card. Sequence of RFID cards in ACCOUNT.CSV file is equal to sequence of registering cards in doorphone}}

Latest revision as of 08:02, 3 June 2020

DPH doorphones are equipped with USB connector, which enables to connect dorphone to the PC. Due to this connection firmware upgrading is possible ad well as creating and restoring backup. USB connector is located on PCB and is accessible only after opening doorphone casing. So USB interface can be used only by authorized Slican service and is presence is meaningless for DPH doorphone user. This interface enables to create configuration backup copy, restoring created previously backup copy and - in limited scope - modification of doorphone configuration. This interface enables also local (without neccessity to involve manufacturer service) upgrading firmware of doorphone (only if it is neccessarily due to service reasons). To connect doorphone with PC, doorphone should be powered according rules described in chapter DPH - Doorphone connection, while cable connection should be made with cable equiped in mini-USB connector. After connection, doorphone is visible as removable disc named DPH_BL or DPH_AB (name depends on connecting sequence). Disc name visible after doorphone connection decides about functionality which can be realized.

Firmware upgrading

To upgrade firmware located in doorphone removable disc DPH_BL should be connected. To realize this following connection sequence should be preserved:

  1. Connection of USB cable between doorphone and PC
  2. Connect doorphone power supply

After connection according presented above sequence on PC screen appears (by default Windows settings) window of removablw disk named DPH_BL. On this drive located is file named DPAxxxx.SBN with DPH doorphone firmware. Characters xxxx in file name means number of firmware version begins with letter (ex. A503). Capacity of visible drive is equal to 160kB and whole is occupied by mentioned above file. To upgrade firmware existing file should be removed and new file stored on removable drive. After USB cable disconnecting doorphone checks if stored file include proper firmware. If checkout is positive, doorphone launch with new firmware, but if not then stored file is removed from disk and doorphone remain without firmware. This situation disable doorphone operation until storing file with proper firmware. Additionally firmware upgrading restores default settings values of all doorphone parameters. For this reason, to preserve created already DPH doorphone configuration backup copy should performed according notes included in next paragraph.

Backup copy of 1- and 2- button doorphone

To perform backup copy of doorphone configuration and to restore performed earlier backup copy of doorphone configuration removable disk DPH_AB should be connected. To realize this following connection sequence should be preserved:

  1. Connect doorphone power supply
  2. Connection of USB cable between doorphone and PC

After connection according presented above sequence on PC screen appears (by default Windows settings) window of removablw disk named DPH_AB. On this drive located are files SETTING.INI and ACCOUNT.CSV. Content of these files is different and depends on type of used doorphone, but these files together include whole configuration stored in DPH doorphone. In file SETTING.INI DPH doorphone is stored (all configuration parameter settings) while in file ACCOUNT.CSV all RFID cards registered in doorphone. For doorphone without RFID reader or doorphone with RFID reader but no card registered, size of this file is equal to 0. For doorphone with RFID reader and any card registered, in this file is stored card number (automatically created by doorphone while registering), scrambled PIN code (for 1- or 2- button doorphone PIN code is not used) and 10-digit RFID card number presented in hexadecimal. Copy these two files from doorphone is equal to perform backup copy, return copy stofed files from PC to doorphone is equal to restore configuration backup copy.


Warning!

If you loose registered RFID card it is possible to remove appropriate row from ACCOUNT.CSV file and copy it to doorphone. In this situation you don'y erase all register RFID card. Sequence of RFID cards in ACCOUNT.CSV file is equal to sequence of registering cards in doorphone