1
|
|
2
|
M28x login: root
|
3
|
Password:
|
4
|
[root@M28x ~]# cd /NandFlash
|
5
|
[root@M28x NandFlash]# ./sscomx
|
6
|
Input the com prot: ttySP3
|
7
|
baudrate: 2400
|
8
|
Parity(n\o\e): n
|
9
|
DataBit(5\6\7\8): 8
|
10
|
StopBit(1\2): 1
|
11
|
data types:
|
12
|
1. hex
|
13
|
2. ascii
|
14
|
select data type: 1
|
15
|
select com prot: /dev/ttySP3, 2400, n, 8, 1 for hex
|
16
|
send: 01 02 13 94 00 01 FC A2
|
17
|
no data receive!
|
18
|
send: 01 02 13 94 00 01 FC A2
|
19
|
no data receive!
|
20
|
send: 01 02 13 94 00 01 FC A2
|
21
|
no data receive!
|
22
|
send: 01 02 13 94 00 01 FC A2
|
23
|
no data receive!
|
24
|
send: 01 02 13 94 00 01 FC A2
|
25
|
no data receive!
|
26
|
send: 01 02 13 94 00 01 FC A2
|
27
|
rece: 01 02 01 01 60 48
|
28
|
send: ^C
|
29
|
[root@M28x NandFlash]# ./sss
|
30
|
-sh: ./sss: No such file or directory
|
31
|
[root@M28x NandFlash]# ./sscomx
|
32
|
Input the com prot: ttySP3
|
33
|
baudrate: 4800
|
34
|
Parity(n\o\e): n
|
35
|
DataBit(5\6\7\8): 8
|
36
|
StopBit(1\2): 1
|
37
|
data types:
|
38
|
1. hex
|
39
|
2. ascii
|
40
|
select data type: 1
|
41
|
select com prot: /dev/ttySP3, 4800, n, 8, 1 for hex
|
42
|
send: 01 02 13 94 00 01 FC A2
|
43
|
no data receive!
|
44
|
send: 01 02 13 94 00 01 FC A2
|
45
|
rece: 11 04 04 00 D5 02 BE 7A AD
|
46
|
send: 01 02 13 94 00 01 FC A2
|
47
|
no data receive!
|
48
|
send: 01 02 13 94 00 01 FC A2
|
49
|
no data receive!
|
50
|
send: 01 02 13 94 00 01 FC A2
|
51
|
no data receive!
|
52
|
send: 01 02 13 94 00 01 FC A2
|
53
|
rece: 01 02 01 01 60 48
|
54
|
send: 01 02 13 94 00 01 FC A2
|
55
|
rece: 01 02 01 01 60 48
|
56
|
send: 01 02 13 94 00 01 FC A2
|
57
|
no data receive!
|
58
|
send: 01 02 13 94 00 01 FC A2
|
59
|
no data receive!
|
60
|
send: 01 02 13 94 00 01 FC A2
|
61
|
rece: 01 02 01 01 60 48
|
62
|
send: 01 02 13 94 00 01 FC A2
|
63
|
rece: 01 02 01 01 60 48
|
64
|
send: ^C
|
65
|
[root@M28x NandFlash]# ./sscomx
|
66
|
Input the com prot: ttySP
|
67
|
baudrate: 4800
|
68
|
Parity(n\o\e): n
|
69
|
DataBit(5\6\7\8): 8
|
70
|
StopBit(1\2): 1
|
71
|
data types:
|
72
|
1. hex
|
73
|
2. ascii
|
74
|
select data type: 1
|
75
|
select com prot: /dev/ttySP, 4800, n, 8, 1 for hex
|
76
|
Open Port /dev/ttySP: Error
|
77
|
[root@M28x NandFlash]# ./sscomx
|
78
|
Input the com prot: ttySP4
|
79
|
baudrate: 4800
|
80
|
Parity(n\o\e): n
|
81
|
DataBit(5\6\7\8): 8
|
82
|
StopBit(1\2): 1
|
83
|
data types:
|
84
|
1. hex
|
85
|
2. ascii
|
86
|
select data type: 1
|
87
|
select com prot: /dev/ttySP4, 4800, n, 8, 1 for hex
|
88
|
send: 01 02 13 94 00 01 FC A2
|
89
|
no data receive!
|
90
|
send: 01 02 13 94 00 01 FC A2
|
91
|
no data receive!
|
92
|
send: 01 02 13 94 00 01 FC A2
|
93
|
no data receive!
|
94
|
send: 01 02 13 94 00 01 FC A2
|
95
|
no data receive!
|
96
|
send: 01 02 13 94 00 01 FC A2
|
97
|
no data receive!
|
98
|
send: 01 02 13 94 00 01 FC A2
|
99
|
rece: 01 02 01 01 60 48
|
100
|
send: 01 02 13 94 00 01 FC A2
|
101
|
rece: 01 02 01 01 60 48
|
102
|
send: 01 02 13 94 00 01 FC A2
|
103
|
rece: 01 02 01 01 60 48
|
104
|
send:
|