Hi Josh, I have a r0.7-1.0 Bpod state machine that was working just fine with my Windows 10 system and Matlab 2024a until recently. I was experimenting with Matlab 2022a to get some other software working and was able to connect to the Bpod, but had a Matlab issue and had to force quit. When I tried to re-connect to the Bpod in Matlab 2024a the device couldn't be found. I noticed the Bpod was lighting up green instead of blue, like the previous Matlab crash left it in a weird suspended state, so I power-cycled it (back to blue pulsing light) and tried again but with no success. So far I've also tried swapping out the USB cable, resetting the state machine, uninstalling all the COM ports in device manager, and changing the firmware. Firmware v23 loaded successfully but still the device won't connect when I run Bpod with the correct com port as input, giving the error message below (if firmware v23). Other times it is just stuck in the "Searching for State Machine..." window (if firmware v22). Any help would be appreciated!
`Error using ArCOMObject_Bpod/read (line 473)
Error: The USB serial port did not return the requested number of bytes.
Error in BpodObject/Connect2BpodSM (line 85)
reply = obj.SerialPort.read(1, 'uint8');
Error in Bpod (line 85)
BpodSystem.Connect2BpodSM(varargin{1});`