Thx.
How to create the USB MIDI interface with ECIO40
Moderator: Benj
How to create the USB MIDI interface with ECIO40
I tried to create usb MIDI interface but It's so complicated... but looks like Ben is gonna help me out....
Thx.
Thx.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: How to create the USB MIDI interface with ECIO40
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: How to create the USB MIDI interface with ECIO40
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: How to create the USB MIDI interface with ECIO40
I am playing with the USB components
you right.. it's fun and it is worth it to buy Flowcode.
Thank you..
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
I found USB MIDI Devices 1.0 on USB.org
http://www.usb.org/developers/devclass_docs/midi10.pdf
it looks so complicated.....
http://www.usb.org/developers/devclass_docs/midi10.pdf
it looks so complicated.....
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: How to create the USB MIDI interface with ECIO40
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: How to create the USB MIDI interface with ECIO40
That chears me thx...
I was using default RXINT in flowcode v4 but I am not getting Interrupt for Ecio40p....
what should I do?
I was using default RXINT in flowcode v4 but I am not getting Interrupt for Ecio40p....
what should I do?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: How to create the USB MIDI interface with ECIO40
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: How to create the USB MIDI interface with ECIO40
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 ?
Can you tell me how far you've done so far for that midi interface ?