Sata multiplexer 10389: Difference between revisions

From ElphelWiki
Jump to navigation Jump to search
Oleg (talk | contribs)
No edit summary
Oleg (talk | contribs)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
==<font color="blue">Description</font>==
==<font color="blue">Description</font>==
[[10389]] extension board has a VSC3304 - a 8.5 Gbps 4×4 Crosspoint SATA Switch. It makes possible the following connections:
[[10389]] extension board has a has a Microsemi's (former Vitesse) VSC3304 - a 8.5 Gbps 4×4 Crosspoint SATA Switch. It makes possible the following connections:
* camera <=> internal SSD (default)
* camera <=> internal SSD (default)
* camera <=> external drive
* camera <=> external drive
Line 8: Line 8:
==<font color="blue">Switching connections</font>==
==<font color="blue">Switching connections</font>==
===web===
===web===
[[File:X393 vsc330x screenshot.png|thumb|500px|Fig.1 http://192.168.0.9/x393_vsc330x.php?state]]
====x393_vsc330x.php====
====x393_vsc330x.php====
* help:
* help:
  http://192.168.0.9/x393_vsc330x.php
  http://192.168.0.9/x393_vsc330x.php
* connection state:
* connection state (see Fig.1):
  http://192.168.0.9/x393_vsc330x.php?state
  http://192.168.0.9/x393_vsc330x.php?state
* connect camera to internal SSD:
* connect camera to internal SSD:
Line 20: Line 21:
  http://192.168.0.9/x393_vsc330x.php?c:SSD=ESATA
  http://192.168.0.9/x393_vsc330x.php?c:SSD=ESATA


Note: crossover switching is supported in the '''command line''' script
'''Note 1:''' Crossover switching is supported in the '''command line''' script
 
'''Note 2:''' When the connection is good the state row shows '''active''' for the connected ports, '''LOS''' otherwise - see Fig.1


===command line===
===command line===

Latest revision as of 00:22, 21 December 2016

Description

10389 extension board has a has a Microsemi's (former Vitesse) VSC3304 - a 8.5 Gbps 4×4 Crosspoint SATA Switch. It makes possible the following connections:

  • camera <=> internal SSD (default)
  • camera <=> external drive
  • camera <=> external drive (crossover mode)
  • PC <=> internal SSD

Switching connections

web

Fig.1 http://192.168.0.9/x393_vsc330x.php?state

x393_vsc330x.php

  • help:
http://192.168.0.9/x393_vsc330x.php
  • connection state (see Fig.1):
http://192.168.0.9/x393_vsc330x.php?state
  • connect camera to internal SSD:
http://192.168.0.9/x393_vsc330x.php?c:ZYNQ=SSD
  • connect camera to external drive:
http://192.168.0.9/x393_vsc330x.php?c:ZYNQ=ESATA
  • connect internal SSD to PC:
http://192.168.0.9/x393_vsc330x.php?c:SSD=ESATA

Note 1: Crossover switching is supported in the command line script

Note 2: When the connection is good the state row shows active for the connected ports, LOS otherwise - see Fig.1

command line

  • display help:
root@elphel393:~# /usr/local/bin/x393sata_control.py

output:

x393_vsc3304: Running on NEW system
x393sata: Running on NEW system
BUFFER_ADDRESS =       0x0ad00000
BUFFER_LEN =           0x12c00000
BUFFER_ADDRESS_H2D =   0x2dc00000
BUFFER_LEN_H2D =       0x00400000
BUFFER_ADDRESS_D2H =   0x2d800000
BUFFER_LEN_D2H =       0x00400000
BUFFER_ADDRESS_BIDIR = 0x2cc00000
BUFFER_LEN_BIDIR =     0x00400000
COMMAND_ADDRESS =      0x2dc00010
DATAIN_ADDRESS =       0x2d810000
DATAOUT_ADDRESS =      0x2dc20000
Usage:
   * camera <-> internal SSD  :            x393sata_control.py set_zynq_ssd
   * camera <-> external disk :            x393sata_control.py set_zynq_esata
   * camera <-> external disk (crossover): x393sata_control.py set_zynq_ssata
   * PC <-> internal SSD)     :            x393sata_control.py set_esata_ssd