Patrefans
beneater from patreon
beneater patreon

How does USB device discovery work?

🕑 Added 2021-06-30 22:32:53 +0000 UTC
How does USB device discovery work?

Comments

Stefan Wolfrum

As a gift? Wow! Lucky you! There is, however, a huge educational discount promotion running currently for the RTB2002 and 2004. It includes many options (K1, K2, K3, K15, K36 and B6), see https://www.batronix.com/shop/oscilloscopes/Rohde-Schwarz-RTB2002EDU.html for example. I‘m tempted … but if USB decoding won’t work … or is it included with UART/RS232 decoding?

Tyler Arbogast

I very recently received an RTB2004 as a gift. The segmented memory is an additional option that does not come on the base model (RTB-K15). I don't recall USB decoding being an option, I think it's SPI, I2C, UAR/RS232, CAN, and LIN - all of which are separate options (RTB-K1 thru K3), unless you get a package. So far it seems like a great scope, but they do seem to nickel and dime you with the features.

Stefan Wolfrum

Awesome video!! These are exactly the things I wanna learn. While watching this I was wondering if „my dream oscilloscope“, the Rohde & Schwarz RTB2K, is capable of all this woodoo, too?! Does anyone know by any chance? Especially the segmented capturing and USB decoding should work, hopefully. I haven’t bought it yet, it’s quite an invest. But I’m very much looking into it.

rhc

The usefulness of segmented capture is elided. I assume it's because each segment is a short length, so you're not sampling the empty gaps where nothing happens, and therefore the scope can save its sampling memory for times when signals are transmitted? It might be worth stating this as the trade off between resolution and total sample time will not be obvious to people who don't use oscilloscopes.

Don Costello

You said "Zero'th" (9:45)....that term always makes my brainstem snap. Zero is the "INDEX"; therefore, index 0 is always the FIRST element.

David Dawkins

Well, I think I got lost there in a sea of data sheets, and lost the plot a bit. You probably could skip quite a bit before you write it to USB and then re-analyse in the spreadsheet. I’m not really complaining, if it weren’t for your videos, I’d never have appreciated the value of data sheets, and I’m loving this series as a whole. Thanks for all the hard work.

I guess you already knew this, but since the physical layer is not important anymore in the series, you could use wireshark to analyse the traffic. Seems easier then exporting the csv from the oscilloscope.

I never thought learning about a technical specifications, especially something so convoluted as USB and HID could be interesting, but once again i'm proven wrong. The video was very interesting and I can't wait to see how the full key rollover is implemented!

Jakob Dannesboe

You are the best.! Love your videoes. Thank you

Brian Gregorka

This is great, perhaps you can show some of these descriptors showing up in device manager on a windows box and make that connection for people

Michael McDonnell

I don't know what i will do with this knowledge, but i am glad i have it. This whole channel has given me a much deeper understanding of how computers and digital logic work.

Martin Noble

my understanding is endpoint 0 is always used for setup and "control" related comms, then depending on the device it could have 1 or more other endpoints for normal comms, where this keyboard just has 1 which is uses to report the key presses

Martin Noble

spotted one "mispoken" word around 7:57 where the document on screen reads "Default Control Pipe", but say "Default Control Path"

Martin Noble

another great detailed video. really interesting to see just how much back and forth is happening in those first ms after plugging in to enable the devices to talk.

Maybe I missed it, was it discussed what an end-point is? It seemed like the keyboard was talking about end-point 0, then later in the exchange switches to talking about end-point 1, why does it do this?

Jay

I never realized how much happens before my keyboard (or any other device) starts working after I plugged it in. Fascinating video, thanks for making it.


More Creators