View previous topic :: View next topic |
Author |
Message |
deniska_gus
Joined: 11 Jul 2006 Posts: 42 Location: Minden, Germany
|
USB Driver |
Posted: Thu Mar 15, 2007 4:40 am |
|
|
Hi all,
i've got just one question. Where can i get an USB-Driver for PIC18Fxxx? Or should i write it by myself? How do you make it?
Regards. Dennis |
|
|
Ttemah Guest
|
|
Posted: Thu Mar 15, 2007 5:27 am |
|
|
A USB driver to do _what_?.
There are examples of implementing a CDC device, block IO device, keyboard/mouse device etc., all with their required drivers, in the 'examples' directory for the compiler...
Best Wishes |
|
|
deniska_gus
Joined: 11 Jul 2006 Posts: 42 Location: Minden, Germany
|
|
Posted: Thu Mar 15, 2007 5:38 am |
|
|
i am using PIC16 to comunicate with pc over rs232. Now i would make it over USB. But i don't know how i can do it, becouse i have not USB driver for this. |
|
|
rberek
Joined: 10 Jan 2005 Posts: 207 Location: Ottawa, Canada
|
|
Posted: Thu Mar 15, 2007 6:06 am |
|
|
Then look at the CDC driver that Ttelmah referred to...
r.b. |
|
|
meereck
Joined: 09 Nov 2006 Posts: 173
|
|
Posted: Thu Mar 15, 2007 6:12 am |
|
|
If you are going to use the CDC firmware use PICC\Drivers\cdc_NTXP.inf as a PC driver for that device.
If you want to implement your own device with custom endpoints, you should use mchpusb.inf as a driver and import mpusbapi.dll into your PC end application. |
|
|
|