10
Analyzing USB (lemmy.world)
submitted 1 week ago* (last edited 1 week ago) by za_warudo_steve_freiheit@lemmy.world to c/ece@lemmy.world

How do people use an oscilloscope to analyze USB packets and such? I saw a video by Ben Eater and the way he did it was by exposing the necessary wires of a USB cable and probing those. Is this standard or are there types out there that have this functionally built-in as some accessory or something?

Edit: logic analyzers are pretty interesting

top 13 comments
sorted by: hot top new old
[-] Shadow@lemmy.ca 6 points 1 week ago

FYI you can also just use wireshark

Wireshark can do USB protocol analysis?????

[-] SteveTech@aussie.zone 3 points 1 week ago

Depends on how low level you need. If you're just looking at the data being sent, then Wireshark will work fine; I've even used it to help reverse engineer a UPS. If you're investigating interference/timing/collisions/whatever then you'd need a scope or logic analyser.

[-] SteveTech@aussie.zone 1 points 1 week ago* (last edited 1 week ago)

Deleted - Replied to wrong comment.

[-] 1adam12@lemmy.ml 3 points 1 week ago

You would be looking for a scope with a logic analyzer function.

[-] one_old_coder@piefed.social 3 points 1 week ago
[-] za_warudo_steve_freiheit@lemmy.world 2 points 1 week ago* (last edited 1 week ago)

Checked the video again. He used a Keysight DSOX1204G Digital Storage Oscilloscope.

https://www.youtube.com/watch?v=wdgULBpRoXk

[-] emptiness@lemmy.blahaj.zone 2 points 1 week ago

I have the same scope, but it doesn’t have USB decode. I watched the video and he’s initially doing the decoding very manually. Fun, but not something you’re going to want to do when someone’s paying for your time.

He later switches to a Keysight DSO-X 4024A. It costs a fair bit more. :)

Been doing some digging now knowing about logic analyzers and I found that RIGOL has some oscilloscopes with digital channels that are within my budget range (needs the RPL1116 probe to function). Though they're bandwidth is 100MHz for the one's I could find that are under 500-1,000$. Would this be enough at least for USB 2.0?

[-] emptiness@lemmy.blahaj.zone 1 points 1 week ago

Does it have built-in USB decoding? If not then it’s not very practical tbh, but it could do low speed and full speed, with manual decoding. Not high speed.

OpenVizsla can do high speed: https://shop.sysmocom.de/USB-Tracing/

What are you after though? A scope is more fun. :)

[-] za_warudo_steve_freiheit@lemmy.world 1 points 1 week ago* (last edited 1 week ago)

I'm trying to learn electrical circuit design and programming and want/need an oscilloscope for obvious reasons (I already have most of the basic stuff such as a soldering station and a multimeter). I know I want to work with various ICs, FPGAs, and of course stuff like USB to plug stuff. Though budget isn't that extravagant, I should have decent wiggle room (I suppose totals of below or around 700$ is fairly manageable at the moment).

[-] emptiness@lemmy.blahaj.zone 1 points 1 week ago

That sounds like an expensive oscilloscope.

I use an OpenVizsla.

The one Ben Eater was using was a Keysight 200MHz, I think with 2GS/s sampling.

this post was submitted on 06 Sep 2026
10 points (91.7% liked)

Electrical and Computer Engineering

3076 readers
2 users here now

Electrical and computer engineering (ECE) community, for professionals and learners. Discuss ECE related topics here, for instance digital design, signal processing, circuit analysis, electromagnetics, microelectronics, power electronics, RF electronics, etc.

founded 3 years ago
MODERATORS