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

CDC USB Driver Windows 7

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



Joined: 21 Oct 2010
Posts: 85

View user's profile Send private message

CDC USB Driver Windows 7
PostPosted: Sun Oct 13, 2013 3:04 am     Reply with quote

Hello,

I have a new pc with Windows 7. I can't install the cdc usb driver. The PIC hard and software are ok. I can run the pic on my old pc and on my laptop (both windows 7 home premium).

When I connet the pic to my new pc, the usb driver installation pop up, but windows say I can't find the driver.

Under c:\windows\system32\driver ... the usbser.sys was missing. I have copied from my laptop.

But windows say's there is no driver.

Has anybody an Idea? Are there more files missing?


Volker
Ttelmah



Joined: 11 Mar 2010
Posts: 19383

View user's profile Send private message

PostPosted: Sun Oct 13, 2013 3:15 am     Reply with quote

You don't want usbser.sys.....

The CDC device, uses the _Windows_ driver. What you need is the file that tells Windows to do this. This is the 'inf' file.

WhereverYourCCSCompilerIs/drivers/NT,2000,XP,VISTA,7

Two files in there (the .inf file, and the security catalog - the latter is what prevents Windows for 'warning' you that this is 'not an approved driver').

Copy these.

When Windows asks for the driver, point it to the inf file.

Hopefully you have not put usbser.sys, anywhere that will cause problems. Windows 7 has it's own version, archived in a .cab file, which it will load as required.

Best Wishes
Prefekt



Joined: 21 Oct 2010
Posts: 85

View user's profile Send private message

PostPosted: Sun Oct 13, 2013 3:44 am     Reply with quote

I have look at my notebook which driver is used.
So I found the usbser.sys.

After the failed driver installation I have chose update driver. Then I choose the driver directory from ccs.

But windows say ther are no drivers found for the csc rs232 demo!
I'am confused.

How is the inf file name correct?

I can windows point to the inf file, only to the directory! Confused
Ttelmah



Joined: 11 Mar 2010
Posts: 19383

View user's profile Send private message

PostPosted: Sun Oct 13, 2013 8:45 am     Reply with quote

It is the "NT,2000,XP,VISTA,7" subdirectory you need to point it at.

'Drivers' contains CCS's driver code for the PIC itself. The subdirectory contains the inf file. It won't find the files in the subdirectory unless you point it there.....

Best Wishes
Prefekt



Joined: 21 Oct 2010
Posts: 85

View user's profile Send private message

PostPosted: Sun Oct 13, 2013 9:37 am     Reply with quote

I have point it directly to the subdirectory where the .inf files are.
But the message from windows is alway the same, could not find a driver.

On my laptop, I have deinstall the driver and install on the same way, works fine.

I think anything is missing, but what?
Ttelmah



Joined: 11 Mar 2010
Posts: 19383

View user's profile Send private message

PostPosted: Sun Oct 13, 2013 10:36 am     Reply with quote

Are you sure you are genuinely 'administrator'.
In Windows7, a user who is 'administrator', can not always install drivers. You genuinely need 'system admin' permissions.
Also the ability to add drivers can be disabled, using the group policy settings (commonly done on systems where you do not want people to be able to add things. If this has been done, the person who set the system up, will need to give permission to do this.

Best Wishes
Prefekt



Joined: 21 Oct 2010
Posts: 85

View user's profile Send private message

PostPosted: Tue Oct 15, 2013 12:33 am     Reply with quote

Yes, I'm admin on the system. I have installed all other drivers without problems.

I have tried a pic as hid device. So I connect the pic with the pc, driver installation pupup and the hid device was running. No problems.
Only the usbserial will not working!

Evil or Very Mad
Ttelmah



Joined: 11 Mar 2010
Posts: 19383

View user's profile Send private message

PostPosted: Tue Oct 15, 2013 12:53 am     Reply with quote

You are sure that something hasn't been changed in the code you compiled, like the VID/PID?.

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