Page 2 of 5 FirstFirst 1234 ... LastLast
  1. #11
    If any USB device makes the noise, they all will.

    The computer finds a USB device and gets it's unique product ID number. Then it goes "dee-dum" and looks for software matching that number.

    No noise means there is a problem in the firmware or the hardware.

    Product ID numbers are a problem if you want to make USB devices. The numbers are free but you have to join the USB club to get them which costs about 3k IIRC. When I needed numbers I searched the web and found a USB club member wanting to sell me ten numbers for a hundred pounds or so which is how I got around it. Wonder what number you are using.

  2. The Following User Says Thank You to Robin Hewitt For This Useful Post:


  3. 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 host
    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>'
    8. Set a configuration. >>this is where windows tries to load the required software

    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.

  4. The Following User Says Thank You to irving2008 For This Useful Post:


  5. #13
    I just had a quick look on www.usb.org and it seems you can now get vendor ID numbers for a mere $2k.

    Not as bad as I remembered it but they've now added a clause to say you can't sell numbers on. Too late guys :naughty:

  6. The Following User Says Thank You to Robin Hewitt For This Useful Post:


  7. #14
    If you're using a Microchip product (which this is), then you can apply for a PID and use their VID - although if usb.org has changed their rules, then I don't know if it's still applicable (I did download their application form a week ago though, so it's not been removed - but then I did find a direct link to it off another website, and they may have not removed it; only their links to it).

  8. #15
    usb.org
    Click "Developers"
    Click "two option" link in "Getting a vendor ID"
    Click the third of the two options, ""vendor ID" no logo licence
    Gets you here...
    http://www.usb.org/developers/vendor...h_02042009.pdf

    First paragraph includes the restriction

    Paragraph 2, the admin fee, results in the Yorksire War Cry...

    'Ow much?

  9. The Following User Says Thank You to Robin Hewitt For This Useful Post:


  10. #16
    please help me.. i have been working on pic18f4550 for making a usb to parallel port ,,, i saw a hope after looking this thread...

    due to cost reasons i can stick to pic18f4550 only...

    the firmware and software links are dead please update ,,some one help :( :( !!!!!
    ...
    there are some more doubts regarding this thread,after i program the micro controller and make all driver loading will my computer will detect it as LPT ? (as printer port in device manager like that of desktop systems)if know that how will be able to access the DB29 port?

    :( :( i am in an urgent need of help... i will be very thank ful; :)

    rony

  11. Quote Originally Posted by ronmalfred123 View Post
    please help me.. i have been working on pic18f4550 for making a usb to parallel port ,,, i saw a hope after looking this thread...

    due to cost reasons i can stick to pic18f4550 only...

    the firmware and software links are dead please update ,,some one help :( :( !!!!!
    ...
    there are some more doubts regarding this thread,after i program the micro controller and make all driver loading will my computer will detect it as LPT ? (as printer port in device manager like that of desktop systems)if know that how will be able to access the DB29 port?

    :( :( i am in an urgent need of help... i will be very thank ful; :)

    rony
    I am afraid CNCDudeZ website is down and hasnt been updated for a while. You could try PM'ing CLaNZeR (CNCDudeZ) direct but he's not been around for a while and I don't think he supports this project any more.

    Moderators

  12. Hi welcome back Sean... Google was reporting the .co.uk site as off the air earlier today when i tried it...said their last cache was the 14th December..

  13. #19
    Hey welcome back Sean and when you popin in for this cup of tea on the way through Swindon?

    Paul
    If the nagging gets really bad......Get a bigger shed:naughty:

  14. Quote Originally Posted by CLaNZeR View Post
    Have spent the holiday working on the Caliper Hack as I notice a few guys have been playing with it also on another thread.
    I hope to use it for PWM on solenoids driving a X'Y table using air pistons and hope to get it pretty precise.
    Which thread is that Sean?

Page 2 of 5 FirstFirst 1234 ... LastLast

Similar Threads

  1. What is the function of a parallel port breakout board?
    By hbx in forum Machine Control Software
    Replies: 13
    Last Post: 12-03-2013, 06:18 PM
  2. Stepper motor drive using mach3 from parallel port
    By hmarwat370 in forum General Electronics
    Replies: 0
    Last Post: 04-02-2013, 08:55 AM
  3. parallel port address
    By Dan Brown in forum Artsoft Mach
    Replies: 6
    Last Post: 07-01-2010, 12:04 PM
  4. Laptop, ie no parallel port?
    By tompsky in forum Laptops & Tablets
    Replies: 3
    Last Post: 11-11-2008, 07:12 PM
  5. Which USB parallel port emulator is the best
    By bruce_miranda in forum General Electronics
    Replies: 1
    Last Post: 18-09-2008, 03:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •