Difference between revisions of "DPH16 - USB interface using"

From pubWiki-en
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
# Connect doorphone power supply
 
# Connect doorphone power supply
 
# Connection of USB cable between doorphone and PC
 
# Connection of USB cable between doorphone and PC
Po wykonaniu połączenia według określonej powyżej kolejności na ekranie komputera pojawia się (przy domyślnych ustawieniach systemu Windows) okienko dysku wymiennego o nazwie DPH_AB. Na dysku tym znajdują się pliki SETTING.INI i ACCOUNT.CSV. Zawartość tych plików jest różna zależnie od używanego typu bramofonu DPH ale łącznie pliki te zawierają całą konfigurację zapisaną w bramofonie DPH. W pliku SETTING.INI zapisana jest konfiguracja bramofonu DPH (wszystkie ustawialne parametry konfiguracyjne) oraz wszystkie nazwy i przypisane tym nazwom numery służące do szybkiego ich wyboru, natomiast w pliku ACCOUNT.CSV wszystkie konta zdefiniowane w bramofonie wraz z przypisanymi do tych kont kartami RFID. W przypadku zdefiniowania kont w bramofonie, w pliku ACCOUNT.CSV zapisany jest numer kolejny karty, zaszyfrowany kod PIN oraz 10-znakowy numer karty RFID zapisany w postaci szesnastkowej. Jeżeli karta RFID nie jest przypisana do danego konta ciąg znaków FFFFFFFFFF widoczny jest zamiast numeru karty. Skopiowanie powyższych dwóch plików z bramofonu na dysk komputera jest równoznaczne z wykonaniem kopii zapasowej, ponowne skopiowanie zachowanych plików z dysku komputera do bramofonu jest równoważne odtworzeniu zachowanej konfiguracji.
+
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) and all names and numbers assigned to these names which are used to quick access to this names. Otherwise in file ACCOUNT.CSV located are all accounts defined in doorphone together with RFID cards assigned to these accounts. While accounts are defined in doorphone, in file ACCOUNT.CSV following information are stored: account number, scrambled PIN code and ten characters of RFID and 10-digit RFID card number presented in hexadecimal. If RFID card is not assigned to specified acconunt characters FFFFFFFFFF are visible insted of card number. 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|W przypadku zgubienia zarejestrowanej karty RFID istnieje możliwość usunięcia rejestracji poprzez usunięcie całego wiersza z pliku ACCOUNT.CSV (w tym przypadku konieczne będzie ponowne zdefiniowanie usuniętego konta) lub zastąpienie numeru karty ciąghiem znaków FFFFFFFFFF, a następnie wgrania tak zmodyfikowanego pliku do bramofonu.}}
+
{{warning|If you loose registered RFID card it is possible to remove registration by removing whole row from file ACCOUNT.CSV (in this situation it is neccessary to define removed account once more) or change RFID card number to FFFFFFFFFF, next modified file should be stored in doorphone.}}

Latest revision as of 09:43, 23 November 2011

DPH doorphones are equipped with USB connector, which enables to connect dorphone to the PC. Due to this connection firmware upgrading is possible as 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 remaind 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 16- 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) and all names and numbers assigned to these names which are used to quick access to this names. Otherwise in file ACCOUNT.CSV located are all accounts defined in doorphone together with RFID cards assigned to these accounts. While accounts are defined in doorphone, in file ACCOUNT.CSV following information are stored: account number, scrambled PIN code and ten characters of RFID and 10-digit RFID card number presented in hexadecimal. If RFID card is not assigned to specified acconunt characters FFFFFFFFFF are visible insted of card number. 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 registration by removing whole row from file ACCOUNT.CSV (in this situation it is neccessary to define removed account once more) or change RFID card number to FFFFFFFFFF, next modified file should be stored in doorphone.