Commit cb16102d authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

+crossover connection

parent ff022d6b
...@@ -416,11 +416,16 @@ class x393sata(object): ...@@ -416,11 +416,16 @@ class x393sata(object):
if self.DEBUG_MODE: if self.DEBUG_MODE:
self.vsc3304.connection_status() self.vsc3304.connection_status()
def set_zynq_ssata(self):
self.vsc3304.connect_zynq_ssata()
if self.DEBUG_MODE:
self.vsc3304.connection_status()
def set_esata_ssd(self): def set_esata_ssd(self):
self.vsc3304.connect_esata_ssd() self.vsc3304.connect_esata_ssd()
if self.DEBUG_MODE: if self.DEBUG_MODE:
self.vsc3304.connection_status() self.vsc3304.connection_status()
def set_debug_oscilloscope(self): def set_debug_oscilloscope(self):
self.vsc3304.connect_debug() self.vsc3304.connect_debug()
if self.DEBUG_MODE: if self.DEBUG_MODE:
......
...@@ -18,10 +18,13 @@ if cmd == "set_zynq_ssd": ...@@ -18,10 +18,13 @@ if cmd == "set_zynq_ssd":
sata.set_zynq_ssd() sata.set_zynq_ssd()
elif cmd == "set_zynq_esata": elif cmd == "set_zynq_esata":
sata.set_zynq_esata() sata.set_zynq_esata()
elif cmd == "set_zynq_ssata":
sata.set_zynq_esata()
elif cmd == "set_esata_ssd": elif cmd == "set_esata_ssd":
sata.set_esata_ssd() sata.set_esata_ssd()
else: else:
print("Usage:") print("Usage:")
print(" * camera <-> internal SSD : x393sata_control.py set_zynq_ssd") print(" * camera <-> internal SSD : x393sata_control.py set_zynq_ssd")
print(" * camera <-> external disk : x393sata_control.py set_zynq_esata") print(" * camera <-> external disk : x393sata_control.py set_zynq_esata")
print(" * camera <-> external disk (crossover): x393sata_control.py set_zynq_ssata")
print(" * PC <-> internal SSD) : x393sata_control.py set_esata_ssd") print(" * PC <-> internal SSD) : x393sata_control.py set_esata_ssd")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment