USB on STM32F3DISCOVERY
Moderator: RoccoMarco
- DeusExMachina
- Posts: 223
- Joined: Tue Apr 03, 2012 5:08 am
- Has thanked: 3 times
- Been thanked: 3 times
Re: USB on STM32F3DISCOVERY
How about using Wireshark? It has an USB plugin and it works pretty well
Re: USB on STM32F3DISCOVERY
avrhack wrote:Try cat /sys/kernel/debug/usb/usbmon/0u and it will show you all the USB packets so you can figure out exactly which transaction is causing the problem. Would suggest you post the final few lines of that output here.
If that file doesn't exist check if you have a debugfs mounted. If not use mount -t debugfs none_debugs /sys/kernel/debug
Then you will also need to use modprobe usbmon to enable USB debug output
Thanks for the advice. Will that show me more information than tcpdump will?
Unfortunately I didn't have enough time last night to work on this, but I should have some time later this week to try everyone's suggestions.
Re: USB on STM32F3DISCOVERY
DeusExMachina wrote:How about using Wireshark? It has an USB plugin and it works pretty well
Yep agreed. Use the -D option on the usbmon device if you prefer the format / output that wireshark presents.
Same source and same data though so no real difference.