Well, I am not having the best of luck here. I have enabled the serial port and through the raspberry pi configuration routines (disabled the serial console but enabled the serial hardware) and have wired Pico GPIO pins 0 and 1 to the Raspberry Pi V4 GPIO 14 and 15 (with Tx → Rx and vice versa). I have done the ofm update and off upgrade, as well as the ofm activate and pip install sangaboard commands as suggested in other threads. I have also switch to git server by doing a ofm develop. Nothing seems to work. I keep getting this in my log files:
Jan 11 11:35:46 microscope python[507]: INFO:root:Trying port /dev/ttyAMA0 with settings {'baudrate': 115200, 'bytesize': 8, 'parity': 'N', 'stopbits': 1}
Jan 11 11:35:46 microscope python[507]: INFO:root:Creating serial.Serial instance...
Jan 11 11:35:46 microscope python[507]: WARNING:root:The serial port didn't close cleanly: 'Sangaboard' object has no attribute '_ser'
Jan 11 11:35:46 microscope python[507]: INFO:root:Trying port /dev/ttyAMA0 with settings {'baudrate': 115200, 'bytesize': 8, 'parity': 'N', 'stopbits': 1}
Jan 11 11:35:46 microscope python[507]: INFO:root:Creating serial.Serial instance...
Jan 11 11:35:46 microscope python[507]: WARNING:root:The serial port didn't close cleanly: 'Sangaboard' object has no attribute '_ser'
Jan 11 11:35:46 microscope python[507]: INFO:root:Trying port /dev/ttyS0 with settings {'baudrate': 115200, 'bytesize': 8, 'parity': 'N', 'stopbits': 1}
Jan 11 11:35:46 microscope python[507]: INFO:root:Creating serial.Serial instance...
Jan 11 11:35:46 microscope python[507]: INFO:root:Created Serial<id=0xb3a83690, open=True>(port='/dev/ttyS0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
Jan 11 11:35:46 microscope python[507]: INFO:root:Testing communication to SangaBoard
Jan 11 11:35:46 microscope python[507]: INFO:root:Running firmware checks...
Jan 11 11:35:46 microscope python[507]: INFO:root:Trying port /dev/ttyS0 with settings {'baudrate': 115200, 'bytesize': 8, 'parity': 'N', 'stopbits': 1}
Jan 11 11:35:46 microscope python[507]: INFO:root:Creating serial.Serial instance...
Jan 11 11:35:46 microscope python[507]: INFO:root:Created Serial<id=0xb3c76f50, open=True>(port='/dev/ttyS0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
Jan 11 11:35:46 microscope python[507]: INFO:root:Testing communication to SangaBoard
Jan 11 11:35:46 microscope python[507]: INFO:root:Running firmware checks...
Jan 11 11:35:46 microscope python[507]: ERROR:root:We don't have a serial port to open, meaning you didn't specify a valid port. Are you sure the instrument is connected?
Edit: I should add that I get the following when trying to access the Pico from the Pi directly:
sudo miniterm /dev/ttyAMA0 115200
--- Miniterm on /dev/ttyAMA0 115200,8,N,1 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
B␀␀␕␀␀␑␀␀
␀ED␀
␀␀␀���␒␀␀␂␀␀␀␒␕"␔␀␑␀E␀␀␀���␒␀␑␀␀␀␀␀␀␀␀␀␀␀␀␀␕␀␀␀␀␀␀␀���␒␀␀␀RHH␀␀��␒␀␀␀HH␀␀␀␀␀ ␀␑␀␀␀␀␀␀␀␀␀" ␑␀␀␀␀␀ ␀ ␀␑␀␂���␒␀␀␀RHH␀␔$␀␀␂���␒␀␀␀␑␀␀␀␀␀HH"␀␀␀␀R␀␀␂␀␀␀␀␀␀␀␀HHHH␀␀␀␀D␀␀␀␀␀␀␀␀␀RHH␀␀␀HH␀␀(�
)(␄�UE␅␀␀␀␀␀␀HH"��␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀�␀␀!␀␀U!D␀␀ ␀␀␀␀␀␀␔␀␀␀␀␀␀␀␀␀␀RHH␀␀␔␀␕␀␀␀␀␀␀␀�␀␂␀␀␀␑␀␀␒␑␀␀D␀␂␀␀␀␀␀␀␀␀␀␑␀␀␀���␒␀␑␒␀␀␀J
�
␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀
--- exit ---