TELEM-GW6 testing manual: Difference between revisions

From Phobos Wiki
Jump to navigation Jump to search
m (teisaldas lehekülje TELEM GW6 pealkirja TELEM-GW6 testing manual alla: inaccurate title)
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Testimise juhend=
=Firmware Update=
==Telem-GW6lin Board Update==
Check the version of the Telem-GW6Lin board, if is not the one needed. Update.


# Ühenda 2 pordi kaudu seade Telem-GW6  kontsentraator TELEM2000-ga. Seadme ja TELEM2000 vahel peab tekkima side.
Guide is here: [[GW6Lin software upgrade]]
# Tee seadmele reset 3, ehk taasta default setup.
# Kontrolli, kas pordid 1-13 lähevad sidesse. Tegemist on erinevate sideprotokollide ja portidega. 
# Ühenda GPS-porti GPS interface ja kontolli kas GPS-aeg muudab kontrolleris aja.
# Kontrolli, kas USB port on korras.
# Kontrolli, kas ETHERNET kaudu side töötab.
# Kanna jooksvalt saadud tulemused testimise protokolli.
# Testimise protokolli asukoht serveris: 7_Seadmete testprotokollid/Telem-GW6


=Checking the time in Telem-GW6=
==Updating Telem-RTC Board Firmware==
==Create a new session for date checking==
<strike>Check the version of the Telem-RTC, if is not the one needed.</strike>(Not possible). Update
The remote command will show you the current time in GW6 once per second
#Erase Flash from the Controller
# Open '''putty'''
##Connect power supply to the device
# Category: Connection->Data
##Switch ER to ON state.
#* Auto-login username ('''ALT+U''') : '''martem'''
##Wait 5 seconds
# Category: Connection->SSH
##Switch RST to ON state
#* Remote command ('''ALT+R'''): '''watch -n1 date'''
##Switch ER to OFF state
# Category: Session
##Switch PG to ON state
## Enter a new name for session
##Switch RST to OFF state
## Save
##Wait 10 seconds
==Using saved session==
##Switch RST to ON state
# Category: Session
##Switch PG to OFF state
# Select the session you created from the list ('''ALT+E''')
##Switch RST to OFF state
# Load selected session ('''ALT+L''')
##The device is now ready for loading a new frame program
# Change the host name ('''ALT+N''')
#To Load a New Frame Program
# Change connection type to SSH ('''ALT+S''')
##Extract Firmware files (Provided by Martem AS) to your computer
# Open connection ('''ALT+0''')
##Install “AT91 In-system Programmer” running “Install AT91-ISP v.13.exe”
# Enter password: '''Xooviet0'''
##Specify paths to SAM-BA and bin files in “programmer.bat” file. For instance:
###echo Setting path to SAM-BA path="C:\Program Files\ATMEL Corporation\AT91-ISP v1.13\sam-ba v2.9";%path%
###echo Setting path to user files path="D:\Projects\RTU_ARM\RTU-T Firmware\V5";%path%
##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
##Run “gw6_rtc_programming.bat”(Switches ERASE and PROG have to be in OFF state )
##Wait until loading completing green colored message appears
##Set default settings by switching.: switch RST ON/OFF state
=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"
## Z:\Taimar\1.Test\GW6_allports
#Connect the cables following this scheme
##Ethernet to network
##Port 1-RS422 to Port 5-RS422/485
##Port 2-RS232 to Port 10
##Port 3-RS232 to Port 6
##Port 4 Fiber optic to an external Fibreoptic Modem alredy connected to another device to check the communications.
##Port 7 to Port 11
##Port 8 to Port 12
##Port 9 to Port 13
##GPS port to an external GPS device.
#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)
 
=Testing Internal Clock=
#Change the time in the PC
#Go to TDC, GW6 Setup, Common, Time Settings and make sure that the Enable GPS is not click.
#Go to TDC, Settings and click on Gen. Int. + Time Sync.
#Power ON/OFF (Wait until it restarts)
#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
##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)
 
=Testing GPS=
#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.
#Power ON/OFF (Wait until it restarts)
##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)
##Password: Xooviet0
#The time now should macht the real time.//if not, ask for date couple of times again, GPS sync might take some time.

Revision as of 09:07, 20 June 2011

Firmware Update

Telem-GW6lin Board Update

Check the version of the Telem-GW6Lin board, if is not the one needed. Update.

Guide is here: GW6Lin software upgrade

Updating Telem-RTC Board Firmware

Check the version of the Telem-RTC, if is not the one needed.(Not possible). Update

  1. Erase Flash from the Controller
    1. Connect power supply to the device
    2. Switch ER to ON state.
    3. Wait 5 seconds
    4. Switch RST to ON state
    5. Switch ER to OFF state
    6. Switch PG to ON state
    7. Switch RST to OFF state
    8. Wait 10 seconds
    9. Switch RST to ON state
    10. Switch PG to OFF state
    11. Switch RST to OFF state
    12. The device is now ready for loading a new frame program
  2. To Load a New Frame Program
    1. Extract Firmware files (Provided by Martem AS) to your computer
    2. Install “AT91 In-system Programmer” running “Install AT91-ISP v.13.exe”
    3. Specify paths to SAM-BA and bin files in “programmer.bat” file. For instance:
      1. echo Setting path to SAM-BA path="C:\Program Files\ATMEL Corporation\AT91-ISP v1.13\sam-ba v2.9";%path%
      2. echo Setting path to user files path="D:\Projects\RTU_ARM\RTU-T Firmware\V5";%path%
    4. Specify the COM port. For instance if using COM 5 port: set COMIF=COM5
    5. Specify the COM port. For instance if using COM 5 port: set COMIF=COM5
    6. Run “gw6_rtc_programming.bat”(Switches ERASE and PROG have to be in OFF state )
    7. Wait until loading completing green colored message appears
    8. Set default settings by switching.: switch RST ON/OFF state

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)

Testing Internal Clock

  1. Change the time in the PC
  2. Go to TDC, GW6 Setup, Common, Time Settings and make sure that the Enable GPS is not click.
  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
    2. 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.