You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to reproduce the problem with a Raspberry Pi at home tonight and I have found a fix.
The problem is that the raspberry pi echoes back some USB packets back to KBox which other serial drivers do not do (apparently this is specific to raspberry pi). Because KBox was not reading the input, the serial port was getting stuck. Just reading and discarding incoming data fixes this.
For more details, you can read this message on the teensy forum: https://forum.pjrc.com/threads/23770-Teensy-3-0-goes-mute-when-sending-to-Raspberry-Pi?p=32304&viewfull=1#post32304
The solution is very simple, just add the following lines in the loop() function of your src/host/main.cpp file:
while (Serial.read() > 0 ) {}
The text was updated successfully, but these errors were encountered:
- New USB mode active when the connection speed is set to 38400 bauds
- In this mode all NMEA and NMEA2000 messages are repeated to USB
- Removed KMessage/KMessageNMEAVisitor - they are not needed anymore
- Make sure we read data from serial port in that mode to avoid the
serial port locking up on Raspberry Pi (closes#68)
- Also convert SerialK data to NMEA and output it (this provides an
output for internal sensors but may result in duplicated data)
See discussion on mailing list:
The text was updated successfully, but these errors were encountered: