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

How to change usb description header from 1.1 to 2.0?

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







How to change usb description header from 1.1 to 2.0?
PostPosted: Tue Aug 15, 2006 3:07 pm     Reply with quote

Hi,

I am trying to modify the header file that came with the USB demo board for the Bulk Demo called usb_desc_scope.h. I want our usb device to be recognized by the PC as USB 2.0 instead of 1.1 which is written in the header file. I read on usb.org what the format was to change to 2.0 and I modified the code, but it still came up as 1.1. How do I make this modification? Question

Thanks,
j_girl
jspencer



Joined: 22 Dec 2003
Posts: 57
Location: Boise, ID USA

View user's profile Send private message

PostPosted: Tue Aug 15, 2006 3:16 pm     Reply with quote

Don't hold me to this because I am not totally sure, but in the usb_desc_xxx.h file there should be some lines that look something like this:

Code:
   
   const char USB_DEVICE_DESC[USB_DESC_DEVICE_LEN] ={
   //starts of with device configuration. only one possible
   USB_DESC_DEVICE_LEN, //the length of this report   ==1
   0x01, //the constant DEVICE (DEVICE 0x01)  ==2
   0x10,0x01, //usb version in bcd


This line is the one that will need to be changed: 0x10,0x01, //usb version in bcd

jspencer
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