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

ccs ex_usb_serial.c and xp driver

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



Joined: 23 Mar 2006
Posts: 197
Location: Lewisburg, WV

View user's profile Send private message

ccs ex_usb_serial.c and xp driver
PostPosted: Sat Sep 22, 2007 8:08 am     Reply with quote

Built ex_usb_serial.c, with small mods for the microchip usb demo board (changed the led and usb_available pins). Program runs ok on the pic, monitoring serial rs2323 output with siow.exe. When I attach the usb cable to the pc, the monitor reports that. But windows says new hardware found and wants to install a driver. This is XP, SP2 (and all other windows automatic updates). I thought that this was a generic cdc usb gadget, and that xp sp2 had a generic driver for it, so that no additional driver is needed.

Anyway, I tried pointing the installer to "C:\Program Files\PICC\USB Tools\WinXP" (which I thought was the ccs driver), but it said "no driver found".

I know there is some simple answer to this - can someone enlighten me please?

Many thanks,
Ken
Ttelmah
Guest







PostPosted: Sat Sep 22, 2007 8:34 am     Reply with quote

Windows, doesn't distinguish the 'driver', from the .inf file needed to say what driver to use. For the CDC device, it has the driver present, but doesn't 'know' this, till the .inf file tells it so.
The .inf file, is in the 'drivers' directory, with the PIC code.

Best Wishes
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