TELEM-GW6 testing manual: Difference between revisions

From Phobos Wiki
Jump to navigation Jump to search
 
mNo edit summary
 
(19 intermediate revisions by one other user not shown)
Line 1: Line 1:
=Firmware Update=
==Software tests==
==Telem-GW6lin Board Update==
These tests should be performed on new versions of device software.
Check the version of the Telem-GW6Lin board, if is not the one needed. Update.  


Guide is here: [[GW6Lin software upgrade]]
===Updating software===
* SD card
* Ethernet ( SFTP / WinSCP )
* GWS


==Updating Telem-RTC Board Firmware==
===Reset setup===
<strike>Check the version of the Telem-RTC, if is not the one needed.</strike>(Not possible). Update
* by DIP switch
#Erase Flash from the Controller
* over IEC101 or IEC104
##Connect power supply to the device
* from GWS (over SSH)
##Switch ER to ON state.
===RS-232 / RS-422 / RS-485===
##Wait 5 seconds
*Baudrate
##Switch RST to ON state
*# 9600
##Switch ER to OFF state
*# 19200
##Switch PG to ON state
*# 38400
##Switch RST to OFF state
*# 57600
##Wait 10 seconds
*# 115200
##Switch RST to ON state
*# 230400
##Switch PG to OFF state
*# 460800
##Switch RST to OFF state
*# 500000
##The device is now ready for loading a new frame program
*# 576000
#To Load a New Frame Program
*# 921600
##Extract Firmware files (Provided by Martem AS) to your computer
*Parity
##Install “AT91 In-system Programmer” running “Install AT91-ISP v.13.exe”
*# none
##Specify paths to SAM-BA and bin files in “programmer.bat” file. For instance:
*# odd
###echo Setting path to SAM-BA path="C:\Program Files\ATMEL Corporation\AT91-ISP v1.13\sam-ba v2.9";%path%
*# even
###echo Setting path to user files path="D:\Projects\RTU_ARM\RTU-T Firmware\V5";%path%
*suppress echo
##Specify the COM port. For instance if using COM 5 port: set COMIF=COM5
 
##Specify the COM port. For instance if using COM 5 port: set COMIF=COM5
===Ethernet===
##Run “gw6_rtc_programming.bat”(Switches ERASE and PROG have to be in OFF state )
* multiple IP addresses
##Wait until loading completing green colored message appears
* VLAN
##Set default settings by switching.: switch RST ON/OFF state
===Time===
=Testing Telem-GW6 Ports=
 
====Timezones====
*modify local time zone
*verify: localtime == console time 
*modify port time zone
 
==== NTP ====
* client
* server
=== OpenVPN server ===
...
===Raw data forwarding===
*Serial -- Serial
*Serial -- Ethernet
*Ethernet -- Ethernet
===Formula===
* Delay
* digital output
* AI: Divison/0
===Virtual objects===
* Controlling virtual objects
* RTA-A: clear announciator LED's digital output
===Protocols===
* communication status object
====IEC104====
* Test for event loss, if network connection is removed.
* Redundant channels
 
==== Direct protocol translation ====
Iec-101 <-> Iec-104
===Log files===
*CSV
** events.csv
** measurments.csv (not implemented jet)
* error.log
** archive
* console.log
** archive
== Hardware tests ==
===Testing Telem-GW6 Ports===
#Connect the PC to the Telem GW6 through port 2 RS232, load and writte the Test Configuration Setup "testgw6_3.csv"
#Connect the PC to the Telem GW6 through port 2 RS232, load and writte the Test Configuration Setup "testgw6_3.csv"
## Z:\Taimar\1.Test\GW6_allports
## Z:\Taimar\1.Test\GW6_allports
Line 46: Line 87:
#Check that all the leds are blinking
#Check that all the leds are blinking
#Open TDC, export IEC objects from Z:\Taimar\1.Test\GW6_allports\objects.csv and check IEC obj. all 7 BI-s must have value 1.(or 0 in IEC.exe)
#Open TDC, export IEC objects from Z:\Taimar\1.Test\GW6_allports\objects.csv and check IEC obj. all 7 BI-s must have value 1.(or 0 in IEC.exe)
# Make sure u-boot's '''press any key to stop booting''' is disabled.
#* Use the bootstrapper app.
#* If this is not disabled, GW6 will not boot if you send any data to Port2 (GWS connected with RS232)


=Testing Internal Clock=
===Testing Internal Clock===
#Change the time in the PC
#Change the time in the PC
#Go to TDC, GW6 Setup, Common, Time Settings and make sure that the Enable GPS is not click.
#*GW6 software does not allow syncing to a date older than 1. january 2011
#Go to TDC, GW6 Setup, Common, Time Settings and make sure that the Enable GPS is not selected.
#Go to TDC, Settings and click on Gen. Int. + Time Sync.
#Go to TDC, Settings and click on Gen. Int. + Time Sync.
#Power ON/OFF (Wait until it restarts)
#Power ON/OFF (Wait until it restarts)
#Open Putty
#Open Putty
##Load saved session "GW6-Timetest" and open (It will log on as martem user automatically, It will give you the time once you have type the password) // if there is no "GW6-Timetest" use IP 10.0.0.144 user: martem and once logged in, enter command: date
##Load saved session "GW6-Timetest" and open (It will log on as martem user automatically, It will give you the time once you have type the password) // if there is no "GW6-Timetest" use IP 10.0.0.144 user: martem and once logged in, enter command: date
##Password: Xooviet0
##*Password: Xooviet0
#The time should macht with the PCs time.//if not(like 1 jan 2000 0:xx:xx), start from 4 again(power on/off)
#The time should macht with the PCs time.//if not(like 1 jan 2000 0:xx:xx), start from 4 again(power on/off)


=Testing GPS=
===Testing GPS===
#Go to TDC, GW6 Setup, Common, Time Settings and Enable GPS (Optical). Writte the new configuration on the Device.
#Go to TDC, GW6 Setup, Common, Time Settings and Enable GPS (Optical). Writte the new configuration on the Device.
#Check the  GPS green led is blinking.
#Check the  GPS green led is blinking.

Latest revision as of 11:56, 1 September 2014

Software tests

These tests should be performed on new versions of device software.

Updating software

  • SD card
  • Ethernet ( SFTP / WinSCP )
  • GWS

Reset setup

  • by DIP switch
  • over IEC101 or IEC104
  • from GWS (over SSH)

RS-232 / RS-422 / RS-485

  • Baudrate
    1. 9600
    2. 19200
    3. 38400
    4. 57600
    5. 115200
    6. 230400
    7. 460800
    8. 500000
    9. 576000
    10. 921600
  • Parity
    1. none
    2. odd
    3. even
  • suppress echo

Ethernet

  • multiple IP addresses
  • VLAN

Time

Timezones

  • modify local time zone
  • verify: localtime == console time
  • modify port time zone

NTP

  • client
  • server

OpenVPN server

...

Raw data forwarding

  • Serial -- Serial
  • Serial -- Ethernet
  • Ethernet -- Ethernet

Formula

  • Delay
  • digital output
  • AI: Divison/0

Virtual objects

  • Controlling virtual objects
  • RTA-A: clear announciator LED's digital output

Protocols

  • communication status object

IEC104

  • Test for event loss, if network connection is removed.
  • Redundant channels

Direct protocol translation

Iec-101 <-> Iec-104

Log files

  • CSV
    • events.csv
    • measurments.csv (not implemented jet)
  • error.log
    • archive
  • console.log
    • archive

Hardware tests

Testing Telem-GW6 Ports

  1. Connect the PC to the Telem GW6 through port 2 RS232, load and writte the Test Configuration Setup "testgw6_3.csv"
    1. Z:\Taimar\1.Test\GW6_allports
  2. Connect the cables following this scheme
    1. Ethernet to network
    2. Port 1-RS422 to Port 5-RS422/485
    3. Port 2-RS232 to Port 10
    4. Port 3-RS232 to Port 6
    5. Port 4 Fiber optic to an external Fibreoptic Modem alredy connected to another device to check the communications.
    6. Port 7 to Port 11
    7. Port 8 to Port 12
    8. Port 9 to Port 13
    9. GPS port to an external GPS device.
  3. Check that all the leds are blinking
  4. Open TDC, export IEC objects from Z:\Taimar\1.Test\GW6_allports\objects.csv and check IEC obj. all 7 BI-s must have value 1.(or 0 in IEC.exe)
  5. Make sure u-boot's press any key to stop booting is disabled.
    • Use the bootstrapper app.
    • If this is not disabled, GW6 will not boot if you send any data to Port2 (GWS connected with RS232)

Testing Internal Clock

  1. Change the time in the PC
    • GW6 software does not allow syncing to a date older than 1. january 2011
  2. Go to TDC, GW6 Setup, Common, Time Settings and make sure that the Enable GPS is not selected.
  3. Go to TDC, Settings and click on Gen. Int. + Time Sync.
  4. Power ON/OFF (Wait until it restarts)
  5. Open Putty
    1. Load saved session "GW6-Timetest" and open (It will log on as martem user automatically, It will give you the time once you have type the password) // if there is no "GW6-Timetest" use IP 10.0.0.144 user: martem and once logged in, enter command: date
      • Password: Xooviet0
  6. The time should macht with the PCs time.//if not(like 1 jan 2000 0:xx:xx), start from 4 again(power on/off)

Testing GPS

  1. Go to TDC, GW6 Setup, Common, Time Settings and Enable GPS (Optical). Writte the new configuration on the Device.
  2. Check the GPS green led is blinking.
  3. Power ON/OFF (Wait until it restarts)
    1. Load saved session "GW6-Timetest" and open (It will log on as martem user automatically, It will give you the time once you have type the password)
    2. Password: Xooviet0
  4. The time now should macht the real time.//if not, ask for date couple of times again, GPS sync might take some time.