Spying on a USB connection in Windows?

I have an Arduino application that talks via USB to an application in Windows 8 using the MAVLINK protocol. The connection is displayed as COM3.

Is there a Windows application that can track this connection and display traffic in both directions? The raw bytes are fine, I don't need a decoded protocol.

+4
source share
3 answers

If you can use Windows XP in your environment, USB sniff should work for you. If you need something more powerful (and willing to pay a fee for it), then USBLyzer can be a viable option.

+4
source

You can log serial port activity using Portmon . (Editing: You need to first connect to the local computer through the Computer menu, and you must start capturing in the port before the program opens it.)

You may not want to register USB traffic. Such a log will contain a lot of additional information related to the USB port of the serial adapter that COM3 provides. Portmon will only provide you bytes transmitted through COM3, and the Mavlink protocol is completely contained in this data stream. If you are sure that you want to register all USB traffic to and from this device, I recommend SnoopyPro . On Windows 7, you need to run it as an administrator.

+6
source

Answer: SnoopyPro, and you can download it at:

SnoopyPro Sourceforge

This tool allows you to get USB information and USB connection data. I used it in the past to find out how a USB device works in order to make my driver in Linux. I used this tool as a sniffer.

Basically, SnoopyPro allows you to intercept, display, record and analyze the USB protocol and all transferred data between any USB device connected to your PC and applications. It can be used successfully in application development, USB device drivers or hardware development and offers a powerful platform for efficient coding, testing and optimization.

0
source

All Articles