Regarding cs_menu_mbnet.inc and sid_mbnet.inc:
I didn’t want to include them because I didn’t want to make the code even more complicated with stuff I don’t need (no SIDs anywhere near), and wanted to avoid the Control Surface fighting with Midio128 for control of the LCD.
I will try to include them, though, and see if it relieves my problems.
No, you don’t need to include these files, it won’t help.
I missed mbnet.inc, and thought that you forgot to add other files as well…
@ Frames on the RX pin: Isn’t this ensured by the wired-and connection already? I wired the CAN bus according to the pdf (as already mentioned above).
Yes, but if you made anything wrong (e.g. diode in wrong direction, bad soldering joint), you would see such effects as well. Therefore this assumption…
To clarify: I’m puzzled why the CAN-functionality works only sometimes. I’d have expected all or nothing. Is it possible that something gets reset in between? Although I haven’t observed a necessary waiting period or whatnot, sometimes the recognized buttonpresses are quite close together, sometimes very far apart…well, I’ll try including the rest of the code and see what happens…
I don’t have more explanations for this effect yet.
If you would work on a MIOS32 application, I would propose to add some debugging messages sent to MIOS Terminal, e.g. at the location where a new frame is sent, where it is received, where a reply is sent, where the reply is received… but MIOS32_MIDI_SendDebugMessage isn’t available for MIOS8.
Instead you could debug with MIDI events.
E.g., send “B0 00 <any-number>” at interesting locations to get some hints about internal operations.
btw TK, do you have any input regarding the MIOS-Studio-on-Linux thread? It would be a bit more comfortable, I think, not having to work in the old beta9. But it’s not that important…
No, I tried it with my Ubuntu installation some time ago, but it wasn’t possible to send/receive MIDI messages.
This seems to be related to the Juce version that I was using at this time, but I haven’t continued debugging in the hope that a Linux expert could solve this.
Best Regards, Thorsten.