If I use “python3 -m serial” and connect to the 0 interface it works as described - but the docs say to use the 1 interface. When I do that I get bad data as if there is binary in the output. I am powering the board from the spotter, by the way, using the smart mooring connector so it has the full long length of cable. However, I get the same results when powering from the wall adapter.
— Available ports:
— 1: /dev/ttyACM0 ‘Bristlemouth - TinyUSB CDC’
— 2: /dev/ttyACM1 ‘Bristlemouth - TinyUSB CDC’
— 3: /dev/ttyS0 ‘n/a’
— Enter port index or full name: 2
— Miniterm on /dev/ttyACM1 9600,8,N,1 —
— Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H —
�ò�␂␀␄␀␀␀␀␀␀␀␀␀��␀␀␁␀␀␀0␀␀␀��␂␀�␀␀␀�␀␀␀33␀␀␀␁␀␀-�m,��␀␀␀␀i␑��␀␀␀␀␀␀␀�b�␛-�m,�␃␀␀␀␀␀␀␀␀␀␀␀␀␀␁␐�␐�␀i?t␀␀␏␁␁spotter/fprintf␀␀␀␀␀␀␀␀␌␀5␀hum_temp.logtick: 48186, rtc: 0, hum: 40.852257, temp: 21.363562 0␀␀␀��␂␀�␀␀␀�␀␀␀33␀␀␀␁␀␀-�m,��
␀␀␀␀f␑��␀␀␀␀␀␀␀�b�␛-�m,�␃␀␀␀␀␀␀␀␀␀␀␀␀␀␁␐�␐�␀f� ␀␀␎␁␁spotter/printf␀␀␀␀␀␀␀␀␀␀?␀hum_temp | tick: 48186, rtc: 0, hum: 40.852257, temp: 21.3635620␀␀␀�␁␃␀�␀␀␀�␀␀␀33␀␀␀␁␀␀-�m,��␀␀␀␀p␑��␀␀␀␀␀␀␀�b�␛-�m,�␃␀␀␀␀␀␀␀␀␀␀␀␀␀␁␐�␐�␀p�7␀␀␏␁␁spotter/fprintf␀␀␀␀␀␀␀␀␌␀<␀pressure.logtick: 48197, rtc: 0, temp: 21.359171, pressure: 1009.015259 0␀␀␀�␁␃␀�␀␀␀�␀␀␀33␀␀␀␁␀␀-�m,��
␀␀␀␀m␑��␀␀␀␀␀␀␀�b�␛-�m,�␃␀␀␀␀␀␀␀␀␀␀␀␀␀␁␐�␐�␀m%�␀␀␎␁␁spotter/printf␀␀␀␀␀␀␀␀␀␀F␀pressure | tick: 48197, rtc: 0, temp: 21.359171, pressure: 1009.0152590␀␀␀�␜␃␀�␀␀␀�␀␀␀33␀␀␀␁␀␀-�m,��␀␀␀␀v␑��␀␀␀␀␀␀␀�b�␛-�m,�␃␀␀␀␀␀␀␀␀␀␀␀␀␀␁␐�␐�␀v��␀␀␏␁␁spotter/fprintf␀␀␀␀␀␀␀␀ ␀E␀power.logtick: 48204, rtc: 0, addr: 67, voltage: 0.004800, current: -0.000250 0␀␀␀�␜␃␀�␀␀␀�␀␀␀33␀␀␀␁␀␀-�m,��
␀␀␀␀s␑��␀␀␀␀␀␀␀�b�␛-�m,�␃␀␀␀␀␀␀␀␀␀␀␀␀␀␁␐�␐�␀s��␀␀␎␁␁spotter/printf␀␀␀␀␀␀␀␀␀␀L␀power | tick: 48204, rtc: 0, addr: 67, voltage: 0.004800, current: -0.0002500␀␀␀�$␃␀�␀␀␀�␀␀␀33␀␀␀␁␀␀-�m,��␀␀␀␀v␑��␀␀␀␀␀␀␀�b�␛-�m,�␃␀␀␀␀␀␀␀␀␀␀␀␀␀␁␐�␐�␀vh␎␀␀␏␁␁spotter/fprintf␀␀␀␀␀␀␀␀ ␀E␀power.logtick: 48206, rtc: 0, addr: 65, voltage: 23.840000, current: 0.006000 0␀␀␀�$␃␀�␀␀␀�␀␀␀33␀␀␀␁␀␀-�m,��
␀␀␀␀s␑��␀␀␀␀␀␀␀�b�␛-�m,�␃␀␀␀␀␀␀␀␀␀␀␀␀␀␁␐�␐�␀s��␀␀␎␁␁spotter/printf␀␀␀␀␀␀␀␀␀␀L␀power | tick: 48206, rtc: 0, addr: 65, voltage: 23.840000, current: 0.0060002␀␀␀��␂␀�␀␀␀�␀␀␀33␀␀␀␁␀␀-�m,��␀␀␀␀i␑��␀␀␀␀␀␀␀�b�␛-�m,�␃␀␀␀␀␀␀␀␀␀␀␀␀␀␁␐�␐�␀iM|␀␀␏␁␁spotter/fprintf␀␀␀␀␀␀␀␀␌␀5␀hum_temp.logtick: 50186, rtc: 0, hum: 40.902271, temp: 21.370152 2␀␀␀��␂␀�␀␀␀�␀␀␀33␀␀␀␁␀␀-�m,��
␀␀␀␀f␑��␀␀␀␀␀␀␀�b�␛-�m,�␃␀␀␀␀␀␀␀␀␀␀␀␀␀␁␐�␐�␀f�(␀␀␎␁␁spotter/printf␀␀␀␀␀␀␀␀␀␀?␀hum_temp | tick: 50186, rtc: 0, hum: 40.902271, temp: 21.3701522␀␀␀�␁␃␀�␀␀␀�␀␀␀33␀␀␀␁␀␀-�m,��␀␀␀␀p␑��␀␀␀␀␀␀␀�b�␛-�m,�␃␀␀␀␀␀␀␀␀␀␀␀␀␀␁␐�␐�␀p�>␀␀␏␁␁spotter/fprintf␀␀␀␀␀␀␀␀␌␀<␀pressure.logtick: 50197, rtc: 0, temp: 21.371092, pressure: 1009.005249 2␀␀␀�␁␃␀�␀␀␀�␀␀␀33␀␀␀␁␀␀-�m,��
␀␀␀␀m␑��␀␀␀␀␀␀␀�b�␛-�m,�␃␀␀␀␀␀␀␀␀␀␀␀␀␀␁␐�␐�␀m,␀␀␀␎␁␁spotter/printf␀␀␀␀␀␀␀␀␀␀F␀pressure | tick: 50197, rtc: 0, temp: 21.371092, pressure: 1009.0052492␀␀␀�␜␃␀�␀␀␀�␀␀␀33␀␀␀␁␀␀-�m,��`␀␀␀␀v␑��␀␀␀␀␀␀␀�b�␛-�m,�␃␀␀␀␀␀␀␀␀␀␀␀␀␀␁␐�␐�␀v��␀␀␏␁␁spotter/fprintf␀␀␀␀␀␀␀␀ ␀E␀power.logtick: 50204, rtc: 0, addr: 67, voltage: 0.004800, current: -0.000250
But if I try to use any other serial terminal at all I get varied results. With either minicom or tio or screen I get output from the dev kit but it does not respond to “help” or bm commands.
All of this is from a linux host (running Debian). There is something really strange happening across the serial port on the dev kit.
Has anyone else seen this? I suspect I am going to have to break out my sniffer connection and see what exactly is going across the wire.