Difference between revisions of "DPH - USB interface using"

From pubWiki-en
Jump to: navigation, search
(Backup copy of 1- and 2- button doorphone)
 
(20 intermediate revisions by one other user not shown)
Line 1: Line 1:
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 - Podłączenie bramofonu]], natomiast do połączenia należy użyć kabla USB z jedną wtyczką w standardzie mini-USB. Po podłączeniu bramofonu do komputera będzie on widoczny jako dysk wymienny o nazwie DPH_BL lub DPH_AB (nazwa zależna jest od kolejności podłączania). Nazwa dysku widoczna po podłączeniu bramofonu decyduje również o funkcji jaka może zostać zrealizowana.
+
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.
=== Wymiana firmware ===
+
=== Firmware upgrading ===
W celu wymiany firmware znajdującego się w bramofonie należy podłączyć dysk wymienny o nazwie DPH_BL. Aby to zrealizować należy zachować następującą kolejność podłączania:
+
To upgrade firmware located in doorphone removable disc DPH_BL should be connected. To realize this following connection sequence should be preserved:
# Podłączyć kabel USB pomiędzy bramofonem DPH i komputerem
+
# Connection of USB cable between doorphone and PC
# Podłączyć zasilanie bramofonu
+
# Connect doorphone power supply
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_BL. Na dysku tym znajduje się plik o nazwie DPAxxxx.SBN zawierający firmware bramofonu DPH. Znaki xxxx znajdujące się w nazwie pliku oznaczają kolejny numer firmware rozpoczynający się znakiem litery. Widoczny dysk posiada pojemność 160kB i całość jest zajęta przez wspomniany powyżej plik. W celu wymiany firmware należy usunąć dotychczasowy plik firmware i wgrać nowy plik. Po odłączeniu kabla USB od bramofonu następuje sprawdzenie czy wgrany plik zawiera prawidłowy firmware. Jeżeli tak to bramofon uruchamia się z nowym firmware, a jeżeli nie to wgrany plik jest usuwany z dysku i bramofon zostaje pozbawiony firmware. Uniemożliwia to jego pracę do czasu wgrania pliku z  prawidłowym firmware. Ponadto należy mieć świadomość, że wymiana firmware spowoduje przywrócenie ustawień fabrycznych wszystkich parametrów bramofonu. Dlatego też aby zachować stworzoną już konfigurację bramofonu DPH należy wykonać kopię zapasową konfiguracji bramofonu według wskazówek zawartych w paragrafie poświęconym wykonywaniu kopii zapasowej konfiguracji.
+
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.
  
=== Kopia zapasowa konfiguracji bramofonu 1- i 2- przyciskowego ===
+
=== Backup copy of 1- and 2- button doorphone ===
W celu wykonania kopii zapasowej konfiguracji znajdującej się w bramofonie lub odtworzenia wykonanej wcześniej kopii zapasowej konfiguracji bramofonu należy podłączyć dysk wymienny o nazwie DPH_AB. Aby to zrealizować należy zachować następującą kolejność podłączania:
+
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:
# Podłączyć zasilanie bramofonu
+
# Connect doorphone power supply
# Podłączyć kabel USB pomiędzy bramofonem DPH i komputerem
+
# 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) natomiast w pliku ACCOUNT.CSV wszystkie karty RFID zarejestrowane w bramofonie. W przypadku bramofonów bez czytnika RFID lub bramofonu z czytnikiem RFID, ale bez zarejestrowanych kart RFID, wielkość tego pliku jest równa 0. W przypadku bramofonu posiadającego czytnik RFID i zarejestrowane karty, w pliku tym zapisany jest numer kolejny karty, zaszyfrowany kod PIN (w przypadku bramofonu 1- lub 2- przyciskowego kod PIN nie jest wykorzystywany) oraz 10-znakowy numer karty RFID zapisany w postaci szesnastkowej. Skopiowanie tych 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) 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|W przypadku zgubienia zarejestrowanej karty RFID istnieje możliwość usunięcia rejestracji poprzez usunięcie całego wiersza z pliku ACCOUNT.CSV, a następnie wgrania go do bramofonu. Unikamy w ten sposób kasowania wszystkich zarejestrowanych kart. Kolejność zapisu kart RFID w pliku ACCOUNT.CSV jest równa kolejności rejestrowania poszczególnych kart w bramofonie.}}
+
 
 +
 
 +
{{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:03, 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