stever Posted April 29, 2008 Report Share Posted April 29, 2008 Still making progress on my project... I now have the MIDI>USB-MIDI state machine implemented and it appears to be working well. While trying to implement what I thought would be the simple part (USB-MIDI>MIDI), I ran into Sysex corruption, which had the symptoms of pointer mismanagement on my part. After checking my code over several times, however, I became convinced that the corruption was occurring elsewhere. A quick Google and I discovered http://www.midiox.com/cgi/yabb/YaBB.pl?board=bugs;action=print;num=1130961608 (and TK had visited that page, too!). I searched for this on ucapps.de but didn't find anything so thought I'd post it in case it's of use to someone.Turns out the MS MIDI class driver corrupts Sysex data if buffers are smaller than the total message size. Changing MIDI-OX's buffers fixed the problem! Fortunately, the application I'm using appears to use large enough buffers, as the corruption doesn't occur with MIDI-OX out of the chain.Thorsten: my MIDI implementation on a PIC18F2550 is now almost complete and usable without the user interface and other features I plan to add. Let me know if you're still interested in testing it out and I'll send you the hex and the I/O info you'll need.Steve. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted April 30, 2008 Report Share Posted April 30, 2008 Err yeh I heard about that on wdmaudiodev... Gotta love windoze ;)Keep up the great work man! Quote Link to comment Share on other sites More sharing options...
TK. Posted April 30, 2008 Report Share Posted April 30, 2008 Hi Steve,yes, I'm interested in testing your firmware, especially under MacOS.SysEx corruption: some weeks ago ASSI informed me about a proper software workaround: using MIDItrix V1.24 to defractment the MIDI stream before it will be sent to the USB interface.He also contacted Microsoft, and got the answer, that they are aware of this issue, and fixed it in Vista. They are not planning to fix it for XP anymore, but they asked him for details, so that the issue can be properly documented in a KB noteWhich reminds me, that I have to deliver some input... ok, I will do this while testing your firmware ;)Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
cimo Posted April 30, 2008 Report Share Posted April 30, 2008 He also contacted Microsoft, and got the answer, that they are aware of this issue, and fixed it in Vista. They are not planning to fix it for XP anymore, but they asked him for details, so that the issue can be properly documented in a KB notethat sounds to me like "well there are thousands of people (errr CUSTOMERS) out there using our buggy driver, who cares? they can buy vista!" nice service! Quote Link to comment Share on other sites More sharing options...
bugfight Posted April 30, 2008 Report Share Posted April 30, 2008 ..........that sounds to me like "well t...pblblblblblbblblblblblblblt Quote Link to comment Share on other sites More sharing options...
cimo Posted April 30, 2008 Report Share Posted April 30, 2008 pblblblblblbblblblblblblblt is that the sound of an iphone drive going nuts? ???EDIT: i am moron going offtopic for no reason (i hate windows anyway :P) Quote Link to comment Share on other sites More sharing options...
stever Posted May 4, 2008 Author Report Share Posted May 4, 2008 yes, I'm interested in testing your firmware, especially under MacOS.Hi Thorsten, I've now finished the USB-MIDI>MIDI function and done some testing... Have successfully wrapped data through the PIC and back, including Sysex data. I now have a build you can take a look at if you want. Let me know how you'd like me to get it to you.... Let me know if you want Running Status implemented on the outbound stream... this will be a user option, but I haven't built the interface yet.Thanks for the MIDItrix tip... don't need it at present, but a useful tool to have available.Cheers, Steve. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.