“MYZR-SAMA5 Linux-3.18 测试手册”的版本间的差异
第367行: | 第367行: | ||
<span style="background:#CCCCCC">test result</span><br> | <span style="background:#CCCCCC">test result</span><br> | ||
如果SPI正常,在终端上会看到如下字符:<br> | 如果SPI正常,在终端上会看到如下字符:<br> | ||
− | <span style="background:#CCCCCC"></span><br> | + | <span style="background:#CCCCCC">if SPI is normal,you can see on terminal the following charaters:</span><br> |
− | + | FF FF FF FF FF FF <br> | |
40 00 00 00 00 95 <br> | 40 00 00 00 00 95 <br> | ||
FF FF FF FF FF FF <br> | FF FF FF FF FF FF <br> |
2017年6月26日 (一) 15:23的版本
目录
- 1 = 测试前的准备(preparation before test) =
- 2 = 测试项目(test item) =
- 3 网口测试(lan port test)
- 4 2packets transmitted, 2 packets received, 0% packet loss
- 5 USB测试(USB test)
- 6 SD卡接口测试(SD card interface test)
- 7 LED(GPIO)测试(LED(GPIO)test)
- 8 串口测试(serial port test)
- 9 RTC测试(RTC test)
- 10 SPI测试 (SPI test)
- 11 CAN接口测试 (CAN infterface test)
- 12 WIFI测试(WIFI test)
= 测试前的准备(preparation before test) =
1)请按照《Linux快速启动手册》中的“Linux快速启动” -> “连接设备”进行连接。<br>
please refer to "connection of device"->"Linux fast boot" in 《Linux fast boot manual》 for the connection。
2)请按照《Linux快速启动手册》中的“Linux快速启动” -> “启动设备”进行启动。
please refer to "booting device" ->"Linux fast boot" in 《Linux fast boot manual》 for the booting。
= 测试项目(test item) =
网口测试(lan port test)
MY-SAMA5-EK200支持双网口(1个百兆网口,一个千兆网口)。
MY-SAMA5-EK200 support dual lan port(one Mbps ethernet lan port,one Gbps ethernet lan port)
测试说明(test instruction)
- 第1个以太网口位置底板正面“J3”,第2个以太网口位置底板正面“J2”。
MY-SAMA5-EK200 support dual lan port(one Mbps ethernet lan port,one Gbps ethernet lan port)
测试方法(test method)
1) 测试第1个以太网口(百兆网口)
test the first ethernet lan port(Mbps ethernet lan port)
- 连接网线:用网络连接评估板“J3”与计算机网口
connect lan line:connect “J3”on evaluation board with computer lan port through network
- 设置计算机IP:设置计算机网口IP为192.168.18.18
set computer IP:set computer lan port IP as 192.168.18.18
- 设置评估板IP:
set IP of evaluation board
# ifconfig eth0 192.168.18.81 # configure the eth0
# ifconfig eth1 down
- 执行测试命令:
execute test command
# ping 192.168.18.18 -c 2 -w 4 # send ICMP to HOST
- 观察测试结果:系统会输出类似如下信息:
observe test result:system will output information like below:
--- 192.168.18.18 ping statistics ---
2packets transmitted, 2 packets received, 0% packet loss
- 测试结果:“0% packet loss”表示测试通过
test result:“0% packet loss”represent test passing - 附图
figure
2) 测试第2个以太网口(千兆网口)
test the second ethernet lan port - 连接网线:拔下第1个网口的网线接口插入到评估板“J2”,网线另一端保持与计算机网口相连。
connect lan line:take out lan line from the first lan port then plug in “J2”on evaluation board,another end of lan line is kept in connection with lan port of computer - 设置计算机IP:设置计算机网口IP为192.168.18.18(如已经设置过可执行下一步骤)。
set computer IP:set computer lan port IP as 192.168.18.18(if the setting was already done then go direclty into next step) - 设置第2个网口IP:
set the second lan port IP:
# ifconfig eth1 192.168.18.82 # configure the eth1
# ifconfig eth0 down
设置后系统会输出第2个网口的工作状态信息,类似如下:
after the setting system will output working condition of the second lan port, as below
macb f0028000.ethernet eth1: link up (1000/Full) - 执行测试命令:
run test command
# ping 192.168.18.18 -c 2 -w 4 # send ICMP to HOST - 观察测试结果:系统会输出类似如下信息:
observe test result:system will output the following message:
--- 192.168.18.18 ping statistics ---
2packets transmitted, 2 packets received, 0% packet loss
USB测试(USB test)
测试说明(test instruction)
MY-IMX6-EK200有2个USB HOST接口,位于底板正面“J8”。
MY-IMX6-EK200 has two USB HOST ports,in“J8”in top view of base board
测试方法(test method)
1) 开始测试
start test
将USB设备插入底板USB接口,系统会输出类似如下信息:
plug USB device in USB port in base board,system will output the following message:
usb -.*: new high-speed USB device number * using atmel-ehci
……
2) 测试结束
complete test
将USB设备从底板拔出,系统会输出类似如下信息:
take out USB device from the base board,system will output the following message:
usb -.*: USB disconnect, device number *
附图(figures)
说明:在USB口上插拔U盘时,系统输出信息类似如下:
instruction:insert U disk in USB port, system will output information like below:
SD卡接口测试(SD card interface test)
测试说明(test instruction )
SD卡接口位于底板背面“J29”。
SD card interface is in“J29”in bottom view of base board。
开始测试(start test)
1) 往SD卡槽插入设备
insert device in SD card slot
插入SD卡到底板SD卡接口。系统输出以下信息(见附图)即表示SD接口正常:
insert SD card in SD card port in base board, system will output following message(see attached image),e.g.SD port is normal:
mmc*: new high speed SD card at address ****
……
2)从SD卡槽弹出设备
pop-up device from SD card slot
再次住SD卡槽按下SD卡,底板会弹出SD卡。系统输出以下信息(见附图)表示SD卡接口弹出正常:
press again SD card in SD card slot,base board will pop-up SD card。system will output following message(see attached image),e.g.function of SD card port pop-up is normal:
mmc*: card **** removed
3) 结束测试
complete test
SD卡弹出后拨出SD卡即结束测试。
take out SD card after SD card pop-up,to end the test。
附图(figures)
LED(GPIO)测试(LED(GPIO)test)
LED(GPIO)定义(LED(GPIO)definition)
在MY-SAMA5-EK200底板正面有4个LED,详细如下:
there are 4 LEDs on the base board of MY-SAMA5-EK200,details as below: