Comments (4)
Does this happen every capture, or do you get some that work?
Do you use the most recent firmware? There was update in the most version where I wait for SE0 after the capture start. This would find the end of the packet if the capture was started in the middle.
Generally there is no way to analyze the data as it gets captured, there is not enough time for that. The only way to do this is to capture the buffer, then process it. This assumes the capture started at the beginning of the packet.
How do you use the trigger? The best way is to connect it to the device under test and in the firmware detect the condition when the traffic is about to start and set the trigger there. This way you will be starting before there is a lot of traffic. Manual triggering is essentially equivalent to the manual start without a trigger.
from usb-sniffer-lite.
I was not able to get a single sync with bus heavily loaded with Bulk IN data packets (CDC ACM, 6~18 bytes in size).
Used compiled binary linked in readme: https://github.com/ataradov/usb-sniffer-lite/blob/main/bin/UsbSnifferLite.uf2
Trigger was just a simple button. There is no simple way of triggering just before bus gets loaded.
from usb-sniffer-lite.
Was it the most recent version of the file? It was updated multiple times and only the latest version contains sync improvements.
This behavior with the latest version is unexpected. I would debug it a bit. Capture D+/D- and GPIO18 (trigger) and GPIO12 (start). Trigger the scope on the GPIO12. You should see your trigger condition some time before the start. If trigger falls in the middle of the packet, then the start should follow right after the packet.
Otherwise the next option is to build the full version of the sniffer. PR2040 is powerful, but there are still limits and it can't constantly monitor the bus.
from usb-sniffer-lite.
Hi Diggit,
did you use two completely separate busses? Even better use two PCs. One for the USB under test and the other to control the sniffer.
I developed USB devices since 1996. It often makes a difference to use two PCs, even with professional Analyzers.
Dieter :-)
from usb-sniffer-lite.
Related Issues (13)
- Does not function yet HOT 14
- development environment HOT 3
- BIN2UF2 PROBLEM HOT 2
- A QUESTION ABOUT C CODE HOT 1
- Error issue HOT 1
- HOW is boot crc converted from 0xcccccccc to something the boot ROM accepts? HOT 2
- Linker error HOT 7
- When I connect both the D+ and D- wires to the board, the connection between the testing Cool Disk with the computer is lost! HOT 9
- Nice, it would be interesting to add other protocols - Alternative for the Saleae Logic Analyzer HOT 1
- Pokken Tournament DX Controller Spewing Errors HOT 2
- Here is an udev rule HOT 1
- UART problem HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usb-sniffer-lite.