[ARM入门]

明远智睿MY-IMX6 Linux-3.14 测试手册(Qt版)

[复制链接]
1091|1
手机看帖
扫描二维码
随时随地手机跟帖
明远智睿2017|  楼主 | 2018-3-15 14:57 | 显示全部楼层 |阅读模式
linux, mx, IO, ST, TE
CAN测试(CAN test)
测试说明(test instruction)
测试之前需要连接CAN的管脚,将CAN1的CAN_L和CAN2的CAN_L连接,将CAN1的CAN_H和CAN2的CAN_H连接。测试方法(test instruction)
(1)点击“CAN”图标,启动测试程序(2)点解“Send”,发送数据,如果成功接收到数据,会在右边的文本框显示出来,如下图:

如果没有收到数据,则测试失败,请检查CAN的管脚是否短接,错误如下图:

(3)测试完成,点击关闭,退出CAN测试。
按键测试(key test)
测试说明(test instruction)
总共有4个按键,其中一个是复位按键,不在按键测试范围。
测试说明(test instruction)
(1)点击“Key”图标,启动测试程序。(2)按下和松开其中一个按键(不包括复位按键),屏幕会显示按键的号码和状态,如下图:



(3)测试完成,点击关闭,退出按键测试。
串口测试(serial port test)
测试说明(test instruction)
(1)总共有4个串口,测试程序默认选择Uart2,可以根据需要选择其他串口。
(2)测试之前需要短接串口的收发管脚,不同的开发板短接的管脚有所不同,对应关系如下图:
评估板型号
(development board model no.)
UARTx
Rx
Tx
系统接口
(system interface)
MY-IMX6-EK200UART2J1:9J1:7ttymxc1
UART3J1:13J1:11ttymxc2
UART4J1:17J1:15ttymxc3
UART5J1:16J1:18ttymxc4
MY-IMX6-EK314UART2J12:9J12:10ttymxc1
UART3J12:12J12:13ttymxc2
UART4J12:17J12:15ttymxc3
UART5J12:16J12:18ttymxc4
(3)这里选择默认配置,即Uart2,请短接对应的管脚。
测试方法(test method)
(1)        点击“Uart”图标,启动测试程序。
(2)        点击“OpenDevice”打开设备。
(3)        点击”Transfer“发送数据。
(4)        如果成功收到数据,右边的文本框会显示出来,说明测试成功,如下图:


如果没有收到数据,则测试失败,请检查Uart管脚是否短接,错误如下图:

(5)测试完成,点击关闭,退出串口测试。
SPI测试(SPI test)
测试说明(test instruction)
(1)测试之前需要短接SPI的管脚,不同的开发板短接的管脚有所不同,对应关系如下:
评估板型号
(development board model no.)
SPIx
MISO
MOSI
MY-IMX6-EK200SPI1J7:7J7:9
SPI2J7:8J7:10
MY-IMX6-EK314SPI1J13:7J13:11
SPI2J13:6J13:12
(2)EK200与测试程序对应的是SPI2;EK314与测试程序对应的是SPI1;根据实际情况短接相应的管脚。测试方法(test method)
(1)点击“SPI”图标,启动测试程序。(2)点击“OpenDevice”打开设备。
(3)点击“transfer”,发送数据。如果成功收到数据,会在右边的文本框显示出来,说明测试成功,如下图:

如果没有收到数据,测试失败,请检查管脚是否短接,错误如下图:

(4)测试完成,点击关闭,退出测试程序。
I2C测试(I2C test)
测试说明(test instruction)
评估板总共有3条IIC总线,每条总线都有设备,测试程序仅仅是列出每条总线的设备而已,其他不做测试。
测试方法(test method)
(1)        点击“I2C”图标,启动测试程序。(2)        点击“ListI2C”,列出所有I2C总线,总共3条,如下图:

(3)点击“ListDevice”列出其中一条总线上的所有设备,默认是i2c-0,如下图:

(4)点击右边的下拉菜单,分别列出另外两条总线上的设备,如下图:



(5)测试完成,点击关闭,退出测试。
GPIO测试(GPIO test)
测试说明(test instruction)
(1)测试之前需要连接对应的管脚,不同的开发板所连接的管脚有所不同,对应关系如下:
MY-IMX6-EK200
IO序号
(IO order number)
GPIO属性
(GPIO property)
接口位置
(interface position)
接口位置
(interface position)
GPIO属性
(GPIO property)
IO序号
(IO order number)
--gpio-ledsJ4:3J4:4GPIO6_IO11171
--gpio-ledsJ4:5J4:6GPIO2_IO2658
10GPIO1_IO10J4:7J4:8GPIO1_IO2020
--gpio-ledsJ4:9J4:10GPIO3_IO2185
--gpio-ledsJ4:11J4:12GPIO3_IO2286
11GPIO1_IO11J4:13J4:14NCNC
192GPIO7_IO00J21:12J21:11GPIO3_IO3094

MY-IMX6-EK314
IO序号
(IO order number)
GPIO属性
(GPIO property)
接口位置
(interface position)
接口位置
(interface position)
GPIO属性
(GPIO property)
IO序号
(IO order number)
2GPIO1_IO02J23:11J23:12GPIO3_IO3094
192GPIO7_IO01U14:3U14:4GPIO7_IO00192
177GPIO6_IO17U14:5U14:6GPIO6_IO18178
176GPIO6_IO16U14:7U14:8GPIO2_IO0739
35GPIO2_IO03U14:9U14:10GPIO2_IO0638
169GPIO6_IO09U14:11U14:12GPIO6_IO11171
34GPIO2_IO02U14:13U14:14GPIO2_IO0032
36GPIO2_IO04U14:15U14:16GPIO2_IO0537
29GPIO1_IO29U14:17U14:18GPIO1_IO2727
30GPIO1_IO30U14:19U14:20GPIO1_IO2626
24GPIO1_IO24U14:21U14:22GNDGND
10GPIO1_IO10U14:23U14:24gpio-leds--
--gpio-ledsU14:25U14:26gpio-leds--
11GPIO1_IO11U14:27U14:28gpio-leds--
85GPIO3_IO21U14:29U14:30GPIO3_IO2286
GNDGNDU14:31U14:32GNDGND
18GPIO1_IO18U14:33U14:34GPIO1_IO1616
20GPIO1_IO20U14:35U14:36GPIO1_IO1717
116GPIO4_IO20U14:37U14:38GPIO1_IO1919
(2)测试程序默认选择的是85、86两个IO序号,也可以根据需要选择其他IO序号;所以测试之前需要短接相应的管脚。
(3)测试程序的目的是测试85、86两个IO序号对应的管脚的输入输出功能。
(4)把85的输出作为86的输入。
(5)把86的输出作为85的输入。

测试方法(test method)
(1)点击“GPIO”图标,启动测试程序。(2)点击黑线左边的“out”,再点击“0”,最后点“Confirm”。(3)点击黑线右边的“In”,再点“Confirm”;这时“In”后面会显示左边输出的值,为0。(4)改变左边输出的值,把“0”的沟去掉,选“1”,最后点击“Confirm”,这时右边的In后面会跟随改变,即显示“1”。说明85的输出和86的输入正常。如下图:



(5)反过来测试,把黑线左边“out”的沟去掉,改为“In”,然后点击“Confirm”。
turn the test,remove check“out”on left side of black line,select“In”,then click“Confirm”。
(6)把右边的“In”的沟去掉,改为“out”,然后点击“0”,输出0,最后点击“Confirm”,这时左边的“In”后面会显示右边输出的值,即0。
remove check“In”on the right,select“out”,then click“0”,output 0,finally click“Confirm”,then value outputed on the right is 0 behind “In”on the left。
(7)改变右边的输出,把“0”的沟去掉,改为“1”,然后点击“Confirm”,这时左边的显示值会跟随改变,到此说明85、86的输入输出正常。如下图:
change output on the right,remove check“0”,select“1”,then click“Confirm”,then value shown up on the left will change accordingly,so far it means input&output of 85、86 are normal。as below:



(8)测试完成,点击关闭,退出测试程序。
test is over,click close,to exit test program。

网口测试(network interface test)
测试说明(test instruction)
(1)测试程序有两个,一个在开发板运行,另一个在PC(windows)上运行。
there are two test programs,one runs on development board,the other runs on PC(windows)。
(2)开发板上有两个网口。
there are two network interfaces on development board。
(3)测试之前需要修改PC上的IP,把PC上的IP改为192.168.170.144(实际上只要开发板和PC在同一个网段就可以了)。
need to modify IP on PC before test,change IP on PC to be 192.168.170.144(in fact as long as development board and PC are on the same network segment,that fulfill the task)。

测试方法(test method)
(1)用网线把PC和开发板(任意一个网口)连接。
connect PC and development board(any lan port) with lan line。
(2)在PC端运行测试程序。
run test program at PC side。
(3)点击“Network图标”,启动测试程序。
click icon“Network”,to start test program。
(4)点击任意一个”Confirm”,如果连接上,其右边会显示绿色的“connect”;如果出现“unconnect”说明没有连上,这时点击另一个“Confirm”。如图
click any”Confirm”,if connected successfully,green“connect”will be shown on the right;if “unconnect”shown up,e.g unsuccessful connection,then click another“Confirm”。example as below

(5)连上之后点击“Send”;在PC端可以看到接收速率的变化;测试成功。如图:
after connection click“Send”;you can see the changing receving rate on PC side;e.g a successful test。as below:

(6)另外一个网口测试方法相同。
the same method for the test of another network interface。
(7)测试完成,点击关闭,退出测试程序。
test is over,click close,to exit test program。

多媒体测试(multimedia test)
测试说明(test instruction)
测试程序测试音频和视频的功能。
test program will test function of audio and video。

测试方法(test method)
(1)        点击“Media”图标,启动测试程序。
click icon“Media”,to start test program。
(2)        插上耳机,点击“PlayMusic”,可以听到一段音乐。
insert an earphone,click“PlayMusic”,a piece of music can be heard。
(3)        点击“PlayVideo”,播放一段视频。
click“PlayVideo”,to play a piece of video。
(4)        测试完成,点击关闭,退出测试程序。
test is over, click close,to exit test program。

USB&SD测试(USB&SD test)
测试说明(test instruction)
测试测试主要测试USB和SD。
this test is to test USB and SD。

测试方法(test method)
(1)        点击“SD-USB”图标,启动测试程序。
click icon“SD-USB”,to start test program。
(2)        插入U盘或者SD卡,屏幕会显示U盘或者SD卡的内容(中文不能正常显示)。
insert U disk or SD card,content of U disk or SD card will be displayed on screen(Chinese charaters can't be displayed normally)。

(3)测试完成,点击关闭,退出测试程序。
test is over, click close,to exit test program。

看门狗测试(watchdog test)测试说明(test instruction)
如果不喂狗,默认10s复位,也可以根据需要修改时间。
if no feeding dog,defauted reset time is 10 seconds,but this time period can also be modified according to actual need。

测试方法(test method)
(1)点击“WTDog”图标,启动测试程序。
click icon“WTDog”,to start test program。
(2)点击“Start”,开始测试。
click“Start”,to start test。
(3)点击“Feed”,进行喂狗;屏幕上会显示喂狗次数;等待20s,如果没有复位,说明喂狗成功。如图:
click“Feed”,to feed dog;number of times for feeding dog will be shown on screen;wait for 20s,if there is not re-set,e.g.a successfull dog feeding。as below:

(5)点击“Nofeed”,停止喂狗,等待10,系统将会复位。
click“Nofeed”,to stop dog feeding,wait for 10 seconds,system will reset。
(6)测试完成,点击关闭,退出测试程序。
test is over, click close, to exit test program。

GPU测试(GPU test)测试说明(test instruction)
测试过程,在屏幕上会看到有图形在变化。
during the course of test,you can see a changing images on the screen。

测试方法(test method)
(1)        点击“GPU”图标,启动测试程序。
click icon“GPU”,to start test program。
(2)        等待测试完成,最后会打印测试结果。如图:
wait untill test if finished,finally a test result will be printed out。as shown in the figure


VPU测试(VPU test)测试说明(test instruction)
测试过程,会播放一段视频。
in the test process,a piece of video will be played。

测试方法(test method)
(1)        点击“VPU”图标,启动测试程序。
click icon“VPU”,to start test program。
(2)        等待测试完成,最后会打印测试结果。如图:
wait untill test if finished,finally a test result will be printed out,as below:

相关帖子

石跃鹏| | 2018-3-22 13:25 | 显示全部楼层
感谢分享

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

38

主题

61

帖子

0

粉丝