Send test data------www.myzr.com.cn[/url]
read char is w
read char is w
read char is w
read char is .
read char is m
read char is y
read char is z
read char is r
read char is .
read char is c
read char is o
read char is m
read char is .
read char is c
read char is n
Read Test Data finished,Read Test Data is-------www.myzr.com.cn
Send test data------www.myzr.com.cn
read char is w
read char is w
read char is w
read char is .
read char is m
read char is y
read char is z
read char is r
read char is .
read char is c
read char is o
read char is m
read char is .
read char is c
read char is n
Read Test Data finished,Read Test Data is-------www.myzr.com.cn
Send test data------[url]www.myzr.com.cn
read char is w
read char is w
read char is w
read char is .
read char is m
read char is y
read char is z
read char is r
read char is .
read char is c
read char is o
read char is m
read char is .
read char is c
read char is n
Read Test Data finished,Read Test Data is-------www.myzr.com.cn
9 CAN 測試
測試準備
將CAN1的CAN_L與CAN2的CAN_L連接;將CAN1的CAN_H與CAN2的CAN_H連接。
配置 CAN1 (can0)
# ip link set can0 up type can bitrate 125000
配置 CAN2 (can1)
# ip link set can1 up type can bitrate 125000
CAN1 (can0) 后臺接收
# candump can0 &
CAN2 (can1) 發送數據
# cansend can1 1F334455#1122334455667788
Starting wdt_driver (timeout: 10, sleep: 15, test: write)
Trying to set timeout value=10 seconds
The actual timeout was set to 10 seconds
Now reading back -- The timeout is 10 seconds
[1] 748
Starting wdt_driver (timeout: 4, sleep: 2, test: write)
Trying to set timeout value=4 seconds
The actual timeout was set to 4 seconds
Now reading back -- The timeout is 4 seconds
12 RTC 測試
查看當前系統時鐘
# date
Wed Sep 26 00:27:45 UTC 2018
查看當前RTC芯片時鐘
# hwclock