You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: APIs_USB/USBCDC_ECM/README.md
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,11 @@
3
3
The example sends an Ethernet frame that carries "Hello world" payload with a custom EtherType to the host PC. You can capture the frame by using a program called "Wireshark":
4
4
5
5
1. Flash the board, and ensure the target's USB is plugged into the PC.
6
-
2. Open Wireshark.
7
-
3. Click **Capture > Options** to select the correct capture interface.
8
-
4. Click **Capture > Start**.
9
-
5. Click captured packet from source address 12:34:56:78:9a:bc to see the "Hello world" payload.
6
+
2. Use `dmesg -w` linux command to determine address of the USB CDC Ethernet device.
7
+
3. Use `ifconfig` linux command to determine interface related to the the USB CDC Ethernet device.
8
+
4. Open Wireshark.
9
+
5. Click **Capture > Options** to select the correct capture interface.
10
+
6. Click **Capture > Start**.
11
+
7. Click captured packet from source address 12:34:56:78:9a:bc to see the "Hello world" payload.
10
12
11
-
**Note:** Because Windows doesn't provide native support for the USB CDC-ECM model, you must use third party drivers to use this class on Windows.
13
+
**Note:** Because Windows doesn't provide native support for the USB CDC-ECM model, you must use third party drivers to use this class on Windows. It is suggested to run this example on Linux.
0 commit comments