Ticket #1853 (closed defect: fixed)
IOIO Connectivity fails when multiple ports in use
|Reported by:||ian||Owned by:|
Description (last modified by ian) (diff)
I have XCSoar running on a Dell Streak connected to a IOIO board which has ports 0 and 1 connected simultaneously to:
- Borgelt B500 (running at 4800 baud).
- Flarm (running at 9600 baud).
After 15 to 60 min in flight XCSoar reports a "failure to connect" error. The devices page shows both devices are disconnected and the connection cannot be restored via the buttons on that page.
However if I:
- Power cycle the IOIO + Flarm + B500 (they are all on the same circuit) then the connection is restored.
- Alternately disconnecting and reconnecting the USB cable also restores the connection.
The above only happens in flight. On the ground the system is stable for one or two hours, so the problem seems to be related to traffic data on the links. However if I increase the baud rate on the Flarm to 57600 (max available), the error occurs within 15 minutes, even on the ground.
I will try and collect some debugging logs and add them to this ticket, next time I have a chance to play with it.