hi folks,
several midilink issues, I guess.
2 cores
4 midi port (in out for each core)
the 1st core with optocoupler, the 2nd without optocoupler
midi out from J11 of 1st Core to midi in J11 of 2nd Core
1st core midi merger forward point
2nd core midi merger endpoint
no core ID issues. correct ID (thanks to smashTV/tim), correct upload process.
in init, I put these message in order to be sure all core run:
// note on hello from core1
MIOS_MIDI_BeginStream();
MIOS_MIDI_TxBufferPut(0x90);
MIOS_MIDI_TxBufferPut(0);
MIOS_MIDI_TxBufferPut(0x7f);
MIOS_MIDI_EndStream();
// note on hello from core2
MIOS_MIDI_BeginStream();
MIOS_MIDI_TxBufferPut(0x90);
MIOS_MIDI_TxBufferPut(1);
MIOS_MIDI_TxBufferPut(0x7f);
MIOS_MIDI_EndStream();
midiOx with midiin cable in midi in of 1st core, midiout cable with midi out from 2nd core
no prob with MIOS_MIDI_BeginStream(); and MIOS_MIDI_EndStream(); indeed, din handled by 1st core works correctly (I have message from them through the 2nd core)
BUT
-
I only received a hello message from the 2nd when I switch on the whole beast (if I put a midi cable at the midi out of the 1st one, I have its hello message)
-
when I upload with mios studio, it works. BUT in smart mode, the 1st core doesn’t upload correctly with the cable as described before. if I move the midi in (PC) from midi out 2nd core to midi out 1st core, I can upload in smart mode the 1st core.
-
if I upload in manual mode the 1st core with cable like describe before (at the beginning), it works, and when the first core reboots, it fires the little hello midi note…
my conclusion: “some” messages don’t go from the 1st core to the 2nd, sometimes… why? How could I unstick me?
I could be happy, din, ain from the 1st core fire good messages to the 2nd… so I have the whole thing almost ok.
but I’m afraid this behaviour drives me to unstability or smthg like that.
all ideas, advices would be appreciated.