1
|
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2023.04.25 16:28:18 =~=~=~=~=~=~=~=~=~=~=~=
|
2
|
login as: root
|
3
|
root@192.168.2.16's password:
|
4
|
Last login: Tue Apr 25 16:22:58 2023 from 192.168.2.1
|
5
|
[root@OM-A8-L200:~]# cd /NandFlash
|
6
|
[root@OM-A8-L200:NandFlash]# ./omDemo1 4680 1 0 0 0 192.168.2.20:1030
|
7
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
8
|
MemFree: 206096 kB
|
9
|
MemAvailable: 217344 kB
|
10
|
Buffers: 0 kB
|
11
|
!!!MemVsz 0: 4876 KB
|
12
|
SIGRTMAX-1= 63
|
13
|
SerManager new: 1e46710
|
14
|
!!!MemVsz change: 128 KB
|
15
|
!!!MemVsz change: 5148 KB
|
16
|
!!!MemVsz change: 1248 KB
|
17
|
|
18
|
SMxxx: Type=4680 Addr=1 Port=0 Tag1=0 Ext1=0
|
19
|
|
20
|
SerDef=192.168.2.20:1030 Type=4680
|
21
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
22
|
testSM SM=1e495b8
|
23
|
SerNet new: 1e49970 192.168.2.20:1030
|
24
|
CSerNet::Open ERROR: Failed to connect to the host!
|
25
|
OK: Have connected to the 192.168.2.20
|
26
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
27
|
MemFree: 205744 kB
|
28
|
MemAvailable: 216992 kB
|
29
|
Buffers: 0 kB
|
30
|
start SMxxx->DataGet ...
|
31
|
SEND: 00 01 00 00 00 06 01 01 00 00 00 03
|
32
|
CSerNet::Read select timeout: stTime.tv_sec=0,stTime.tv_usec=0,waittime=6120
|
33
|
testSM-0001 16:27:55 192.168.2.20:1030
|
34
|
SEND: 00 02 00 00 00 06 01 01 00 00 00 03
|
35
|
CSerNet::Read select timeout: stTime.tv_sec=0,stTime.tv_usec=0,waittime=6120
|
36
|
testSM-0002 16:28:02 192.168.2.20:1030
|
37
|
SEND: 00 03 00 00 00 06 01 01 00 00 00 03
|
38
|
CSerNet::Read select timeout: stTime.tv_sec=0,stTime.tv_usec=0,waittime=6120
|
39
|
testSM-0003 16:28:10 192.168.2.20:1030
|
40
|
SEND: 00 04 00 00 00 06 01 01 00 00 00 03
|
41
|
^C
|
42
|
[root@OM-A8-L200:NandFlash]# ~ ^C
|
43
|
[root@OM-A8-L200:NandFlash]# ^C
|
44
|
[root@OM-A8-L200:NandFlash]# ./omDemo1 4680 1 0 0 0 192.168.2.20:10300 0 0 192.168.2.0[1P[4h [4l6[4h [4l5[4h [4l5[4h [4l3[4h [4l6
|
45
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
46
|
MemFree: 202112 kB
|
47
|
MemAvailable: 213372 kB
|
48
|
Buffers: 0 kB
|
49
|
!!!MemVsz 0: 4876 KB
|
50
|
SIGRTMAX-1= 63
|
51
|
SerManager new: 1347710
|
52
|
!!!MemVsz change: 128 KB
|
53
|
!!!MemVsz change: 5148 KB
|
54
|
!!!MemVsz change: 1248 KB
|
55
|
|
56
|
SMxxx: Type=4680 Addr=1 Port=0 Tag1=0 Ext1=65536
|
57
|
|
58
|
SerDef=192.168.2.20:1030 Type=4680
|
59
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
60
|
testSM SM=134a5b8
|
61
|
SerNet new: 134a970 192.168.2.20:1030
|
62
|
CSerNet::Open ERROR: Failed to connect to the host!
|
63
|
OK: Have connected to the 192.168.2.20
|
64
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
65
|
MemFree: 201812 kB
|
66
|
MemAvailable: 213072 kB
|
67
|
Buffers: 0 kB
|
68
|
start SMxxx->DataGet ...
|
69
|
SEND: 01 01 00 00 00 03 7C 0B
|
70
|
CSerNet::Read recv start:
|
71
|
CSerNet::Read recv end:
|
72
|
CSerNet::Read recv: 6
|
73
|
RECV: 01 01 01 00 51 88
|
74
|
SEND: 01 01 00 16 00 04 DC 0D
|
75
|
CSerNet::Read recv start:
|
76
|
CSerNet::Read recv end:
|
77
|
CSerNet::Read recv: 6
|
78
|
RECV: 01 01 01 00 51 88
|
79
|
SEND: 01 01 00 29 00 03 AD C3
|
80
|
CSerNet::Read recv start:
|
81
|
CSerNet::Read recv end:
|
82
|
CSerNet::Read recv: 6
|
83
|
RECV: 01 01 01 04 50 4B
|
84
|
SEND: 01 01 00 08 00 04 BC 0B
|
85
|
CSerNet::Read recv start:
|
86
|
CSerNet::Read recv end:
|
87
|
CSerNet::Read recv: 6
|
88
|
RECV: 01 01 01 00 51 88
|
89
|
SEND: 01 03 00 00 00 12 C5 C7
|
90
|
CSerNet::Read recv start:
|
91
|
CSerNet::Read recv end:
|
92
|
CSerNet::Read recv: 41
|
93
|
RECV: 01 03 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 25 BA 7A
|
94
|
SEND: 01 03 00 13 00 01 75 CF
|
95
|
CSerNet::Read recv start:
|
96
|
CSerNet::Read recv end:
|
97
|
CSerNet::Read recv: 7
|
98
|
RECV: 01 03 02 00 00 B8 44
|
99
|
SEND: 01 03 00 15 00 01 95 CE
|
100
|
CSerNet::Read recv start:
|
101
|
CSerNet::Read recv end:
|
102
|
CSerNet::Read recv: 7
|
103
|
RECV: 01 03 02 00 60 B8 6C
|
104
|
SEND: 01 03 00 17 00 01 34 0E
|
105
|
CSerNet::Read recv start:
|
106
|
CSerNet::Read recv end:
|
107
|
CSerNet::Read recv: 7
|
108
|
RECV: 01 03 02 00 00 B8 44
|
109
|
SEND: 01 03 00 1A 00 03 24 0C
|
110
|
CSerNet::Read recv start:
|
111
|
CSerNet::Read recv end:
|
112
|
CSerNet::Read recv: 11
|
113
|
RECV: 01 03 06 00 00 00 00 00 00 21 75
|
114
|
SEND: 01 03 00 22 00 01 24 00
|
115
|
CSerNet::Read recv start:
|
116
|
CSerNet::Read recv end:
|
117
|
CSerNet::Read recv: 7
|
118
|
RECV: 01 03 02 00 00 B8 44
|
119
|
t=4680 iaddr=1 iext=65536
|
120
|
00001=0
|
121
|
00002=0
|
122
|
00003=0
|
123
|
00004=0
|
124
|
00005=0
|
125
|
00006=0
|
126
|
00007=0
|
127
|
00008=0
|
128
|
00009=0
|
129
|
00010=0
|
130
|
00011=0
|
131
|
00012=0
|
132
|
00013=0
|
133
|
00014=0
|
134
|
00015=0
|
135
|
00016=0
|
136
|
00023=0
|
137
|
00024=0
|
138
|
00025=0
|
139
|
00026=0
|
140
|
00027=0
|
141
|
00028=0
|
142
|
00029=0
|
143
|
00030=0
|
144
|
00042=0
|
145
|
00043=0
|
146
|
00044=1
|
147
|
00045=0
|
148
|
00046=0
|
149
|
00047=0
|
150
|
00048=0
|
151
|
00049=0
|
152
|
40001=0
|
153
|
40002=0
|
154
|
40003=0
|
155
|
40004=0
|
156
|
40005=0
|
157
|
40006=0
|
158
|
40007=0
|
159
|
40008=0
|
160
|
40009=0
|
161
|
40010=0
|
162
|
40011=0
|
163
|
40012=0
|
164
|
40013=0
|
165
|
40014=0
|
166
|
40015=0
|
167
|
40016=0
|
168
|
40017=0
|
169
|
40018=37
|
170
|
40020=0
|
171
|
40022=96
|
172
|
40024=0
|
173
|
40027=0
|
174
|
40028=0
|
175
|
40029=0
|
176
|
40035=0
|
177
|
brief=
|
178
|
testSM-0001 16:41:16 192.168.2.20:1030
|
179
|
SEND: 01 01 00 00 00 03 7C 0B
|
180
|
CSerNet::Read recv start:
|
181
|
CSerNet::Read recv end:
|
182
|
CSerNet::Read recv: 6
|
183
|
RECV: 01 01 01 00 51 88
|
184
|
SEND: 01 01 00 16 00 04 DC 0D
|
185
|
CSerNet::Read recv start:
|
186
|
CSerNet::Read recv end:
|
187
|
CSerNet::Read recv: 6
|
188
|
RECV: 01 01 01 00 51 88
|
189
|
SEND: 01 01 00 29 00 03 AD C3
|
190
|
CSerNet::Read recv start:
|
191
|
CSerNet::Read recv end:
|
192
|
CSerNet::Read recv: 6
|
193
|
RECV: 01 01 01 04 50 4B
|
194
|
SEND: 01 01 00 08 00 04 BC 0B
|
195
|
CSerNet::Read recv start:
|
196
|
CSerNet::Read recv end:
|
197
|
CSerNet::Read recv: 6
|
198
|
RECV: 01 01 01 00 51 88
|
199
|
SEND: 01 03 00 00 00 12 C5 C7
|
200
|
CSerNet::Read recv start:
|
201
|
CSerNet::Read recv end:
|
202
|
CSerNet::Read recv: 41
|
203
|
RECV: 01 03 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 25 BA 7A
|
204
|
SEND: 01 03 00 13 00 01 75 CF
|
205
|
CSerNet::Read recv start:
|
206
|
CSerNet::Read recv end:
|
207
|
CSerNet::Read recv: 7
|
208
|
RECV: 01 03 02 00 00 B8 44
|
209
|
SEND: 01 03 00 15 00 01 95 CE
|
210
|
CSerNet::Read recv start:
|
211
|
CSerNet::Read recv end:
|
212
|
CSerNet::Read recv: 7
|
213
|
RECV: 01 03 02 00 60 B8 6C
|
214
|
SEND: 01 03 00 17 00 01 34 0E
|
215
|
CSerNet::Read recv start:
|
216
|
CSerNet::Read recv end:
|
217
|
CSerNet::Read recv: 7
|
218
|
RECV: 01 03 02 00 00 B8 44
|
219
|
SEND: 01 03 00 1A 00 03 24 0C
|
220
|
CSerNet::Read recv start:
|
221
|
CSerNet::Read recv end:
|
222
|
CSerNet::Read recv: 11
|
223
|
RECV: 01 03 06 00 00 00 00 00 00 21 75
|
224
|
SEND: 01 03 00 22 00 01 24 00
|
225
|
CSerNet::Read recv start:
|
226
|
CSerNet::Read recv end:
|
227
|
CSerNet::Read recv: 7
|
228
|
RECV: 01 03 02 00 00 B8 44
|
229
|
t=4680 iaddr=1 iext=65536
|
230
|
00001=0
|
231
|
00002=0
|
232
|
00003=0
|
233
|
00004=0
|
234
|
00005=0
|
235
|
00006=0
|
236
|
00007=0
|
237
|
00008=0
|
238
|
00009=0
|
239
|
00010=0
|
240
|
00011=0
|
241
|
00012=0
|
242
|
00013=0
|
243
|
00014=0
|
244
|
00015=0
|
245
|
00016=0
|
246
|
00023=0
|
247
|
00024=0
|
248
|
00025=0
|
249
|
00026=0
|
250
|
00027=0
|
251
|
00028=0
|
252
|
00029=0
|
253
|
00030=0
|
254
|
00042=0
|
255
|
00043=0
|
256
|
00044=1
|
257
|
00045=0
|
258
|
00046=0
|
259
|
00047=0
|
260
|
00048=0
|
261
|
00049=0
|
262
|
40001=0
|
263
|
40002=0
|
264
|
40003=0
|
265
|
40004=0
|
266
|
40005=0
|
267
|
40006=0
|
268
|
40007=0
|
269
|
40008=0
|
270
|
40009=0
|
271
|
40010=0
|
272
|
40011=0
|
273
|
40012=0
|
274
|
40013=0
|
275
|
40014=0
|
276
|
40015=0
|
277
|
40016=0
|
278
|
40017=0
|
279
|
40018=37
|
280
|
40020=0
|
281
|
40022=96
|
282
|
40024=0
|
283
|
40027=0
|
284
|
40028=0
|
285
|
40029=0
|
286
|
40035=0
|
287
|
brief=
|
288
|
testSM-0002 16:41:19 192.168.2.20:1030
|
289
|
SEND: 01 01 00 00 00 03 7C 0B
|
290
|
CSerNet::Read recv start:
|
291
|
CSerNet::Read recv end:
|
292
|
CSerNet::Read recv: 6
|
293
|
RECV: 01 01 01 00 51 88
|
294
|
SEND: 01 01 00 16 00 04 DC 0D
|
295
|
CSerNet::Read recv start:
|
296
|
CSerNet::Read recv end:
|
297
|
CSerNet::Read recv: 6
|
298
|
RECV: 01 01 01 00 51 88
|
299
|
SEND: 01 01 00 29 00 03 AD C3
|
300
|
CSerNet::Read recv start:
|
301
|
CSerNet::Read recv end:
|
302
|
CSerNet::Read recv: 6
|
303
|
RECV: 01 01 01 04 50 4B
|
304
|
SEND: 01 01 00 08 00 04 BC 0B
|
305
|
CSerNet::Read recv start:
|
306
|
CSerNet::Read recv end:
|
307
|
CSerNet::Read recv: 6
|
308
|
RECV: 01 01 01 00 51 88
|
309
|
SEND: 01 03 00 00 00 12 C5 C7
|
310
|
CSerNet::Read recv start:
|
311
|
CSerNet::Read recv end:
|
312
|
CSerNet::Read recv: 41
|
313
|
RECV: 01 03 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 25 BA 7A
|
314
|
SEND: 01 03 00 13 00 01 75 CF
|
315
|
CSerNet::Read recv start:
|
316
|
CSerNet::Read recv end:
|
317
|
CSerNet::Read recv: 7
|
318
|
RECV: 01 03 02 00 00 B8 44
|
319
|
SEND: 01 03 00 15 00 01 95 CE
|
320
|
CSerNet::Read recv start:
|
321
|
CSerNet::Read recv end:
|
322
|
CSerNet::Read recv: 7
|
323
|
RECV: 01 03 02 00 60 B8 6C
|
324
|
SEND: 01 03 00 17 00 01 34 0E
|
325
|
CSerNet::Read recv start:
|
326
|
CSerNet::Read recv end:
|
327
|
CSerNet::Read recv: 7
|
328
|
RECV: 01 03 02 00 00 B8 44
|
329
|
SEND: 01 03 00 1A 00 03 24 0C
|
330
|
CSerNet::Read recv start:
|
331
|
CSerNet::Read recv end:
|
332
|
CSerNet::Read recv: 11
|
333
|
RECV: 01 03 06 00 00 00 00 00 00 21 75
|
334
|
SEND: 01 03 00 22 00 01 24 00
|
335
|
CSerNet::Read recv start:
|
336
|
CSerNet::Read recv end:
|
337
|
CSerNet::Read recv: 7
|
338
|
RECV: 01 03 02 00 00 B8 44
|
339
|
t=4680 iaddr=1 iext=65536
|
340
|
00001=0
|
341
|
00002=0
|
342
|
00003=0
|
343
|
00004=0
|
344
|
00005=0
|
345
|
00006=0
|
346
|
00007=0
|
347
|
00008=0
|
348
|
00009=0
|
349
|
00010=0
|
350
|
00011=0
|
351
|
00012=0
|
352
|
00013=0
|
353
|
00014=0
|
354
|
00015=0
|
355
|
00016=0
|
356
|
00023=0
|
357
|
00024=0
|
358
|
00025=0
|
359
|
00026=0
|
360
|
00027=0
|
361
|
00028=0
|
362
|
00029=0
|
363
|
00030=0
|
364
|
00042=0
|
365
|
00043=0
|
366
|
00044=1
|
367
|
00045=0
|
368
|
00046=0
|
369
|
00047=0
|
370
|
00048=0
|
371
|
00049=0
|
372
|
40001=0
|
373
|
40002=0
|
374
|
40003=0
|
375
|
40004=0
|
376
|
40005=0
|
377
|
40006=0
|
378
|
40007=0
|
379
|
40008=0
|
380
|
40009=0
|
381
|
40010=0
|
382
|
40011=0
|
383
|
40012=0
|
384
|
40013=0
|
385
|
40014=0
|
386
|
40015=0
|
387
|
40016=0
|
388
|
40017=0
|
389
|
40018=37
|
390
|
40020=0
|
391
|
40022=96
|
392
|
40024=0
|
393
|
40027=0
|
394
|
40028=0
|
395
|
40029=0
|
396
|
40035=0
|
397
|
brief=
|
398
|
^C
|
399
|
[root@OM-A8-L200:NandFlash]#
|