Debug and Troubleshooting
This section provides methods for diagnosing and resolving Ethernet connection issues.
Debug Commands
You can use the following commands for debugging.
| Category | Command |
|---|---|
| Check Ethernet device information |
|
| Enable or disable an Ethernet device |
|
| Configure an Ethernet device |
|
| General test commands |
|
Troubleshoot Software Issues
The following list shows the general troubleshooting steps for software problems.
-
Verify whether the PHY mode is configured correctly.
-
Verify whether the clock settings are configured correctly.
-
Verify whether the GPIO settings are configured correctly, for example, IO MUX (multiplexing) functions, drive strength, and pull-up/pull-down settings, etc.
-
Verify whether the PHY reset settings are configured correctly.
- Use the following command to verify the status of sending and receiving data
packets on
"eth0".
cat /proc/net/dev
Troubleshoot Hardware Issues
The following list shows the general troubleshooting steps for hardware problems.
-
Verify whether the PHY power supply vcc-ephy is working properly.
-
Verify whether the clock waveform looks good.