I'm really struggling with disconnects when developing my Mongiloti synth. I connect my Teensy UART to the Axo UART in order to send Midi CC's. I use the script objects from extra_midi_io and it works very well. When it works that is. I use an XPS13 with Ubuntu 16.10 to develop on.
When going "live" or either uploading to flash, I'll get Generate Code complete, then a Disconnect Request a second later. To get Connected again I need to power cycle the Axo which means dropping the power supply AND disconnecting the USB (as it feeds it with a poor voltage).
* The Teensy is powered from the Axo 5v bus
* The PSU is 7.5v 1.5A rated so plenty of juice.
* The Teensy is running the OLED i2c and Pots only.
* All other modules in the Mongiloti (Trellis, encoders) are disabled.
It's clearly something to do with the UART. The Teensy isn't sending anything but the serial is initialised. I'm assuming Axo doesn't like this when it uploads.