02:21
_whitelogger has joined #scopehal
03:28
Degi has quit [Ping timeout: 260 seconds]
03:31
Degi has joined #scopehal
09:43
aferreira has joined #scopehal
14:09
aferreira has quit [Quit: Leaving]
14:38
Guest32 has joined #scopehal
14:40
jj5_ has joined #scopehal
14:41
jj5 has quit [Ping timeout: 244 seconds]
14:46
<
Guest32 >
joshua_: the calkit is a usb tmc class device. VID: 0xf4ec PID: 0x1600
14:46
<
Guest32 >
SCPI commands to do the actual switching:
14:46
<
Guest32 >
"SET:PORT OPEN,A",
14:46
<
Guest32 >
"SET:PORT SHORT,A",
14:46
<
Guest32 >
"SET:PORT LOAD,A",
14:46
<
Guest32 >
"SET:PORT ATT,A",
14:46
<
Guest32 >
"SET:PORT OPEN,B",
14:46
<
Guest32 >
"SET:PORT SHORT,B",
14:46
<
Guest32 >
"SET:PORT LOAD,B",
14:46
<
Guest32 >
"SET:PORT ATT,B",
14:46
<
Guest32 >
"SET:PORT OPEN,C",
14:46
<
Guest32 >
"SET:PORT SHORT,C",
14:46
<
Guest32 >
"SET:PORT LOAD,C",
14:46
<
Guest32 >
"SET:PORT ATT,C",
14:46
<
Guest32 >
"SET:PORT OPEN,D",
14:46
<
Guest32 >
"SET:PORT SHORT,D",
14:46
<
Guest32 >
"SET:PORT LOAD,D",
14:46
<
Guest32 >
"SET:PORT ATT,D",
14:46
<
Guest32 >
and is read like this:
14:46
<
Guest32 >
"FL:DATA:READ:STARt"
14:46
<
Guest32 >
"FL:DATA:READ? 1024"
14:46
<
Guest32 >
the cal data is stored in a a zipped csv.
14:46
<
Guest32 >
#A,B,C,D,T_AB,T_AC,T_AD,T_BC,T_BD,T_CD,CF_AB,CF_AC,CF_AD,CF_BC,CF_BD,CF_CD
14:46
<
Guest32 >
readout csv:
14:46
<
Guest32 >
"FL:DATA:INDEX 0" # no clue which index is correct
14:46
<
Guest32 >
"FL:DATA:READ? 1024" # loop until done, last block is smaller, no clue where total size is coming from
14:46
<
Guest32 >
As there are too many unknowns I stopped working on this until I get access to a siglent calkit to readout the header/csv. No clue about the attention between the ports.
14:49
<
Guest32 >
HlSyJIGtzXkyyZrYWlkzi2CZqBipNUGIwO8Uz/E/LcAfl3sa3OXmT6AfMYOKHm/93CGr4S94wQ1+okppL3V58nNtRONHWtEYuA+V7EbkN5zPxBWGhg3KmN6Rxqos2ldUs7h25cCfwKqKEiIy5CQcaloLnYU0wyeiXVUJgnFpaAs2IFOKiIDQ61aODlQQXY/etrcuQEfF71+u1hKNH0W5uDmPJCq96mT30zKSk4918tfAhyuub6zvNHVk99AhNWGZLJrZ9EtFufE++be1SD6CkYGYqvFSlpbshkFMW70zfvZBg/VmOwI+GdtH4mchrlKCPFAqgyLUX2Kvhqd6DR0wSFAXoqSJBS
14:49
<
Guest32 >
WbhmVQVGfdwSEGk6KCsAhkbCXbTz1eC/4kQlkwsqDgLu7UzLwZAr5Vfxpj+S4HG5N7qypivHqdthnZoaM/W3uozw4q9yF/acMGYLnKqhqfehpuHwkGgCzsPlYNAvxoD/lu3RxtcSe8UDNt0oLlE0Dl7+8i3hA==
14:50
<
Guest32 >
I have some patch for some old librecal fw to add usbtmc, but was to lazy to actually figure out what is missing by try and error. I think it is to much unknown to solve it without a ecal dump.
14:51
Guest20 has joined #scopehal
14:51
Guest20 has quit [Client Quit]
14:51
Guest32 has quit [Quit: Client closed]
14:54
Guest32 has joined #scopehal
14:55
<
Guest32 >
well. ticking the box for "no upload" isn't really doing me any favours either. so lets try again.
14:55
Guest32 has quit [Client Quit]
14:56
Guest32 has joined #scopehal
15:01
<
Guest32 >
I do have a ghidra project, but I don't think sharing is too helpful. entrypoint for me was ext_dev_usbtmc_session_t and ecal_dev_siglent_t
15:02
<
Guest32 >
(I try to read the log and answer in a more timely fashion than last time ;))
15:02
Guest32 has quit [Quit: Client closed]
15:37
jj5_ has quit [Quit: Konversation terminated!]
15:38
jj5 has joined #scopehal
16:09
balrog has quit [Ping timeout: 248 seconds]
16:09
balrog has joined #scopehal
16:10
lain has quit [Ping timeout: 252 seconds]
16:11
lain has joined #scopehal
17:57
aferreira has joined #scopehal
17:59
aferreira has quit [Client Quit]
18:05
aferreira has joined #scopehal
18:12
aferreira has quit [Quit: Leaving]
19:26
<
joshua_ >
perf3ect!
21:06
aferreira has joined #scopehal
21:27
aferreira has quit [Ping timeout: 248 seconds]
21:34
aferreira has joined #scopehal
22:34
aferreira has quit [Quit: Leaving]
22:34
aferreira has joined #scopehal