项目

一般

简介

UPS.txt

UPS测试 - 王 慧, 2020-06-15 13:50

 
1
[root@M28x ~]# cd /NandFlash
2
[root@M28x NandFlash]# ./sscomx
3
Input the com prot: ttySP1
4
baudrate: 2400
5
Parity(n\o\e): N
6
DataBit(5\6\7\8): 8
7
StopBit(1\2): 1
8
data types:
9
   1. hex
10
   2. ascii
11
select data type: 1
12
select com prot: /dev/ttySP1, 2400, N, 8, 1 for hex
13
send: 16
14
rece: 16
15
send: 81 88 A1 01 30 03 00 00 20 00 B3
16
rece: 06 04 88 30 14 1E 00 00 A4 1F 00 81
17
send: 81 88 A1 01 30 03 00 00 20 00 B3
18
no data receive!
19
send: 06 04 88 30 68 29 00 00 84 35 00 C0
20
rece: 06
21
send: 84 88 00 3A 02 F4 01 46 10 09 92
22
rece: 06
23
send: