CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

USB Driver

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
deniska_gus



Joined: 11 Jul 2006
Posts: 42
Location: Minden, Germany

View user's profile Send private message

USB Driver
PostPosted: Thu Mar 15, 2007 4:40 am     Reply with quote

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







PostPosted: Thu Mar 15, 2007 5:27 am     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Mar 15, 2007 5:38 am     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Mar 15, 2007 6:06 am     Reply with quote

Then look at the CDC driver that Ttelmah referred to...

r.b.
meereck



Joined: 09 Nov 2006
Posts: 173

View user's profile Send private message

PostPosted: Thu Mar 15, 2007 6:12 am     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group