USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Moderator: Benj
Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
Only feature requests will be considered here. General questions should not be posted in this forum.
USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Hi
In FC are USB SLAVE, USB HID, USB Serial..
i wish in Future a
USB MIDI
USB AUDIO
Need Help in USB Descriptor so i request to a USB Compo Simply "USB Audio MIDI Class Device".
Txs
Best wishes
Rudi
In FC are USB SLAVE, USB HID, USB Serial..
i wish in Future a
USB MIDI
USB AUDIO
Need Help in USB Descriptor so i request to a USB Compo Simply "USB Audio MIDI Class Device".
Txs
Best wishes
Rudi
- 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: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Hi Rudi,
Thanks for the suggestion, I'll add it to the list.
Thanks for the suggestion, I'll add it to the list.
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: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Hi Guys
1/2 year ago and few days before chrismas ..
is there any new's in this? would be fine for a christmas gift.
rudi
thank you!
*Edit
jan 5 2015
would be fine for a easter 2015 gift.
1/2 year ago and few days before chrismas ..
is there any new's in this? would be fine for a christmas gift.
rudi
thank you!
*Edit
jan 5 2015
would be fine for a easter 2015 gift.
- 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: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Hello Rudi,
Right I have MIDI working now on a 16-bit PIC. 8-bit PICs currently not supported but hopefully shouldn't be a big job to add these.
I've tested the USB functionality but not the simulation end so far. I took this from the existing MIDI component so hopefully everything should simulate correctly.
First these files need to be extracted here: "C:\Program Files (x86)\Flowcode 6\CAL\PIC16BIT\USB"
Then here is the new component file which needs to live here: "C:\Program Files (x86)\Flowcode 6\components"
For testing the component I used free software named MIDI-OX which is working very nicely and allows me to link the incoming USB MIDI data to a Synth so I can hear what's going on and also link it so the data is fed back out on the USB so I can see the data returning on the LCD.
Here is my current test file. Let me know how you get on.
Right I have MIDI working now on a 16-bit PIC. 8-bit PICs currently not supported but hopefully shouldn't be a big job to add these.
I've tested the USB functionality but not the simulation end so far. I took this from the existing MIDI component so hopefully everything should simulate correctly.
First these files need to be extracted here: "C:\Program Files (x86)\Flowcode 6\CAL\PIC16BIT\USB"
Then here is the new component file which needs to live here: "C:\Program Files (x86)\Flowcode 6\components"
For testing the component I used free software named MIDI-OX which is working very nicely and allows me to link the incoming USB MIDI data to a Synth so I can hear what's going on and also link it so the data is fed back out on the USB so I can see the data returning on the LCD.
Here is my current test file. Let me know how you get on.
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: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Hi Benj
I could not wait that long and have my work interrupted
PIC24
...
- USB AUDIO MIDI fired
- USB send Midi
..
BENJ PERFECT !!!
^^^^^^^^^^^^^^^^^^^^
- Incredible!
- Fantastic!
..
Much obliged !!
^^^^^^^^^^^^
^
Will play now the rest of day with this -
fantastic! -
please go on in USB-OTG now too - you are 'warm' in this usb theme now
hey cheers!!!!
best wishes
rudi
I could not wait that long and have my work interrupted
PIC24
...
- USB AUDIO MIDI fired
- USB send Midi
..
BENJ PERFECT !!!
^^^^^^^^^^^^^^^^^^^^
- Incredible!
- Fantastic!
..
Much obliged !!
^^^^^^^^^^^^
^
Will play now the rest of day with this -
fantastic! -
please go on in USB-OTG now too - you are 'warm' in this usb theme now
hey cheers!!!!
best wishes
rudi
- 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: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Hi Rudi,
Great glad it's working for you, let me know if you spot any bugs.
What OTG classes would you like to see? These are the classes I currently have examples for...
MIDI, Serial, HID Mouse, HID Keyboard, Mass Storage, Slave, Printer
Great glad it's working for you, let me know if you spot any bugs.
What OTG classes would you like to see? These are the classes I currently have examples for...
MIDI, Serial, HID Mouse, HID Keyboard, Mass Storage, Slave, Printer
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: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Benj wrote:Hi Rudi,
Great glad it's working for you, let me know if you spot any bugs.
What OTG classes would you like to see? These are the classes I currently have examples for...
MIDI, CDC, HID Mouse, HID Keyboard, Mass Storage, Slave, Printer
Benj super!!
all
..CDC will be fine benj for first test
..perhabs Mass Storage too
MIDI will be fantastic..
and all other too
you are the chef
^^^^^^^^^^^^^^^^
hey super will play now a little with this
many many txs
best wishes
rudi
- 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: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Hi Rudi,
I've looked over the OTG examples and they look quite complicated. Think I need to have a play and gain familiarity. Mass storage is the one that looks promising to me in terms of possibilities but I suppose mouse and keyboard are equally handy.
For Standard USB devices I have examples for a Speaker and a Microphone if these would be handy, these would be quite easy to fit in now for 16-bit PIC with little effort, 8-bit is more tricky as the code needs porting over to boostc.
I've looked over the OTG examples and they look quite complicated. Think I need to have a play and gain familiarity. Mass storage is the one that looks promising to me in terms of possibilities but I suppose mouse and keyboard are equally handy.
For Standard USB devices I have examples for a Speaker and a Microphone if these would be handy, these would be quite easy to fit in now for 16-bit PIC with little effort, 8-bit is more tricky as the code needs porting over to boostc.
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: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Hi Benj
can it be, that the USB ICON,
USB SLAVE
USB SERIAL
USB HID
now not funtionally with PIC 18 F 2550 ?
why i ask:
I make a new empty project with PIC18F2550
add a loop simple delay 3sec
compile ok
i add a usb serial icon
i try to compile
fc is telling - project is up2date - recompile
i say yes "ok"
but this compile stop with errorlevel 1
i add makro for usb init
i add makro for usb send string in the loop ( with the 3 sec delay )
i try to compile
but this compile stop with errorlevel 1
any idea?
strange!..
best wishes
rudi
no hurry.
can it be, that the USB ICON,
USB SLAVE
USB SERIAL
USB HID
now not funtionally with PIC 18 F 2550 ?
why i ask:
I make a new empty project with PIC18F2550
add a loop simple delay 3sec
compile ok
i add a usb serial icon
i try to compile
fc is telling - project is up2date - recompile
i say yes "ok"
but this compile stop with errorlevel 1
i add makro for usb init
i add makro for usb send string in the loop ( with the 3 sec delay )
i try to compile
but this compile stop with errorlevel 1
any idea?
strange!..
best wishes
rudi
no hurry.
Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Hi Benj
i test just in time in a second laptop, where the midi for pic24 was not installed.
this fc is version 6.1.1.0
it compiles, but no reaction if pic18f2550 connect to pc ( cdc )
i will test a other same board in next time..too
bw
rudi
i test just in time in a second laptop, where the midi for pic24 was not installed.
this fc is version 6.1.1.0
it compiles, but no reaction if pic18f2550 connect to pc ( cdc )
i will test a other same board in next time..too
bw
rudi
- 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: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Hi Rudi,
I've just tried the USB Serial component with a standard ECIO40P and it is working well. My guess is it's config settings or a hardware issue that is causing the problem.
If you attach your Flowcode program and let me know what value crystal your using then I will investigate for you.
I've just tried the USB Serial component with a standard ECIO40P and it is working well. My guess is it's config settings or a hardware issue that is causing the problem.
If you attach your Flowcode program and let me know what value crystal your using then I will investigate for you.
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: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
hi benj
my mistake!
i have install the files in wrong folder ( pic24 / pic18 ) - after re install all fine again.
benj, is there a new same in pic18 usb midi? do you can make the things in pic18 same like pic24 ?
best wishes
rudi
my mistake!
i have install the files in wrong folder ( pic24 / pic18 ) - after re install all fine again.
benj, is there a new same in pic18 usb midi? do you can make the things in pic18 same like pic24 ?
best wishes
rudi
- 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: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Hi Rudi,
No USB Midi support for 8-bit PICs at the moment. Adding USB classes for 16-bit PICs is easy but for 8-bit is fairly tricky and time consuming.
I think this is one that we might park until we change the 8-bit compiler as this means we are not doing the work twice.
No USB Midi support for 8-bit PICs at the moment. Adding USB classes for 16-bit PICs is easy but for 8-bit is fairly tricky and time consuming.
I think this is one that we might park until we change the 8-bit compiler as this means we are not doing the work twice.
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: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
hi benj,
txs - ok -
i will work in this then with pic24 as base.
no problem, 8 bit would be fine - too,
but is ok -
txs benj!
best wishes
rudi
txs - ok -
i will work in this then with pic24 as base.
no problem, 8 bit would be fine - too,
but is ok -
txs benj!
best wishes
rudi
Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
hi benj
, btw, is the usb slave functionally with pic24 like pic18(8bit) ?
i have read you have worked at usb serial, but i do not know 100 procent, is this done in usb slave too and functionally?
txs for your support
best wishes
rudi
, btw, is the usb slave functionally with pic24 like pic18(8bit) ?
i have read you have worked at usb serial, but i do not know 100 procent, is this done in usb slave too and functionally?
txs for your support
best wishes
rudi
- 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: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Hi Rudi,
Yes the USB Serial, Slave and HID should all work on 8-bit PIC and 16-bit PIC devices.
Let me know if you have any problems.
Yes the USB Serial, Slave and HID should all work on 8-bit PIC and 16-bit PIC devices.
Let me know if you have any problems.
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