Note: I have not done any USB work in several months now. Off playing with other things.
Currently some displays, with Parallel inputs instead of SPI…
But as I have mentioned in some other threads, like:
Earlier when I was trying to decode USB data, to help figure out how to add support for them, in our USB Hosting code (for Teensy 3.6 and 4.x), I found the export data I would collect was huge, like maybe 100K lines of output (or more), often times the actual data I wanted could be reduced to something like 50 lines. And at that time I saved the file out, used linux grep, plus regular expression editing and the like to get it down to something manageable.
So I hacked up a version of the USB LS/FS analyzer and converted it to output Version 2 data. And then created an HLA to decode it. It is not perfect, But most of the time it worked sufficiently for what I needed. It was mostly setup to handle packet mode. I was at one point trying to add support for the interface level. Some of that is there some not…
But data like:
1.39360519 | SETUP | 0x0 | 0x0 | ACK | [GET_DESCRIPTOR - DEVICE #:0 I:0x0 L:0x8] | 0x80 0x6 0x0 0x1 0x0 0x0 0x8 0x0 |
---|---|---|---|---|---|---|
1.393620256 | IN | 0x0 | 0x0 | ACK | 0x12 0x1 0x10 0x1 0x9 0x0 0x0 0x8 | |
1.394682918 | SETUP | 0x0 | 0x0 | ACK | SET_ADDRESS I:0x0 L:0x0] | 0x0 0x5 0x1 0x0 0x0 0x0 0x0 0x0 |
1.395682942 | SETUP | 0x0 | 0x1 | ACK | [GET_DESCRIPTOR - DEVICE #:0 I:0x0 L:0x12] | 0x80 0x6 0x0 0x1 0x0 0x0 0x12 0x0 |
Was a lot easier for me to go through.
Good luck