by michaelapk » Tue Jul 11, 2023 1:09 pm
I've had this problem as well and have been able to resolve it by adjusting the way I send MIDI CC and PC messages.
I wrote a crude editor using PureData that allowed program changes and midi CC's to control various parameters. For this, I use the USB connection MIDI. Was having problems with random crashes that required rebooting the device. I was able to resolve the problem by doing the following:
1. doing a check on the Program Change values before sending - if I send a PC=0, the device would crash. I now check to see if the PC value is 1-128 before I send.
2. slowing down the MIDI CC messages - the program would crash if I moved sliders to send streams of CC messages. I built a MIDI delay line that puts a few ms delay between each MIDI CC. That seems to prevent the crashes. This delay is also important if I use a knob or slider to trigger PC messages. Sending a series of PC messages without the delay also caused crashes.
Between the two fixes, I am no longer having issues with crashing.
I am also sending PC and CC messages over MIDI cables from a HX Effects. For this setup, choosing a patch on the HX sends a PC message and couple of CC messages (to turn off reverb and compressor on the pedal) to the Tonex. This is working fine without crashing. I don't know if the difference is using wired MIDI vs the USB MIDI or the fact that the HX Effects is sending only three discrete MIDI messages, likely with some delay between them.
I think this is an issue with the MIDI implementation on the pedal and not a set of fixes I need to do with other devices. Probably something that could be fixed in a future firmware upgrade.
Hope this helps.