User Forum :: Powered by YaBB
« MIDI-OX User Forum - Can not send Sysex file - I'm desperate! »
Welcome, Guest. Please Login or Register.
Dec 15th, 2019, 3:56am


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI-OX
   Questions and Discussion
(Moderator: Jamie OConnell)
   Can not send Sysex file - I'm desperate!
« No topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Can not send Sysex file - I'm desperate!  (Read 259 times)
elad770
New Member
*



MIDI-OX Rules!

   


Posts: 1
Can not send Sysex file - I'm desperate!
« on: Nov 30th, 2019, 9:29pm »
Quote Quote Modify Modify

Hi Everyone,
 
I'm very new here and decided to make a video to illustrate my point.
I really hope someone can help
 
Basically, I can't send Sysex File and update my module despite the fact that I get all the right indications.
 
Here's the short video:
 
https://youtu.be/NapTvNHh2tY
 
Thank you all !
IP Logged
Breath
Administrator
*****





   
WWW

Gender: male
Posts: 767
Re: Can not send Sysex file - I'm desperate!
« Reply #1 on: Dec 1st, 2019, 6:57pm »
Quote Quote Modify Modify

Hi
from the video, you seem to have set it up correctly and the sysex is sent by the Midisport Uno OK.
Your device seems to be responding to Midi note info OK.
 
There are problems with the sysex file itself.  
I couldn't see the end byte - make sure it is F7.  
Check all the numbers are 7F or less except for the F0 start and F7 end.
 
I don't known the structure  of the sysex, but very often there is a device id number somewhere in the first few bytes.
The id is there so you can have multiple identical devices Midi chained together.
The id number separates them so you can talk to individual devices.
If that is the case check the id in the micro-controller is the same as that in the sysex file.
 
The only other thing I can think of is that the Sysex message is being sent too fast for the controller to handle.
Writing to the flash can take time and perhaps your input buffer of the micro-controller is overflowing and dropping data.
 
You can slow down the sysex by setting the Midi buffers to a small size and asking MidiOx to wait between buffers.
View /Sysex, on the Sysex dialog go to Sysex / Configure..
 
Do you know what the size of the input buffer is for micro-controller?  (Arduino Midi library usually uses 16 bytes)
 
Try making the size of output buffers the size of your device's input buffer .
The file looks to be 777bytes long from your video so try making the size 16 bytes long and have 64 of them.  
In "Output Timing" make sure "Auto-adjust Buffer.." is not selected and set the "Delay between buffers" to 100mS
You can try smaller buffers and /or longer delay.
 
This will slow down MidiOx.
So once you get it going try to increase the buffer size and decrease the wait time till it stops working and then change it back to the last working value.
 
Let me know how you get on
Royce
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« No topic | Next topic »


MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB 2000-2003. All Rights Reserved.