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 Hardware Parameters

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



Joined: 21 Jun 2011
Posts: 12

View user's profile Send private message

USB Hardware Parameters
PostPosted: Thu Jan 19, 2012 2:35 pm     Reply with quote

Hello Dear All,

I would like to design a usb hardware with a 18F4550 and I wonder how can I set usb hardware parameters like PSD(Product String Descriptor), MSD(Manufacturer String Descriptor) etc. Would you please help me about that?

Thanks,
temtronic



Joined: 01 Jul 2010
Posts: 9174
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Thu Jan 19, 2012 3:04 pm     Reply with quote

first ,look over the usb examples that CCS povides in the examples folder.

second , decide whether your 'device' will be CDC or HID, then get the appropriate example to function. Study the various 'drivers' and other files associated with the program.CCS has a lot of comments embedded in their examples!
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Thu Jan 19, 2012 3:06 pm     Reply with quote

All descriptors are in a driver file, e.g. usb_desc_cdc.h for CDC, which needs to be personalized. You would want to study thorougly how string lengths are coded before changing strings.
blueprint



Joined: 21 Jun 2011
Posts: 12

View user's profile Send private message

PostPosted: Thu Jan 19, 2012 3:14 pm     Reply with quote

FvM wrote:
All descriptors are in a driver file, e.g. usb_desc_cdc.h for CDC, which needs to be personalized. You would want to study thorougly how string lengths are coded before changing strings.


Thank you very much for your clear reply FvM.
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