Composite USB Devices


Closed Thread
Results 1 to 12 of 12
  1. #1
    Join Date
    Nov 2005
    Location
    Perth, Australia
    Posts
    429

    Default Composite USB Devices

    Would be good for PBP to support composite USB devices.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    PicKit 2 support, for example

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Kamikaze47 View Post
    Would be good for PBP to support composite USB devices.
    It's not really a function of PBP to support USB, whether it's master, slave or composite. That's mainly a function of the hardware in the PIC itself. If the PIC can't handle a Master USB device, then PBP won't be able to handle it, at least not without extra external hardware support (i.e. the new Vinculum chips).
    Yes, PBP does support limited USB communications on PICs with built-in USB hardware, those are Slave USB ports, meaning that you still need a Host/Master type device (i.e. PC, Vinculum chip, or otherwise) to successfully communicate externally with that device.

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    composite USB devices means there are more than 1 USB connection from the same device.

    Could be 1 is HID, and another is user defined, like an audio channel or something with it's own driver.

    Has nothing to do with Master and Slave.
    <br>
    DT

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    composite USB devices means there are more than 1 USB connection from the same device.
    Could be 1 is HID, and another is user defined, like an audio channel or something with it's own driver.
    Has nothing to do with Master and Slave.
    <br>
    I was taking 'composite' in exactly that context, as in, one device is both master and slave.

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Well that wouldn't make much sense.

    You can only have 1 master on a USB bus.
    So there's nothing else to access the slave part of your master/slave composite.
    Unless it's going to access itself.
    <br>
    DT

  7. #7
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Well that wouldn't make much sense.
    You can only have 1 master on a USB bus.
    So there's nothing else to access the slave part of your master/slave composite.
    Unless it's going to access itself.
    <br>
    I've got this wireless hard drive with 2 USB ports...
    One USB port is for plugging in a 'thumbdrive', it copies the contents onto the local drive (Host mode).
    The other USB port is for plugging it into a PC, and making the box into an external drive (Slave mode).
    Obviously, you can't do both at once (plug in a 'thumbdrive' and access it thru the wireless hard drive, like there's 2 drives). I suppose, in theory, if the firmware was written correctly, the thing could access itself, somehow, I guess. But that would almost need 2 seperate USB controllers.

  8. #8
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Your drive has it's own Host controller.
    But you can't connect that to the main USB bus. Only external Slave devices.

    Anyhow, the original question from Kamikaze47 was about composite USB devices, such as shown in microchip's TB057. Although they call it "Combination devices".

    http://www.microchip.com/stellent/id...pnote=en011986

    Which is possible with PBP, but not directly supported.
    <br>
    DT

  9. #9
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Your drive has it's own Host controller.
    But you can't connect that to the main USB bus. Only external Slave devices.
    Yes, true, and that's what I thought was meant by 'composite USB', able to Host and Slave in the same box, but not at the same time.
    And yes, I can connect the box's internal hard drive to the PC thru the USB (thumbdrive port is dead, hard drive is slave)...and I can connect the thumbdrive to the PC thru the USB connections (hard drive port must act as a signal pass thru to the thumbdrive port or something, not sure)...and I can connect the thumbdrive to the hard drive by plugging it in (the PC port is dead, hard drive is master, thumbdrive port is slave).
    I just can't do any combination of any of the three at any one time.

  10. #10
    Join Date
    Jan 2006
    Location
    Toronto
    Posts
    109


    Did you find this post helpful? Yes | No

    Default

    I think he still doesn't understand what a composite device is. Composite devices are slave only but are multiple slaves, for example, an HID mouse and keyboard in the same device like the USB to PS/2 converters or even maybe 2 PS/2 ports, a joystick port and a serial port in same device.

  11. #11
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by PJALM View Post
    I think he still doesn't understand what a composite device is.
    You're right...
    I don't have a clue about the difference between master, slave, and composite devices...

  12. #12
    Join Date
    Jan 2006
    Location
    Toronto
    Posts
    109


    Did you find this post helpful? Yes | No

    Default

    Sorry didn't mean no disrespect, just trying to help

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  3. USB devices
    By MKtiger in forum USB
    Replies: 1
    Last Post: - 2nd November 2008, 10:23
  4. Two USB devices with same software, easyHID
    By Josuetas in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 31st October 2007, 06:19
  5. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 17:39

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

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