1
|
login as: root
|
2
|
root@172.10.0.244's password:
|
3
|
[root@OM-A8-L200:~]#
|
4
|
[root@OM-A8-L200:~]#
|
5
|
[root@OM-A8-L200:~]# cd /NandFlash
|
6
|
[root@OM-A8-L200:NandFlash]# ./omDemo1 4946 6 0 0 0 RS485-9:9600,n,8,1
|
7
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
8
|
MemFree: 4300 kB
|
9
|
MemAvailable: 5140 kB
|
10
|
Buffers: 0 kB
|
11
|
!!!MemVsz 0: 4876 KB
|
12
|
SIGRTMAX-1= 63
|
13
|
SerManager new: 6b710
|
14
|
!!!MemVsz change: 128 KB
|
15
|
!!!MemVsz change: 5452 KB
|
16
|
!!!MemVsz change: 1248 KB
|
17
|
|
18
|
SMxxx: Type=4946 Addr=6 Port=0 Tag1=0 Ext1=0
|
19
|
|
20
|
SerDef=RS485-9:9600,n,8,1 Type=4946
|
21
|
CSMModbus::UpdLoad d=1 10ms tout=300 DataByte=0
|
22
|
testSM SM=6e5b8
|
23
|
CSerCom InitCom: 6f410 1
|
24
|
CSerCom UpdParams: ComPort: RS485-9, 0, 0
|
25
|
CSerCom::Open: /dev/RS485-9,9600,8,N,0
|
26
|
set serial done+!
|
27
|
RS485-9:9600,n,8,1[110009] open ok!
|
28
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
29
|
MemFree: 5252 kB
|
30
|
MemAvailable: 5808 kB
|
31
|
Buffers: 0 kB
|
32
|
start SMxxx->DataGet ...
|
33
|
SEND: 06 01 1F 41 00 0A EA 7A
|
34
|
RECV: 06 01 02 41 02 BD AD
|
35
|
SEND: 06 01 1F 4B 00 0A CA 78
|
36
|
RECV: 06 01 02 00 00 0C 3C
|
37
|
SEND: 06 01 1F 55 00 0A AA 7E
|
38
|
RECV: 06 01 02 00 00 0C 3C
|
39
|
SEND: 06 01 1F 5F 00 0A 8A 7C
|
40
|
RECV: 06 01 02 00 00 0C 3C
|
41
|
SEND: 06 01 1F 69 00 0A 6A 72
|
42
|
RECV: 06 01 02 00 00 0C 3C
|
43
|
SEND: 06 01 1F 73 00 0A 4B B5
|
44
|
RECV: 06 01 02 00 00 0C 3C
|
45
|
SEND: 06 01 1F 7D 00 0A 2A 76
|
46
|
RECV: 06 01 02 00 00 0C 3C
|
47
|
SEND: 06 01 1F 87 00 0A 0A 47
|
48
|
RECV: 06 81 02 70 50
|
49
|
SEND: 06 01 1F 91 00 0A EB 83
|
50
|
RECV: 06 81 02 70 50
|
51
|
SEND: 06 01 1F 9B 00 06 CB 84
|
52
|
RECV: 06 81 02 70 50
|
53
|
SEND: 06 03 0D AD 00 0B 96 F7
|
54
|
RECV: 06 03 16 00 F0 00 F0 01 5E 01 2C 01 C2 00 C8 03 52 00 96 00 01 00 00 00 00 77 A0
|
55
|
SEND: 06 03 1F 41 00 10 12 71
|
56
|
RECV: 06 03 20 00 08 00 00 00 6C 80 01 00 F6 01 83 05 FA 00 00 00 00 00 00 00 00 00 00 00 00 00 EC 03 9D 00 1E 57 16
|
57
|
t=4946 iaddr=6 iext=0
|
58
|
08002=1
|
59
|
08003=0
|
60
|
08004=0
|
61
|
08005=0
|
62
|
08006=0
|
63
|
08007=0
|
64
|
08008=1
|
65
|
08009=0
|
66
|
08010=0
|
67
|
08011=1
|
68
|
08012=0
|
69
|
08013=0
|
70
|
08014=0
|
71
|
08015=0
|
72
|
08016=0
|
73
|
08017=0
|
74
|
08018=0
|
75
|
08019=0
|
76
|
08020=0
|
77
|
08021=0
|
78
|
08022=0
|
79
|
08023=0
|
80
|
08024=0
|
81
|
08025=0
|
82
|
08026=0
|
83
|
08027=0
|
84
|
08028=0
|
85
|
08029=0
|
86
|
08030=0
|
87
|
08031=0
|
88
|
08032=0
|
89
|
08033=0
|
90
|
08034=0
|
91
|
08035=0
|
92
|
08036=0
|
93
|
08037=0
|
94
|
08038=0
|
95
|
08039=0
|
96
|
08040=0
|
97
|
08041=0
|
98
|
08042=0
|
99
|
08043=0
|
100
|
08044=0
|
101
|
08045=0
|
102
|
08046=0
|
103
|
08047=0
|
104
|
08048=0
|
105
|
08049=0
|
106
|
08050=0
|
107
|
08051=0
|
108
|
08052=0
|
109
|
08053=0
|
110
|
08054=0
|
111
|
08055=0
|
112
|
08056=0
|
113
|
08057=0
|
114
|
08058=0
|
115
|
08059=0
|
116
|
08060=0
|
117
|
08061=0
|
118
|
08062=0
|
119
|
08063=0
|
120
|
08064=0
|
121
|
08065=0
|
122
|
08066=0
|
123
|
08067=0
|
124
|
08068=0
|
125
|
08069=0
|
126
|
08070=0
|
127
|
08071=0
|
128
|
08072=0
|
129
|
08073=0
|
130
|
08074=0
|
131
|
08075=0
|
132
|
08076=0
|
133
|
08077=0
|
134
|
43502=240
|
135
|
43503=240
|
136
|
43504=350
|
137
|
43505=300
|
138
|
43506=450
|
139
|
43507=200
|
140
|
43508=850
|
141
|
43509=150
|
142
|
43510=1
|
143
|
43511=0
|
144
|
43512=0
|
145
|
48002=8
|
146
|
48002-0=0
|
147
|
48002-1=0
|
148
|
48002-10=0
|
149
|
48002-11=0
|
150
|
48002-12=0
|
151
|
48002-13=0
|
152
|
48002-14=0
|
153
|
48002-15=0
|
154
|
48002-2=0
|
155
|
48002-3=1
|
156
|
48002-4=0
|
157
|
48002-5=0
|
158
|
48002-6=0
|
159
|
48002-7=0
|
160
|
48002-8=0
|
161
|
48002-9=0
|
162
|
48003=0
|
163
|
48004=108
|
164
|
48005=32769
|
165
|
48006=246
|
166
|
48007=387
|
167
|
48008=1530
|
168
|
48009=0
|
169
|
48010=0
|
170
|
48011=0
|
171
|
48012=0
|
172
|
48013=0
|
173
|
48014=0
|
174
|
48015=236
|
175
|
48016=925
|
176
|
48017=30
|
177
|
brief=▒ط▒▒¶▒: 24.6▒▒ , ▒ط▒ʪ▒▒: 38.7▒▒ ,▒▒▒ػ▒״̬: 1 ,
|
178
|
^C
|
179
|
[root@OM-A8-L200:NandFlash]# ./sscomx
|
180
|
Input the com prot: RS485-9
|
181
|
baudrate: 9600
|
182
|
Parity(n\o\e): n
|
183
|
DataBit(5\6\7\8): 8
|
184
|
StopBit(1\2): 1
|
185
|
data types:
|
186
|
1. hex
|
187
|
2. ascii
|
188
|
select data type: 1
|
189
|
select com prot: /dev/RS485-9, 9600, n, 8, 1 for hex
|
190
|
send: 06 03 0D B5 00 01 96 F7
|
191
|
rece: 06 03 02 00 01 CC 44
|
192
|
send: 06 06 0D B5 00 00 9B 37
|
193
|
rece: 06 06 0D B5 00 00 9B 37
|
194
|
send: 06 03 0D B5 00 01 96 F7
|
195
|
rece: 06 03 02 00 00 0D 84
|
196
|
send:
|
197
|
login as: root
|
198
|
root@172.10.0.244's password:
|
199
|
[root@OM-A8-L200:~]# ./ss
|
200
|
-sh: ./ss: No such file or directory
|
201
|
[root@OM-A8-L200:~]# cd /NandFlash
|
202
|
[root@OM-A8-L200:NandFlash]# ./sscomx
|
203
|
Input the com prot: RS485-9
|
204
|
baudrate: 9600
|
205
|
Parity(n\o\e): n
|
206
|
DataBit(5\6\7\8): 8
|
207
|
StopBit(1\2): 1
|
208
|
data types:
|
209
|
1. hex
|
210
|
2. ascii
|
211
|
select data type: 1
|
212
|
select com prot: /dev/RS485-9, 9600, n, 8, 1 for hex
|
213
|
send: 06 06 0D B5 00 01 5A F7
|
214
|
rece: 06 06 0D B5 00 01 5A F7
|
215
|
send: 06 03 0D AD 00 01 16 F0
|
216
|
rece: 06 03 02 00 F0 0D C0
|
217
|
send: 06 06 0D AD 00 FA 9B 73
|
218
|
rece: 06 06 0D AD 00 FA 9B 73
|
219
|
send: 06 06 0D AD 00 F0 1B 74
|
220
|
rece: 06 06 0D AD 00 F0 1B 74
|
221
|
send: 06 03 0F A1 00 01 D7 4B
|
222
|
no data receive!
|
223
|
send: 06 03 0F A1 00 01 D7 4B
|
224
|
rece: 06 03 02 00 00 0D 84
|
225
|
send:
|