完善资料让更多小伙伴认识你,还能领取20积分哦,立即完善>
测试项目(test item)
网口测试(network inferface test)MY-RK3288-EK314 评估板支持双网口,一个百兆,另一个千兆。 MY-RK3288-EK314 support two ethernet interfaces, one is 100 Mbps ethernet, the other is 1 Gbps ethernet 接口属性(interface property)
测试方法(test method)1) 测试说明 test instruction
2) Eth0连接测试 Eth0 connect test
# ifconfig eth0 192.168.18.36 # configure the eth0
# ifconfig eth1 down # eth1 to be shut down # ping 192.168.18.18 -c 2 -w 4 # send ICMP to HOST
--- 192.168.18.18 ping statistics --- 2packets transmitted, 2 packets received, 0% packet loss
3) Eth1连接测试 Eth1 connect test
# ifconfig eth1 192.168.18.27 # configure the eth1 设置后系统会输出第2个网口的工作状态信息,类似如下: after setting the system will output message on working condition of second network interface,like following: smsc95xx 1-1.1:1.0 eth1: link up, 100Mbps, full-duplex, lpa 0x4DE1
# ifconfig eth0 down # eth0 to be shut down # ping 192.168.18.18 -c 2 -w 4 # send ICMP to HOST
--- 192.168.18.18 ping statistics --- 2packets transmitted, 2 packets received, 0% packet loss
USB测试(USB test)接口属性(interface property)
测试方法(test method)1) 开始测试 start test 将USB设备插入底板USB接口,输入以下命令: insert USB device into USB port on base board,enter the following command: # df 2) 测试结束 test over 将USB设备从底板拔出,系统会输出类似如下信息: instruction:when plug in & out U disk from USB interface,enter the following command: # df 附图(figure) SD卡测试(SD card test)接口属性(interface property)[/table][table=98%,transparent]
评估板型号
(evaluation model no.)
接口位置
(interface position)
接口类型
(interface type) MY-RK3288-EK314U22SD 开始测试(start test)1) 往SD卡槽插入设备 insert device into SD card slot 插入SD卡到底板SD卡接口,输入以下命令: insert SD card into SD card port on base board,enter the following command: # df 2) 结束测试 test over SD卡弹出后拨出SD卡即结束测试。 take out SD card after SD card pop-pup,then test is over。 附图(figures) 音频测试(audio test)测试说明(test instruction)这项测试是通过播放音频文件验证评估板的音频功能。 the test is to verify audio function of evaluation board by playing audio file。 测试方法(test method)1)准备测试 prepare test 连接音频输出设备到底板正面的音频座子,音频座子在底板正面“P15”。 connect audio output device to audio element in front view of base board,audio element is “J20”in front view of base board。 2)执行测试 execute test 使用aplay播放一个视频,示例命令如下: play a video with gplay,commanded as below: # aplay /usr/share/sounds/alsa/Rear_Left.wav 上面这条命令会使用aplay播放命令中指定的文件。 the above command will play a file designated by command with gplay。 3)测试结果 test result 执行上面的测试命令后会听到音频设备输出的声音。 you can see the vedeo played on display screen of evaluation board and hear the voices outputed by audio device。 附图(figures) 标准GPIO测试(standard GPIO test)接口属性(interface property)
测试方法(test method)1)GPIO输出测试 GPIO output test
# OUT_IO_NUMBER=9
# echo ${OUT_IO_NUMBER} > /sys/class/gpio/export
# echo out > /sys/class/gpio/gpio${OUT_IO_NUMBER}/direction
# echo 0 > /sys/class/gpio/gpio${OUT_IO_NUMBER}/value # echo 1 > /sys/class/gpio/gpio${OUT_IO_NUMBER}/value 2)GPIO输入测试 GPIO input test
# IN_IO_NUMBER=18
# echo ${IN_IO_NUMBER} > /sys/class/gpio/export
# echo in > /sys/class/gpio/gpio${IN_IO_NUMBER}/direction
cat /sys/class/gpio/gpio${IN_IO_NUMBER}/value GPIO-KEY测试(GPIO-KEY test)接口属性(interface property)
测试方法(test method)1)执行测试程序 execute test program 在终端下键入命令执行测试,示例如下: enter command to execute on terminal,example as below: # evtest 2)选择测试设备 select test device Select the device event number [0-2]: 2 输入“gpio-keys”对应的序号,这里是2 enter order number corrsponding with“gpio-keys”,here it is 2 3)进行交互测试 proceed with interactive test 在终端会看到“Testing ... (interrupt to exit)”,这时我们按下或松开SW1、SW2。会看到如下类似信息: on terminal you can“Testing ... (interrupt to exit)”,this time press or release SW1、SW2。message like below will come out: Event: time 1452590477.115958, type 1 (EV_KEY), code 114 (KEY_VOLUMEDOWN), value 0 Event: time 1452590477.115958, -------------- SYN_REPORT ------------ Event: time 1452590478.415953, type 1 (EV_KEY), code 115 (KEY_VOLUMEUP), value 1 其中“value 1”信息是在按键被按下的时候被输出,“value 0”信息是在按键被松开的时候被输出。 message of“value 1”is outputed with press of key,message of“value 0”is outputed with release of key。 3)结束测试 end test 按计算机上的“Ctrl”+“C”可结束按键测试程序。 press “Ctrl”+“C”on computer to end the test program for keys。 串口测试(serial port test)MY-RK3288-EK314共3个串口,其中1个调试串口,2个用户串口。 MY-RK3288-EK314 has total 5 serial ports,one is debug seiral port,the other 4 are user serial ports。 用户串口属性(user serial port property)
tips:transceiver pins of serial port are listed here,but please refer to schematic for definition of all pins of serial port。 串口测试(serial port test)1)测试说明 test instruction
串口线直接相连电脑和UART1,用ssh客户端登陆和测试。 Serial cable directly connected to the computer and UART1, landing and testing with ssh client.
通过ssh客户端向串口发送字符串,串口可以收到字符串。 send charater string to serial port through ssh client, and the serial port can receive the charater string. 2)安装ssh客户端 install ssh client # apt-get install ssh 3)UART1测试 UART1 test
# echo “myzr” > /dev/ttyS1 (UART1发送数据myzr) # echo “myzr” > /dev/ttyS1 (UART1 send charater string “myzr“) # cat /dev/ttyS1 (UART1接收数据) # cat /dev/ttyS1 (UART1 receive charater string )
RTC测试(RTC test)测试说明(test instruction)受快递运输影响,MY-RK3288-EK314 系列评估板发货时不带电池。测试RTC前请自备纽扣电池并安装到评估板上。 due to restrictions in transportation,MY-RK3288-EK314 evaluation board doesn't contatin battery in delivery。before RTC test please prepare button cell to install on evaluation board。 MY-RK3288-EK314的电池座在底板正面的“BT1”位置。 MY-RK3288-EK314 battery holder is located in“BT1”on front view of base board。 测试方法(test method )1)断电重启设备,查看当前系统时间和硬件时间。 power off then reboot device,to check the time of system and hardware。
# date
Thu Aug 6 05:35:17 UTC 2012 2)查看当前RTC芯片时钟命令如下: command to check clock of RTC chip as below: # hwclock
Thu Aug 6 05:35:59 2012 0.000000 seconds 3)设置系统时钟,并同步到RTC芯片 set system clock and synchronously set to RTC chip
# date -s "2013-03-28 12:30:30"
# hwclok –w 4)断电重启评估板,查看当前系统时钟和硬件时钟 power off and reboot evaluation board,to check current system clock and hardware clock 请参考第1步 please refer to step 1 5)测试结果 test Results 执行第3步以后看到的时钟为新设定的时钟。 it will be a newly-set clock after execution until step3。 附图(figures)附图一: 附图二: SPI测试(SPI test)MY-RK3288-EK314上有两组SPI接口。 MY-RK3288-EK314 has two groups of SPI interfaces。 接口属性(interface property)测试需要用到SPI接口的MISO和MOSI管脚,在下表中列出。 pins of MISO and MOSI need to be used for test,listed as below。
adopt way of SPI self-sending(output)self-receiving(input)。 注意:测试需要短接评估板的管脚,如果不确定自己能正确短接的请找硬件工程师支持,否则可能会损坏评估板。 note:the test need a short connection of evaluation board pins,if you are not sure of how to conduct this kind of connection,please ask hardware engineer for a support,otherwise it may cause a damage of evaluation board。 2)与SPI测试程序匹配的SPI接口是SPI2,所以我们的SPI测试是测试SPI2。 SPI port which is matched up with SPI test program is SPI2,e.g.SPI test is SPI2 test |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
相关推荐
1个讨论
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
【米尔-国产瑞芯微RK3568开发板试用体验】评测一 系统配置
604 浏览0 评论
1162 浏览0 评论
1950 浏览1 评论
如何配置Linux操作系统设备树让我的开发板可以将板子上的GPIO接口用作 I2S输出??
2383 浏览1 评论
1644 浏览0 评论
小黑屋|手机版|Archiver|德赢Vwin官网(湘ICP备2023018690号)
GMT+8, 2024-8-27 20:18, Processed in 0.707471 second(s), Total 73, Slave 56 queries .
Powered by德赢Vwin官网 网
© 2015bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号