查看“MY-IMX6-EK140P L4115 测试手册”的源代码
←
MY-IMX6-EK140P L4115 测试手册
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
<div> == '''网口测试( test of network interface)''' == 接口属性(interface property) <br> {| class="wikitable" |评估板型号 (evaluation board model) |CPU接口 (CPU interface) |系统接口 (system interface) |接口丝印 (interface silk screen) |- |MY-IMX6-EK140 |ENET1 |eth0 |P10 |- |MY-IMX6-EK140 |ENET1 |eth1 |P8 |} 测试方法(test method)<br> 1) 配置计算机IP<br> configure computer IP<br> 设置计算机有线网卡IP为192.168.18.18<br> set IP of cable network interface card for computer as 192.168.18.18<br> <br> [[文件:MY-IMX6-ek140p L41115 1.1 .jpg|520px]]<br> 2) Eth0连接测试<br> Eth0 test for Wth0 connection<br> 连接网线:将评估板“eth0”对应的接口与计算机有线网卡的接口用网线相连接<br> lan line connection:connect interface corresponding to “eth0”on evaluation board with interface of cable network interface card on computer through lan line<br> 设置评估板IP:<br> set IP for evaluation board<br> # ifconfig eth0 192.168.18.36 # configure the eth0<br> 执行测试命令:<br> execute test command<br> # ping 192.168.18.18 -c 2 -w 4 # send ICMP to HOST<br> 观察测试结果:系统会输出类似如下信息:<br> view test result,you can see information outputed by system like below<br> --- 192.168.18.18 ping statistics ---<br> 2packets transmitted, 2 packets received, 0% packet loss<br> 测试结果:“0% packet loss”表示测试通过<br> test reuslt:“0% packet loss” represent passing of test<br> <br> 附图<br> figures<br> [[文件:MY-IMX6-ek140p L41115_1.2.jpg|642px]] <br> <br> 3)eth1测试同eth0<br> == '''USB测试(USB test)''' == 接口属性(interface property) <br> {| class="wikitable" |评估板型号 (evaluation board model) |CPU接口 (CPU interface) |系统接口 (system interface) |接口丝印 (interface silk screen) |- |rowspan=2|MY-IMX6-EK140 |USB_OTG1 |USB OTG |P18 |- |USB_OTG2 |USB HOST |P20 |} USB OTG测试(USB OTG test)<br> 1) 将MicroUSB转USB的转接线连接到USB1,系统会输出类似如下信息:<br> connect to USB1 with USB switch wiring from MicroUSB,system will output information like below.<br> ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 2<br> ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00<br> 2) 连接USB设备。即:将U盘插入转接线上的USB口,系统会输出类似如下信息:<br> connect USB device,e.g insert U disk to USD port on the switch wiring,system will output information like below.<br> usb 2-1: new high-speed USB device number 12 using ci_hdrc<br> usb-storage 2-1:1.0: USB Mass Storage device detected<br> 3) 拔出USB设备,系统会输出类似如下信息:<br> take out USB device,system will output information like below.<br> usb 2-1: USB disconnect, device number 12<br> 4) 拔下USB转接线,系统会输出类似如下信息:<br> take out USB switch wiring,system will output information like below.<br> ci_hdrc ci_hdrc.0: remove, state 4<br> usb usb2: USB disconnect, device number 1<br> ci_hdrc ci_hdrc.0: USB bus 2 deregistered<br> <br> USB HOST测试(USB HOST test)<br> MY-IMX6-EK140 的USB HOST是插座形式,如要测试HOST功能,需要把自备USB头,并且将插座上的USB HOST信号线连接到USB头,此操作请找自己的硬件工程师请求支持。<br> MY-IMX6-EK140 USB HOST is socket type,if need to test the function of HOST,need to connect signal line of USB HOST to the USB head self-prepared,?the operation need an assistance from hardware engineer.<br> 另外,请硬件工程师知晓,由于CPU的USB_VBUS供电能力不足,需要将“5V_core”与USB_VBUS相连。<br> Moreover,please let engineer know that power supply capability of CPU的USB_VBUS is not enough,so need to connect“5V_core”with USB_VBUS<br> <br> 附图(figure)<br> <br> [[文件:MY-IMX6-ek140p L41115_2.1.jpg|642px]] <br> <br> <br> [[文件:MY-IMX6-ek140p L41115_2.2.jpg|642px]] <br> <br> <br> [[文件:MY-IMX6-ek140p L41115_2.3.jpg|642px]] <br> <br> <br> [[文件:MY-IMX6-ek140p L41115_2.4.jpg|642px]] == '''SD卡测试(SD card test)''' == 接口属性(interface property) <br> {| class="wikitable" |评估板型号 (evaluation board model) |CPU接口 (CPU interface) |系统设备 (system device) |接口丝印 (interface silk screen) |- |MY-IMX6-EK140 |SD1 |mmc0 |U15 |} 测试说明(test instruction)<br> MY-IMX6-EK140的TF卡接口不支持热插拔。<br> MY-IMX6-EK140的TF card interface doesn't support hot plug<br> <br> 测试方法(test method)<br> 1)为MY-IMX6-EK140断电。<br> power off MY-IMX6-EK140<br> 2)将TF卡安装好板子的TF卡座上,并确认安装好。<br> install TF card in TF card holder,and confirm the installation ok<br> 3)为MY-IMX6-EK140上电,待系统启动完成后进入系统。<br> power on MY-IMX6-EK140,enter the system after booting is finished<br> 5)检查TF卡:<br> check TF card<br> # dmesg | grep "mmc0"<br> TF卡正常则可以看到类似如下信息:<br> if IF card is normal, then you can see information like below.<br> mmc0: host does not support reading read-only switch. assuming write-enable.<br> mmc0: new high speed SD card at address 0002<br> <br> 附图(figure)<br> <br> [[文件:MY-IMX6-ek140p L41115_3.1.jpg|642px]] == '''标准GPIO测试(standard GPIO test)''' == 接口属性(interface property) <br> {| class="wikitable" |评估板型号 (evaluation board model) |CPU接口 (CPU interface) | 系统设备 (system device) |信号名称 (name of signal) |接口位置 (interface position) |- |rowspan=2|MY-IMX6-EK140 |SNVS_TAMPER4 |gpio132 |SNVS_TAMPER4 |P21:17 |- |SNVS_TAMPER8 |gpio136 |SNVS_TAMPER8 |P21:15 |} 测试说明(test instruction)<br> 标准GPIO的测试以GPIO132为例,其它GPIO测试可参照GPIO132的测试方法。<br> take GPIO132 as an example of standard GPIO test,other GPIO tests refer to the test method of GPIO132<br> <br> 测试方法(test method)<br> 1)设置需要测试的GPIO的IO序号<br> set IO order number of GPIO which need to be tested<br> # OUT_IO_NUMBER=132<br> 2)导出GPIO<br> lead out GPIO<br> # echo ${OUT_IO_NUMBER} > /sys/class/gpio/export<br> 3)设置GPIO方向<br> set direction for GPIO<br> # echo "out" > /sys/class/gpio/gpio${OUT_IO_NUMBER}/direction<br> 4)控制输出电平<br> control output electrical level<br> # echo 0 > /sys/class/gpio/gpio${OUT_IO_NUMBER}/value<br> 执行命令后即可用万用表检测到对应的引脚为低电平。<br> leads detected by multimeter accordingly will be low electrical level after execution of command<br> # echo 1 > /sys/class/gpio/gpio${OUT_IO_NUMBER}/value<br> 执行命令后即可用万用表检测到对应的引脚为高电平。<br> leads detected by multimeter accordingly will be high electrical level after execution of command<br> == '''串口测试''' == 1.测试说明<br> 采用串口自发自收测试。<br> 串口属性:<br> {| class="wikitable" |评估板型号 |UARTx |TX |RX |系统接口 |- |rowspan=2|MY-IMX6-EK140P |UART3 |P21:26 |P21:25 |ttymxc2 |- |UART2 |P21:28 |P21:27 |ttymxc1 |} 提示:这里只列出测试串口的收发管脚,串口的其他管脚的定义请看原理图。<br> 2.测试方法<br> (1)进入测试程序目录<br> # cd /home/root/my-demo/linux-4.1.15/<br> (2)短接P21的26管脚和25管脚。<br> (3)./uart_test.out /dev/ttymxc2 “www.myzr.com.cn”<br> 测试结果:<br> <br> [[文件:MY-IMX6-ek140p L41115_5.1.jpg|642px]] == '''CAN测试''' == 1.测试说明<br> MY-IMX6-EK140P上有两组CAN接口。<br> {| class="wikitable" |评估板型号 |CANx |信号:CAN_L |信号:CAN_H |系统设备 |- |rowspan=2|MY-IMX6-EK140P |CAN1 |P7:1 |P7:2 |can1 |- |CAN2 |P9:1 |P9:2 |can2 |} 采用CAN1发送,CAN0接收的方式。<br> 2.测试方法<br> (1)将CAN1的CAN_L与CAN2的CAN_L连接;将CAN1的CAN_H与CAN2的CAN_H连接。<br> (2)# ip link set can0 up type can bitrate 125000<br> (3)# ip link set can1 up type can bitrate 125000<br> (4)# candump can0 &<br> (5)# cansend can1 1F334455#1122334455667788<br> 测试结果:<br> <br> [[文件:MY-IMX6-ek140p L41115_6.1.jpg|642px]] == '''WIFI测试''' == 1.测试方法<br> (1)insmod /home/root/my-demo/linux-3.14.52/8188eu.ko<br> (2)wpa_passphrase WIFI名称 WIFI密码 > /etc/wpa_supplicant.conf<br> (3)wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B<br> (4)udhcpc -i wlan0<br> (5)Ping 百度的ip,如果能ping通,说明测试成功。<br> == '''FXLS8471测试''' == 1.测试方法<br> (1)# echo 1 > /sys/class/misc/FreescaleAccelerometer/enable<br> (2)获取传感器数据:<br> # cat /sys/class/misc/FreescaleAccelerometer/data<br> == '''MAG3110测试''' == (1)# echo 1 > /sys/class/misc/FreescaleGyroscope/enable<br> (2)# evtest<br> [[文件:MY-IMX6-ek140p L41115_9.1.jpg|642px]]<br> 选择“fxas2100x”对应的event0. <br> (3)输入 0<br> (4)会有数据输出<br> </div>
返回至
MY-IMX6-EK140P L4115 测试手册
。
导航菜单
个人工具
登录
命名空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
[-_-]
NXP平台:
MYZR-IMX6-EK200
MYZR-IMX6-EK200(EN)
MYZR-IMX6-EK314
MYZR-IMX6-EK314(EN)
MYZR-IMX6-EK336
MYZR-IMX6-EK336(EN)
MYZR-IMX6-EK140
MYZR-IMX6-EK140(EN)
MYZR-IMX6-EK140P
MYZR-IMX6-EK140P(EN)
MYZR-IMX8M-EK300
MYZR-IMX8M-EK300(EN)
MYZR-IMX8M-EVK
MYZR-IMX8Mmini-EK240
MYZR-IMX8Mmini-EK240(EN)
MYZR-IMX28-EK142
MYZR-IMX28-EK142(EN)
MYZR-LS1012A-EK200
MYZR-LS1012A-EK200(EN)
Rockchip平台:
MYZR-RK3288-EK314
MYZR-RK3288-EK314(EN)
MYZR-RK3399-EK314
MYZR-RK3399-EK314(EN)
Allwinner平台:
MYZR-R16-EK166
MYZR-R16-EK166(EN)
Microchip平台:
MYZR-SAMA5-EK200
MYZR-SAMA5-EK200(EN)
网关产品:
GW200
GW300
GW310/GW311
ST平台:
MYZR-STM32-EK152
所有页面
工具
链入页面
相关更改
特殊页面
页面信息