Threaded View
-
09-06-2010 #15
The USB device ID is a combination of device, interface and endpoint configurators. These are set by firmware after the PIC is reset and then the sequence is:
When the device is initially attached to the bus, the host8. Set a configuration. >>this is where windows tries to load the required software
enters an enumeration process in an attempt to identify
the device. Essentially, the host interrogates the device,
gathering information such as power consumption, data
rates and sizes, protocol and other descriptive
information; descriptors contain this information. A
typical enumeration process would be as follows:
1. USB Reset: Reset the device. Thus, the device
is not configured and does not have an address
(address 0).
2. Get Device Descriptor: The host requests a
small portion of the device descriptor.
3. USB Reset: Reset the device again.
4. Set Address: The host assigns an address to the
device. >> this is where the de dum sound occurs
5. Get Device Descriptor: The host retrieves the
device descriptor, gathering info such as
manufacturer, type of device, maximum control
packet size.
6. Get configuration descriptors.
7. Get any other descriptors. >>during 5,6,7 Windows refines its understanding of the device, this is where you'll see 'Found generic HID' followed by 'Found <some device class>'
Since the ProductID is expensive the specifics are often in the later configurators, using a generic ProductID at the top level.
If you are unable to get Windows to recognise the USB device, you could try downloading a USB diagnostic tool. Does the device appear in Device Manager as an 'Unknown device' with a yellow question mark? If so then Windows is not recognising the descriptor as one of the generic classes. If it doesnt appear at all then the USB controller isnt able to do the initial reset/enumeration (steps 1 - 3 above) and Windows will never know the device exists. If this is the case then the problem is in your hardware or software (including the Microchip USB libraries) and without a full scale debugger and source code and the knowledge to use it there is little anyone can do to help.
-
The Following User Says Thank You to irving2008 For This Useful Post:
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
What is the function of a parallel port breakout board?
By hbx in forum Machine Control SoftwareReplies: 13Last Post: 12-03-2013, 06:18 PM -
Stepper motor drive using mach3 from parallel port
By hmarwat370 in forum General ElectronicsReplies: 0Last Post: 04-02-2013, 08:55 AM -
parallel port address
By Dan Brown in forum Artsoft Mach (3 & 4)Replies: 6Last Post: 07-01-2010, 12:04 PM -
Laptop, ie no parallel port?
By tompsky in forum Laptops & TabletsReplies: 3Last Post: 11-11-2008, 07:12 PM -
Which USB parallel port emulator is the best
By bruce_miranda in forum General ElectronicsReplies: 1Last Post: 18-09-2008, 03:38 PM
Bookmarks