Page 1 of 1
How to create the USB MIDI interface with ECIO40
Posted: Mon Jan 04, 2010 11:52 am
by VHDL
I tried to create usb MIDI interface but It's so complicated... but looks like Ben is gonna help me out....
Thx.

Re: How to create the USB MIDI interface with ECIO40
Posted: Mon Jan 04, 2010 1:20 pm
by Benj
Hello
I think I have most of the code in place. I will have a look at this tonight and see if I can it together so it compiles and runs correctly.
Re: How to create the USB MIDI interface with ECIO40
Posted: Mon Jan 04, 2010 11:59 pm
by Benj
Hello
I have started the MIDI interface driver now and it looks promising. I have a custom component program complete with a MIDI USB descriptor that compiles anyway. The problem im having at the moment is that a lot of the low level usb midi endpoint communications is currently written in assembler in the example im using so its going to take a little while for me to dig through this and make it Flowcode friendly.
However good progress for one night
For now I suggest you have a play with the existing USB components they are quite fun to play with if you have the ECIO or any USB PIC microcontroller.
Re: How to create the USB MIDI interface with ECIO40
Posted: Tue Jan 05, 2010 12:57 am
by VHDL
I am playing with the USB components
you right.. it's fun and it is worth it to buy Flowcode.
Thank you..

Re: How to create the USB MIDI interface with ECIO40
Posted: Wed Jan 06, 2010 3:19 pm
by VHDL
I found USB MIDI Devices 1.0 on USB.org
http://www.usb.org/developers/devclass_docs/midi10.pdf
it looks so complicated.....
Re: How to create the USB MIDI interface with ECIO40
Posted: Wed Jan 06, 2010 4:57 pm
by Benj
Hello
Thankfully I found a Microchip example and the code is already fairly similar to the Flowcode USB code so thats most of the complications taken care of. However as I previously mentioned the interface code is all in assembler (DOH!!) which is causing the current hold up. I should get some more time over the next few days to get this all tied up and working so please bear with me.
Re: How to create the USB MIDI interface with ECIO40
Posted: Sat Jan 09, 2010 4:15 pm
by VHDL
That chears me thx...
I was using default RXINT in flowcode v4 but I am not getting Interrupt for Ecio40p....
what should I do?

Re: How to create the USB MIDI interface with ECIO40
Posted: Mon Jan 11, 2010 5:48 pm
by VHDL
I Got interrupt Working...
Re: How to create the USB MIDI interface with ECIO40
Posted: Thu Jan 21, 2010 5:24 pm
by VHDL
Hi..
How far are you?
Re: How to create the USB MIDI interface with ECIO40
Posted: Mon Feb 08, 2010 9:28 pm
by VHDL
Have you tried SALVO RTOS?
Re: How to create the USB MIDI interface with ECIO40
Posted: Tue Feb 09, 2010 2:03 pm
by Benj
No not personally but I have tried the "NOVO" RTOS that comes with the BoostC compiler. There is also a good RTOS available for AVR via the GCC compiler.
Re: How to create the USB MIDI interface with ECIO40
Posted: Thu Feb 11, 2010 1:31 am
by VHDL
i was just looking for usb driver until you can help me with the usb midi...
Can you tell me how far you've done so far for that midi interface ?