azonenberg changed the topic of #scopehal to: ngscopeclient, libscopehal, and libscopeprotocols development and testing | https://github.com/ngscopeclient/scopehal-apps | Logs: https://libera.irclog.whitequark.org/scopehal
_whitelogger has joined #scopehal
Degi has quit [Ping timeout: 260 seconds]
Degi has joined #scopehal
aferreira has joined #scopehal
aferreira has quit [Quit: Leaving]
Guest32 has joined #scopehal
jj5_ has joined #scopehal
jj5 has quit [Ping timeout: 244 seconds]
<Guest32> joshua_: the calkit is a usb tmc class device. VID: 0xf4ec PID: 0x1600
<Guest32> SCPI commands to do the actual switching:
<Guest32> "SET:PORT OPEN,A",
<Guest32> "SET:PORT SHORT,A",
<Guest32> "SET:PORT LOAD,A",
<Guest32> "SET:PORT ATT,A",
<Guest32> "SET:PORT OPEN,B",
<Guest32> "SET:PORT SHORT,B",
<Guest32> "SET:PORT LOAD,B",
<Guest32> "SET:PORT ATT,B",
<Guest32> "SET:PORT OPEN,C",
<Guest32> "SET:PORT SHORT,C",
<Guest32> "SET:PORT LOAD,C",
<Guest32> "SET:PORT ATT,C",
<Guest32> "SET:PORT OPEN,D",
<Guest32> "SET:PORT SHORT,D",
<Guest32> "SET:PORT LOAD,D",
<Guest32> "SET:PORT ATT,D",
<Guest32> and is read like this:
<Guest32> "FL:DATA:READ:STARt"
<Guest32> "FL:DATA:READ? 1024"
<Guest32> the cal data is stored in a a zipped csv.
<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
<Guest32> readout csv:
<Guest32> "FL:DATA:INDEX 0" # no clue which index is correct
<Guest32> "FL:DATA:READ? 1024" # loop until done, last block is smaller, no clue where total size is coming from
<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.
<Guest32> well... that didn't really workout... https://nopaste.net/#XQAAAQAHBQAAAAAAAAA1G8rNIqiwTUHpBBPtMB9xWkQmGwemgb30oU2Q0qjha47dDNtN/S+CtOcnZpnLfgfGhJyA4K+fIV/CJhbY/j/cAFu7Wg06ZF32YiVai2Y1Nrw0mpcZ7Qlu4cJ4l8lH4xcYrU4euVMyQtveRNzQ+oM5IG72AiRcsZRS/J1wPQCK15E0qOMLF1SkfraXspe/xDECA3qPnjS+xGHIR1IS7ubFkw10A7uLohpeidFOsmF+08uV+PmVri2U3Y51K3B3Zb00NKzeQIlaofEDplK
<Guest32> HlSyJIGtzXkyyZrYWlkzi2CZqBipNUGIwO8Uz/E/LcAfl3sa3OXmT6AfMYOKHm/93CGr4S94wQ1+okppL3V58nNtRONHWtEYuA+V7EbkN5zPxBWGhg3KmN6Rxqos2ldUs7h25cCfwKqKEiIy5CQcaloLnYU0wyeiXVUJgnFpaAs2IFOKiIDQ61aODlQQXY/etrcuQEfF71+u1hKNH0W5uDmPJCq96mT30zKSk4918tfAhyuub6zvNHVk99AhNWGZLJrZ9EtFufE++be1SD6CkYGYqvFSlpbshkFMW70zfvZBg/VmOwI+GdtH4mchrlKCPFAqgyLUX2Kvhqd6DR0wSFAXoqSJBS
<Guest32> WbhmVQVGfdwSEGk6KCsAhkbCXbTz1eC/4kQlkwsqDgLu7UzLwZAr5Vfxpj+S4HG5N7qypivHqdthnZoaM/W3uozw4q9yF/acMGYLnKqhqfehpuHwkGgCzsPlYNAvxoD/lu3RxtcSe8UDNt0oLlE0Dl7+8i3hA==
<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.
Guest20 has joined #scopehal
Guest20 has quit [Client Quit]
Guest32 has quit [Quit: Client closed]
Guest32 has joined #scopehal
<Guest32> well. ticking the box for "no upload" isn't really doing me any favours either. so lets try again.
Guest32 has quit [Client Quit]
Guest32 has joined #scopehal
<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
<Guest32> (I try to read the log and answer in a more timely fashion than last time ;))
Guest32 has quit [Quit: Client closed]
jj5_ has quit [Quit: Konversation terminated!]
jj5 has joined #scopehal
balrog has quit [Ping timeout: 248 seconds]
balrog has joined #scopehal
lain has quit [Ping timeout: 252 seconds]
lain has joined #scopehal
aferreira has joined #scopehal
aferreira has quit [Client Quit]
aferreira has joined #scopehal
aferreira has quit [Quit: Leaving]
<joshua_> perf3ect!
aferreira has joined #scopehal
aferreira has quit [Ping timeout: 248 seconds]
aferreira has joined #scopehal
aferreira has quit [Quit: Leaving]
aferreira has joined #scopehal