ladansedesdamnes
Active member
I'm working on a program that receives midi data from a daw (sysex + note events) and processes this information.
I have simulation functions to emulate a sample midi data stream setup in my program, and everything works fine with that, I'm using several serial printouts to check all stages from message reception to processing and all that. I'm using straight Midi mode.
As soon as I try to use a proper midi output from my DAW (reaper), I enter reboot hell. If I'm fresh from a reboot, I'll be able to upload and get the teensy running, open the midi file in the daw, setup midi output without issues and get data input on playback. All great.
If, however, I upload anything to the teensy (or even just disconnect and reconnect serial monitor, remove focus from reaper and go back), that's that... Everything stops working: DAW starts complaining of not being able to open the teensy's midi out port - restarting it bears no effect; if I try unplugging and reuploading to the teensy, this will fail and the teensy will hang with the "no usb-connection" led steady blinking, and nothing will work until I perform a clean reboot and get everything back to square one.
Logging off does nothing, only a full reboot, which makes me thing of something like the com port staying active or something of the kind.
I have simulation functions to emulate a sample midi data stream setup in my program, and everything works fine with that, I'm using several serial printouts to check all stages from message reception to processing and all that. I'm using straight Midi mode.
As soon as I try to use a proper midi output from my DAW (reaper), I enter reboot hell. If I'm fresh from a reboot, I'll be able to upload and get the teensy running, open the midi file in the daw, setup midi output without issues and get data input on playback. All great.
If, however, I upload anything to the teensy (or even just disconnect and reconnect serial monitor, remove focus from reaper and go back), that's that... Everything stops working: DAW starts complaining of not being able to open the teensy's midi out port - restarting it bears no effect; if I try unplugging and reuploading to the teensy, this will fail and the teensy will hang with the "no usb-connection" led steady blinking, and nothing will work until I perform a clean reboot and get everything back to square one.
Logging off does nothing, only a full reboot, which makes me thing of something like the com port staying active or something of the kind.