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 CCS Technical Support

USB driver on win7

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



Joined: 30 Jan 2012
Posts: 220

View user's profile Send private message

USB driver on win7
PostPosted: Wed Aug 01, 2012 3:08 pm     Reply with quote

hey!

I know, there is different topic about it, I tried all solutions suggested and it still doesn't work.

I'm using PCWHD 4.093 on MacBook Pro with win7 x64.

I try to use the ex_usb_serial.c

It works perfectly on the computer of a friend on XP, but the serial port driver seems doesn't work on win7 :

error "code 10"
Port_#0001.Hub_#0001

I tried to modify usb_desc_cdc.h -> #define USB_CONFIG_BUS_POWER 0
as explain here:
http://www.ccsinfo.com/forum/viewtopic.php?t=44263

I tried to modify cdc_NTXPVista.inf
as explain here:
http://www.ccsinfo.com/forum/viewtopic.php?t=44917&p=142164


Someone know how to correctly install the CCS driver on win7 ?
Maybe does it come from the files?
Can someone send me by MP the files which work with USB on win7 ?

Thanks for your help.

Sorry for my bad english.

spilz
Ttelmah



Joined: 11 Mar 2010
Posts: 19568

View user's profile Send private message

PostPosted: Thu Aug 02, 2012 1:27 am     Reply with quote

Have you done this exact mod:

<http://www.ccsinfo.com/forum/viewtopic.php?t=41272&highlight=64bit+driver>

Proper 64bit drivers came along with about the mid 4.100 releases. However 4.093, certainly did work for people using this driver mod.

The bus power mod, is not normally needed. It depends on the PC motherboard, with a few machines which have hardware switching of the USB power line, turning the power 'off'. This then makes 'connection sense' not work, and causes problems, but for 99% of systems it doesn't matter at all.

Best Wishes
spilz



Joined: 30 Jan 2012
Posts: 220

View user's profile Send private message

PostPosted: Thu Aug 02, 2012 1:44 am     Reply with quote

Thank for your reply.

I tried this modification too, but still doesn't work :(
spilz



Joined: 30 Jan 2012
Posts: 220

View user's profile Send private message

PostPosted: Thu Aug 02, 2012 1:59 am     Reply with quote

OK....

Today it works, and I changed nothing on my computeur between last night and this morning, just sleep ...

I'm sorry I can't explain what I did to solve this problem :( maybe try the 3 topics linked...
I just hope it's reliable now...

thanks for your help

Spilz
spilz



Joined: 30 Jan 2012
Posts: 220

View user's profile Send private message

PostPosted: Thu Aug 02, 2012 2:40 am     Reply with quote

News :
it fact, it seems it comes from my USB port :
on my MacBook Pro I have 2 USB port, and it works only with one ...
the thing I change between yesterday and today is the connector port...

I don't know why they are not the same, but now it works so my solution :
try differents USB port Smile

Spilz
Ttelmah



Joined: 11 Mar 2010
Posts: 19568

View user's profile Send private message

PostPosted: Thu Aug 02, 2012 3:40 am     Reply with quote

Normally, this implies that a faulty driver has got installed on the earlier port.
Reboot your windows in 'safe mode'.
Control panel, and look at the device manager.
Select 'show hidden devices'.
You should then see all drivers installed. Hopefully you will see a couple of versions of the CCS driver. Delete both, then reboot as normal, and reinstall the working driver.
If you can't find a second CCS driver installed, look through the vendor ID/PID numbers for all the installed drivers (or do a text search, in the .inf directory off Windows), looking for the VID. It is possible that a device has been installed which uses the CCS ID, and calls itself something else...

Best Wishes
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PostPosted: Thu Aug 02, 2012 7:47 am     Reply with quote

Ttelmah this is a great trouble shooting guide. Sadly USB became a dark art
of inf files dll's and registry entries. The USB race horse that became a camel during the committee's specification process. What you see isn't often what you get since the offending item is often hidden. Laptop USB ports can get a beating as laptops are bumped around so even hardware connections can be suspected.
Ttelmah



Joined: 11 Mar 2010
Posts: 19568

View user's profile Send private message

PostPosted: Thu Aug 02, 2012 8:52 am     Reply with quote

Yes.
Whole 'swathes' of stuff uses USB now, for things that it was never designed for, then we are stuck with unreliability, including things like the connectors themselves. The 'standard' USB connector typically only has a design life of 1500 connection cycles!. For things like a mouse, or printer, not likely to be a problem, but when you are swapping flash sticks into one port, several times during a day, is it really surprising that failures here are getting more and more common?. Laptop ports suffer even more, not only from the mechanical "bump's", but because they tend to be plugged in/out more often, and then the plugs are often 'strained' up/down, putting forces on the pins they were not even remotely designed for.
I have a personal 'hate hate' relationship with USB.
It is amazingly common now to find quite expensive pieces of kit being thrown away because of a USB socket failure - amazing how many of these _can_ be repaired.... (evil grin).

Obviously worth double checking that the port that does not work with the CCS device, _does_ work with something else, just in case such a problem is sneaking up here.

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