当前位置:网站首页>1. Mx6ul core module serial Ethernet test (VII)
1. Mx6ul core module serial Ethernet test (VII)
2022-07-26 02:01:00 【szembed】
The following is already in Iot-6ULX/EVB-6ULX The verification on the platform passed ,Iot-6ULX/EVB-6ULX Introduce the following :

The development board is equipped with 2 road 10/100Mbps Ethernet interface CN7 and CN13.
- On board IoT-6ULx Core board module , Only interfaces CN7 It works , The corresponding device number in the software is eth0.
- On board CoM-T6UL Core module , Interface CN7 and CN13 Are effective , In software CN13 The corresponding equipment number is eth0,CN7 The corresponding equipment number is eth1.
The test method of Ethernet is the same , The following network tests are on-board IoT-6ULx As an example of network testing . When you get the onboard CoM-T6UL When testing the development board of , The test method is the same .
Be careful : Network interface CN13 On board only CoM-T6UL Core module is valid .
6.1 Network connectivity test
Use ifconfig Command to display or configure the network .
[email protected] ~# ifconfig // View network information

View network information
You can see from the terminal information , On board IoT-6ULx Core board module , Configured on the software 1 Road network eth0.
In the supporting software , Default on dhcp Daemon , After connecting the network cable, it will automatically obtain IP. stay CN7 Interface connection network cable :

Network status information
You can see from the terminal information , eth0 It's connected . Input instruction , Check whether the network has obtained IP.
[email protected] ~# ifconfig // View network information

Automatic network access IP
You can see from the terminal information ,eth0 Has been able to automatically obtain IP 了 . The next step is through ping Command to test the connectivity of the network . Can pass ping Of the host connected to the development board IP, In this test , Our mainframe IP by 192.168.0.11. During the test, the user will IP Replace it with your own host IP that will do .
Execute the following instructions , In the instruction “-I” Represents the specified network port , No addition “-I” Use the default network card ( The default network card refers to the end with network access , If both ports have network access , Then use eth0 As the default network card ). Press “Ctrl+c” End ping Instructions .
[email protected] ~# ping 192.168.0.11 -I eth0 // use eth0 ping host 192.168.0.11

eth1 Connectivity testing
ping After the test , View terminal information , There is no packet loss , It shows that the network connectivity is good .
6.2 TCP/UDP Bandwidth test
Next, perform bandwidth test , Bandwidth test should use iperf3 Tools .iperf Is a network performance testing tool .iperf Can test the biggest TCP and UDP Bandwidth performance , It has many parameters and UDP characteristic , It can be adjusted as needed , Can report bandwidth 、 Delay jitter and packet loss .
First , Download on the host side iperf3 Tools . Download the website from the official website iPerf - Download iPerf3 and original iPerf pre-compiled binaries Download the version matching the computer system . If the computer already has iperf3 Tools , You can use .
Extract the downloaded file , Enter into iperf3.exe Under the directory , Hold down Shift key , Then right click , choice “ Open here Powershell window ” Options , Open the command line window . As shown in the figure below :

PC End open Powershell

Powershell Window interface
On the host side Powershell The window executes the following instructions , open iperf3 Tools :
PS E:\iperf-3.1.3-win64> .\iperf3 -s

open iperf3 Tools
here , The host side acts as a server , Development board as client , You can test the network bandwidth .
Start iperf3 Before testing , To avoid interference , Turn off irrelevant network devices first , Keep only the equipment to be tested . Now let's use eth0 Test bandwidth , Only connected CN7, This operation is unnecessary . If other networks have been loaded in the system , You can shut down the network according to the following instructions :
[email protected] ~# ifconfig eth0 down // close eth0,down Means closing
[email protected] ~# ifconfig eth1 down // close eth1,down Means closing
[email protected] ~# ifconfig wlan0 down // close wifi The signal wlan0
After shutting down the irrelevant network , Execute the following instructions , test TCP bandwidth , This test host IP by 192.168.0.11:
[email protected] ~# iperf3 -c 192.168.0.11 -t 10 -4 // test TCP bandwidth , Duration 10s,IPv4 standard
During the test , HyperTerminal and Powershell The window will print relevant information , As shown in the figure below :

test TCP Bandwidth terminal display

test TCP bandwidth Powershell Show
TCP The default is to test with the maximum bandwidth , In the test, the network connected to the development board is 100m .
Execute the following instructions , test UDP bandwidth , This test host IP by 192.168.0.11:
[email protected] ~# iperf3 -c 192.168.0.11 -u -t 10 -4 // test UDP bandwidth , Duration 10s,IPv4 standard
During the test , HyperTerminal and Powershell The window will print relevant information , As shown in the figure below :

test UDP Bandwidth terminal display

test UDP bandwidth Powershell Show
UDP Default bandwidth 1Mbit/sec, The closer the test value is to the theoretical value, the better the test result .
边栏推荐
- Summary after reading "poor dad and rich dad"
- 【深入浅出玩转FPGA学习11----Testbench书写技巧1】
- What is a test case? How to design?
- Make and makefile summary II
- Arm assembly foundation of SOC
- Worthington nuclease and Micrococcus related research and determination scheme
- [C language brush leetcode] 443. Compressed string (m)
- Video game quiz? I think it's useless. It's better to do these well!
- Navica工具把远程MySQL导入到本地MySQL数据库
- [C language brush leetcode] 1604. Warn people who use the same employee card more than or equal to three times within an hour (m)
猜你喜欢

What is a test case? How to design?

D. Rating compression (thinking + double pointer)

MySQL transaction isolation level

# Dest0g3 520迎新赛(更新中)

Implementation of recommendation system collaborative filtering in spark

Ti AM335X工控模块矩阵键盘电路的设计与驱动移植

I.MX6UL核心模块使用连载-触摸屏校准 (九)

I.MX6UL核心模块使用连载-以太网测试 (七)

Characteristics and determination of neuraminidase from Clostridium perfringens in Worthington

Worthington产气荚膜梭菌神经氨酸酶的特征及测定
随机推荐
6 + 1 skills of Software Test Engineer
AttributeError: ‘Document‘ object has no attribute ‘pageCount‘
The import and Export button of Damon database table is gray, and the DMP file cannot be imported
Worthington木瓜蛋白酶丨从纯化的蛋白聚糖生产糖肽(附文献)
[paper reading] coat: CO scale conv attentional image transformers
Mark and lightbulbs (thinking)
I.MX6UL核心模块使用连载-USB接口测试 (六)
PHP Alipay transfer to Alipay account
dataframe 修改某行某列位置的值
What is a test case? How to design?
Dest0g3 520 orientation (under update)
【深入浅出玩转FPGA学习11----Testbench书写技巧1】
DialogRPT-Dialog Ranking Pretrained Transformers
Republishing foundation and configuration
How to display numbers / English time in Excel
Common shell operations in Phoenix
Zhinai buys melons (DP backpack)
C# 迭代器的实现
AttributeError: ‘Document‘ object has no attribute ‘pageCount‘
还在用==0 null equal 判断空值吗,对isEmpty 和 isBlank有多少了解呢