View previous topic :: View next topic |
Author |
Message |
blueprint
Joined: 21 Jun 2011 Posts: 12
|
USB Hardware Parameters |
Posted: Thu Jan 19, 2012 2:35 pm |
|
|
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, |
|
![](templates/subSilver/images/spacer.gif) |
temtronic
Joined: 01 Jul 2010 Posts: 9174 Location: Greensville,Ontario
|
|
Posted: Thu Jan 19, 2012 3:04 pm |
|
|
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! |
|
![](templates/subSilver/images/spacer.gif) |
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Thu Jan 19, 2012 3:06 pm |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
blueprint
Joined: 21 Jun 2011 Posts: 12
|
|
Posted: Thu Jan 19, 2012 3:14 pm |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
|