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

PIC18F4550 USB CDC running creates an unknown device on PC

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



Joined: 03 Oct 2006
Posts: 99

View user's profile Send private message Send e-mail Visit poster's website

PIC18F4550 USB CDC running creates an unknown device on PC
PostPosted: Wed Jan 16, 2013 10:12 am     Reply with quote

Hi
I have a PCB with a PIC18F4550 that works fine with the CCS HID demo.
When I try to use the CDC demo file (ex_usb_serial.c), I get an unknown device in Device Manager, under Other Devices called SERIAL DEMO.
This is the name specified in usb_desc_cdc.h in \drivers.
Do I need to get a VCP DLL from somewhere to get it to work?

I use CCS PCH V4.136.

Best regards
Noam
_________________
Every solution has a problem.
Ttelmah



Joined: 11 Mar 2010
Posts: 19338

View user's profile Send private message

PostPosted: Wed Jan 16, 2013 11:33 am     Reply with quote

When it first saw the device, it should have asked you for a driver.
This is in:

wherever_CCS_is\drivers\NT,2000,XP,VISTA,7

Just a .inf file, not a DLL. The standard CDC driver, once it is 'told' about the CCS device, does the rest.

Best Wishes
n-squared



Joined: 03 Oct 2006
Posts: 99

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Wed Jan 16, 2013 12:27 pm     Reply with quote

Hi Ttelmah

Windows did not ask me for a driver.
How do I go about forcing the driver down its throat?

Best regards
Noam
_________________
Every solution has a problem.
Ttelmah



Joined: 11 Mar 2010
Posts: 19338

View user's profile Send private message

PostPosted: Wed Jan 16, 2013 1:54 pm     Reply with quote

If it didn't ask for a driver, then the device is not working properly. Double check things like the clock/fuses. It'll give an unrecognised device, if (for instance) the PIC is clocking at the wrong rate. Triple check that the 'common' file being loaded by the HID demo, is the same one being used by the CDC demo.
You can force a driver via device manager, but it won't work till the device is working.

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