28
ICC
Buffer Overflow". Additionally, the sniffer is able to detect receive errors
on the serial port such as parity, overrun, and framing errors. If a
receive error occurs on one or more characters of a packet, the sniffer
will output the characters “ERR: Receive Error”.
Note that because the serial sniffer mode captures packets at the
protocol driver level, a protocol must be configured on the selected
serial port to provide data to the USB virtual COM port. For
convenience, there is a special “USB Serial Sniffer Settings” protocol
selection to configure the serial port for sniffing only.
Serial Port
Select the desired serial port to use with the USB virtual COM port.
Sniffer Output Format
Select the desired output format of the serial sniffer data. The formatted data
option outputs the captured data as ASCII text characters and includes
annotations for whether the packet was received or transmitted, as well as a
relative timestamp of when the packet was received or transmitted. The raw data
option outputs the captured data as unmodified, binary characters.
8.2.3
USB Serial Capture Window
The USB Serial Capture Window allows connection to a device's USB Virtual
COM port to view and save network packets captured by the device. The
device's USB Virtual COM port must be configured for Serial Sniffer mode and
the Sniffer Output Format must be set to Formatted Data.
When connected, the capture window will display the device’s most recent
received and transmitted packets. All packets captured during the duration of the
session may be saved once the session has ended, even though they all may not
be displayed in the window. The status bar at the bottom of the window tracks
the duration of the connection as well as the total number of packets the device
has received and transmitted.
To open the USB Serial Capture Window, select
USB Serial Capture Window…
from the
Tools
menu.
Capturing Packets
To begin capturing packets, the device must first be configured with the
appropriate USB Virtual COM port settings as described above. Once configured,
the device will appear in the
COM Port
selection box. Select the desired device
from this drop down and connect to the device. To connect to the device, perform
one of the following actions:
•
Select
Connect
from the
Connection
menu.
•
Click on the
Connect
button in the toolbar.
Note that connecting to a device will clear the capture log automatically.