Daily's work of making embedded solutions (don't say IOT), is fiddling around with Ethernet interfacing.
Usually, you put a PHY chip or even a low-port count switch onto the board and connect this using RMII or RGMII to the microcontroller or FPGA. Then you usually do some low level interfacing and pass this to a higher level system like lwIP to build up the TCP/IP stack.
The typical tool for testing and debugging this is using Wireshark with your prototype connected to an Ethernet port of your PC.
But, did you know that before being shown on Wireshark, the data frame has to pass your PC's operating system first? And what if the packet is malformed or incomplete? Will be dropped. And how do you distinguish between your packets and those sent by the PC itself? You can't. What about the required gap between two frames?
Even more things to consider is when you do your own MAC on the FPGA. I did this. Several times and I know this can be a nightmare.
This is the motivation behind the Intona Ethernet Debugger.
A small device with two Gigabit Ethernet ports that acts like a cable, passes all data vice and versa. At the same time, it also passes all data to the USB 3.0 port right up to Wireshark on your PC (Linux, Mac, Windows). Shows really everything, including non-Ethernet frames (even the corrupt ones), time stamps, preambles, interpacket gaps and so on.
You can even make it actively disturb your data, being able to see how your system acts if data gets corrupted on the cable.
Observe CRC errors and interpacket gaps in Wireshark
-
- Posts: 113
- Joined: May 6th, 2020, 8:29 am
Observe CRC errors and interpacket gaps in Wireshark
Daniel (Intona)
-
- Posts: 113
- Joined: May 6th, 2020, 8:29 am
Re: Observe CRC errors and interpacket gaps in Wireshark
Here it is.
Available now on request.
Available now on request.
Daniel (Intona)
-
- Posts: 113
- Joined: May 6th, 2020, 8:29 am
Re: Observe CRC errors and interpacket gaps in Wireshark
Preliminary user guide now available: [External Link Removed for Guests]
Daniel (Intona)
-
- Posts: 113
- Joined: May 6th, 2020, 8:29 am
Re: Observe CRC errors and interpacket gaps in Wireshark
Available now: [External Link Removed for Guests]
Daniel (Intona)
-
- Posts: 113
- Joined: May 6th, 2020, 8:29 am
Re: Observe CRC errors and interpacket gaps in Wireshark
Example Wireshark session. Now you observe packet direction, SFD, FCS, ...
Because the Ethernet Debugger is connected directly to Wireshark via USB, really every frame is going to be listed.
This is a huge improvement comparing to traditional wire tap products which go through the hole network stack of the underlying operating system.
Because the Ethernet Debugger is connected directly to Wireshark via USB, really every frame is going to be listed.
This is a huge improvement comparing to traditional wire tap products which go through the hole network stack of the underlying operating system.
Daniel (Intona)