Difference between revisions of "Sata multiplexer 10389"

From ElphelWiki
Jump to: navigation, search
(Switching connections)
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 x393_vsc330x.php interface]]
 
====x393_vsc330x.php====
 
====x393_vsc330x.php====
 
* help:
 
* help:

Revision as of 16:18, 20 December 2016

Description

10389 extension board has a 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 x393_vsc330x.php interface

x393_vsc330x.php

  • help:
http://192.168.0.9/x393_vsc330x.php
  • connection state:
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: crossover switching is supported in the command line script

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