Forum Rule: Always post complete source code & details to reproduce any issue!
Page 2 of 2 FirstFirst 1 2
Results 26 to 35 of 35

Thread: 3.6 USBHost_t36 USB Hub examples?

  1. #26
    Junior Member
    Join Date
    Sep 2016
    Posts
    13
    Wow! Will give this a go. Thanks so much for all the effort Paul!

  2. #27
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,654
    Quote Originally Posted by KurtE View Post
    I also tested with another one that was problematic that I mentioned above:
    ....
    I purchased this one from Amazon: https://smile.amazon.com/gp/product/...?ie=UTF8&psc=1
    Please start a new thread for this one. I'll get one from Amazon. Probably won't be able to look into this for a couple weeks. For now, I *really* need to wrap up releasing 1.42...

  3. #28
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,654
    Wrote a blog article this morning with some details of this hub troubleshooting.

    https://www.pjrc.com/usb-hub-bug-hun...ssons-learned/

  4. #29
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,654
    Quote Originally Posted by KurtE View Post
    Yes the Beagle 480 looks great if I were to do this on a full time basis. I can do pretty well with the Saleae Logic Analyzer again only up 12MBS... Works pretty well for the lower speed stuff.

    For now just trying to make it easier to tap into the signals. I had an USB extension cable that I took apart to the get the signals... But the wires finally broke inside the connector... Could probably fix. But may try to make a simpler connection, I am guessing with the Beagle, you simply plug the USB into your computer and plug the USB you wish to analyze directly into it, which would be nice and simple!
    Might be worth mentioning OpenVizsla, which is meant to do everything the Beagle480 does. It's software isn't nearly as developed as what you get from Total Phase.

    http://openvizsla.org/

    https://www.kickstarter.com/projects...ocol-analyzer/

    OpenVizsla was one of the earliest Kickstarter projects. Like so many others it went through quite a saga of problems. Eventually the project creator did get the hardware made and shipped, though a pretty much epic struggle without most of the original funding. He passed away a couple years later. He did release everything as open source and it's all still online. Whether anyone else will ever seriously continue its development is a good question.
    Last edited by PaulStoffregen; 05-28-2018 at 12:32 AM.

  5. #30
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    3,690
    Quote Originally Posted by PaulStoffregen View Post
    Might be worth mentioning OpenVizsla, which is meant to do everything the Beagle480 does. It's software isn't nearly as developed as what you get from Total Phase.

    http://openvizsla.org/

    https://www.kickstarter.com/projects...ocol-analyzer/

    OpenVizsla was one of the earliest Kickstarter projects. Like so many others it went through quite a saga of problems. Eventually the project creator did get the hardware made and shipped, though a pretty much epic struggle without most of the original funding. He passed away a couple years later. He did release everything as open source and it's all still online. Whether anyone else will ever seriously continue its development is a good question.
    Looks sort of interesting, but sounds like you would have to make your own boards for this... At least I did not see anyone selling them. For now will stick with Logic Analyzer stuff. Again can not do the 480 stuff only the slower stuff.

    Edit: Forgot to mention nice write up about debugging this. I read the stuff about split transactions, but did not see them... Again due to not being able to capture stuff at the higher speeds.

  6. #31
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    7,052
    Wondering how much of the Beagle480 could be emulated - at what speeds - with two T_3.6's HOST ports where they were tied together with 30 MHz SPI_MSTransfer for bi-directional passing of the IN<>OUT messages?

  7. #32
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,654
    Pretty sure the EHCI hardware isn't up to the task of implementing a USB sniffer. Even in device mode, it does far too much parsing. There isn't anything like ethernet promiscuous mode to simply capture all messages.

  8. #33
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    7,052
    Given the Beagle Core of the pro model that isn't surprising.

  9. #34
    I have to add a big cheer for the article Paul wrote capturing this whole experience and a whole lot about some nitty gritty details of USB data structures and protocols: https://www.pjrc.com/usb-hub-bug-hun...ssons-learned/

    I'm guessing Paul reported the issue with Beagle's software to them, and curious whether they've fixed it, and offered Paul free upgrades for life or something?

  10. #35
    Member
    Join Date
    Feb 2015
    Location
    Rians in Provence, France
    Posts
    46
    Dear Paul and all,
    I'm using a RA8876 video board from Techtoys with an TEENSY 3.2 or 3.6 shield which is running fine. Very nice board with direct HDMI high definition fast output.
    Transforms a Teensy to a smart HD Video display !
    But it lacks a USB Touch entry.
    I am planning to connect touchscreen standard USB port to the second USB Teensy 3.6 port.
    Would you have programming examples for recuperating the X Y coordinates of the touch ?
    Thanks for your help !
    Best regards,

    Pascal

Posting Permissions

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