Sata multiplexer 10389
From ElphelWiki
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
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