Page 1 of 1
USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Sun Jun 22, 2014 6:43 pm
by Rudi
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

Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Mon Jun 23, 2014 10:04 am
by Benj
Hi Rudi,
Thanks for the suggestion, I'll add it to the list.
Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Wed Dec 17, 2014 5:58 pm
by Rudi
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.

Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Tue Jan 27, 2015 1:07 pm
by Benj
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"
- USB.zip
- (197.04 KiB) Downloaded 498 times
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.
Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Tue Jan 27, 2015 3:28 pm
by Rudi
Benj!
Cheers Cheers
will try today ( night ) and i am sure- will rock the party at night
hey - txs!!!
best wishes
rudi

Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Tue Jan 27, 2015 4:22 pm
by Rudi
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

Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Tue Jan 27, 2015 4:27 pm
by Benj
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
Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Tue Jan 27, 2015 4:30 pm
by Rudi
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

Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Tue Jan 27, 2015 6:10 pm
by Benj
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.
Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Tue Feb 10, 2015 12:10 pm
by Rudi
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.
Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Tue Feb 10, 2015 12:32 pm
by Rudi
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

Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Tue Feb 10, 2015 5:55 pm
by Benj
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.
Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Mon Apr 13, 2015 3:13 pm
by Rudi
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

Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Mon Apr 13, 2015 3:16 pm
by Benj
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.
Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Mon Apr 13, 2015 3:19 pm
by Rudi
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

Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Wed Apr 22, 2015 2:59 pm
by Rudi
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

Re: USB Audio MIDI Class ( USB Serial, USB HID, USB Slave)
Posted: Wed Apr 22, 2015 3:27 pm
by Benj
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.