1
|
login as: root
|
2
|
root@192.168.1.16's password:
|
3
|
[root@OM-A6-T300A:~]# cd /NandFlash
|
4
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4942 1 0 0 0 RS485-3:9600,n,8,1
|
5
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
6
|
MemFree: 200012 kB
|
7
|
MemAvailable: 214604 kB
|
8
|
Buffers: 0 kB
|
9
|
!!!MemVsz 0: 4876 KB
|
10
|
SIGRTMAX-1= 63
|
11
|
SerManager new: b77710
|
12
|
!!!MemVsz change: 128 KB
|
13
|
!!!MemVsz change: 5148 KB
|
14
|
!!!MemVsz change: 1248 KB
|
15
|
|
16
|
SMxxx: Type=4942 Addr=1 Port=0 Tag1=0 Ext1=0
|
17
|
|
18
|
SerDef=RS485-3:9600,n,8,1 Type=4942
|
19
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
20
|
testSM SM=b7a5b8
|
21
|
CSerCom InitCom: b7a8f0 1
|
22
|
CSerCom UpdParams: ComPort: RS485-3, 0, 0
|
23
|
CSerCom::Open: /dev/RS485-3,9600,8,N,0
|
24
|
set serial done+!
|
25
|
RS485-3:9600,n,8,1[110003] open ok!
|
26
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
27
|
MemFree: 199636 kB
|
28
|
MemAvailable: 214280 kB
|
29
|
Buffers: 0 kB
|
30
|
start SMxxx->DataGet ...
|
31
|
SEND: 01 02 27 2C 00 3C B3 66
|
32
|
RECV: 01 02 08 21 00 00 20 54 01 00 00 C7 F1
|
33
|
SEND: 01 04 75 31 00 04 BA 0A
|
34
|
RECV: 01 04 08 00 D4 01 B0 04 EC 00 CA B0 99
|
35
|
t=4942 iaddr=1 iext=0
|
36
|
110029=1
|
37
|
110030=0
|
38
|
110031=0
|
39
|
110032=0
|
40
|
110033=0
|
41
|
110034=1
|
42
|
110035=0
|
43
|
110036=0
|
44
|
110037=0
|
45
|
110038=0
|
46
|
110039=0
|
47
|
110040=0
|
48
|
110041=0
|
49
|
110042=0
|
50
|
110043=0
|
51
|
110044=0
|
52
|
110045=0
|
53
|
110046=0
|
54
|
110047=0
|
55
|
110048=0
|
56
|
110049=0
|
57
|
110050=0
|
58
|
110051=0
|
59
|
110052=0
|
60
|
110053=0
|
61
|
110054=0
|
62
|
110055=0
|
63
|
110056=0
|
64
|
110057=0
|
65
|
110058=1
|
66
|
110059=0
|
67
|
110060=0
|
68
|
110061=0
|
69
|
110062=0
|
70
|
110063=1
|
71
|
110064=0
|
72
|
110065=1
|
73
|
110066=0
|
74
|
110067=1
|
75
|
110068=0
|
76
|
110069=1
|
77
|
110070=0
|
78
|
110071=0
|
79
|
110072=0
|
80
|
110073=0
|
81
|
110074=0
|
82
|
110075=0
|
83
|
110076=0
|
84
|
110077=0
|
85
|
110078=0
|
86
|
110079=0
|
87
|
110080=0
|
88
|
110081=0
|
89
|
110082=0
|
90
|
110083=0
|
91
|
110084=0
|
92
|
110085=0
|
93
|
110086=0
|
94
|
110087=0
|
95
|
110088=0
|
96
|
110089=0
|
97
|
110090=0
|
98
|
110091=0
|
99
|
110092=0
|
100
|
330002=212
|
101
|
330003=432
|
102
|
330004=1260
|
103
|
330005=202
|
104
|
brief=▒ط▒▒¶▒: 21.2▒▒ , ▒ط▒ʪ▒▒: 43.2%
|
105
|
testSM-0001 10:32:59 RS485-3:9600,n,8,1
|
106
|
SEND: 01 02 27 2C 00 3C B3 66
|
107
|
RECV: 01 02 08 21 00 00 20 54 01 00 00 C7 F1
|
108
|
SEND: 01 04 75 31 00 04 BA 0A
|
109
|
RECV: 01 04 08 00 D4 01 B0 04 EC 00 CA B0 99
|
110
|
t=4942 iaddr=1 iext=0
|
111
|
110029=1
|
112
|
110030=0
|
113
|
110031=0
|
114
|
110032=0
|
115
|
110033=0
|
116
|
110034=1
|
117
|
110035=0
|
118
|
110036=0
|
119
|
110037=0
|
120
|
110038=0
|
121
|
110039=0
|
122
|
110040=0
|
123
|
110041=0
|
124
|
110042=0
|
125
|
110043=0
|
126
|
110044=0
|
127
|
110045=0
|
128
|
110046=0
|
129
|
110047=0
|
130
|
110048=0
|
131
|
110049=0
|
132
|
110050=0
|
133
|
110051=0
|
134
|
110052=0
|
135
|
110053=0
|
136
|
110054=0
|
137
|
110055=0
|
138
|
110056=0
|
139
|
110057=0
|
140
|
110058=1
|
141
|
110059=0
|
142
|
110060=0
|
143
|
110061=0
|
144
|
110062=0
|
145
|
110063=1
|
146
|
110064=0
|
147
|
110065=1
|
148
|
110066=0
|
149
|
110067=1
|
150
|
110068=0
|
151
|
110069=1
|
152
|
110070=0
|
153
|
110071=0
|
154
|
110072=0
|
155
|
110073=0
|
156
|
110074=0
|
157
|
110075=0
|
158
|
110076=0
|
159
|
110077=0
|
160
|
110078=0
|
161
|
110079=0
|
162
|
110080=0
|
163
|
110081=0
|
164
|
110082=0
|
165
|
110083=0
|
166
|
110084=0
|
167
|
110085=0
|
168
|
110086=0
|
169
|
110087=0
|
170
|
110088=0
|
171
|
110089=0
|
172
|
110090=0
|
173
|
110091=0
|
174
|
110092=0
|
175
|
330002=212
|
176
|
330003=432
|
177
|
330004=1260
|
178
|
330005=202
|
179
|
brief=▒ط▒▒¶▒: 21.2▒▒ , ▒ط▒ʪ▒▒: 43.2%
|
180
|
testSM-0002 10:33:00 RS485-3:9600,n,8,1
|
181
|
SEND: 01 02 27 2C 00 3C B3 66
|
182
|
RECV: 01 02 08 21 00 00 20 54 01 00 00 C7 F1
|
183
|
SEND: 01 04 75 31 00 04 BA 0A
|
184
|
^C
|
185
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4942 2 0 0 0 RS485-3:9600,n,8,1
|
186
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
187
|
MemFree: 199840 kB
|
188
|
MemAvailable: 214564 kB
|
189
|
Buffers: 0 kB
|
190
|
!!!MemVsz 0: 4876 KB
|
191
|
SIGRTMAX-1= 63
|
192
|
SerManager new: eea710
|
193
|
!!!MemVsz change: 128 KB
|
194
|
!!!MemVsz change: 5148 KB
|
195
|
!!!MemVsz change: 1248 KB
|
196
|
|
197
|
SMxxx: Type=4942 Addr=2 Port=0 Tag1=0 Ext1=0
|
198
|
|
199
|
SerDef=RS485-3:9600,n,8,1 Type=4942
|
200
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
201
|
testSM SM=eed5b8
|
202
|
CSerCom InitCom: eed8f0 1
|
203
|
CSerCom UpdParams: ComPort: RS485-3, 0, 0
|
204
|
CSerCom::Open: /dev/RS485-3,9600,8,N,0
|
205
|
set serial done+!
|
206
|
RS485-3:9600,n,8,1[110003] open ok!
|
207
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
208
|
MemFree: 199464 kB
|
209
|
MemAvailable: 214188 kB
|
210
|
Buffers: 0 kB
|
211
|
start SMxxx->DataGet ...
|
212
|
SEND: 02 02 27 2C 00 3C B3 55
|
213
|
RECV: 02 02 08 01 00 00 00 54 01 00 00 4B 6A
|
214
|
SEND: 02 04 75 31 00 04 BA 39
|
215
|
RECV: 02 04 08 00 BC 02 06 04 EC 00 91 DE 09
|
216
|
t=4942 iaddr=2 iext=0
|
217
|
110029=1
|
218
|
110030=0
|
219
|
110031=0
|
220
|
110032=0
|
221
|
110033=0
|
222
|
110034=0
|
223
|
110035=0
|
224
|
110036=0
|
225
|
110037=0
|
226
|
110038=0
|
227
|
110039=0
|
228
|
110040=0
|
229
|
110041=0
|
230
|
110042=0
|
231
|
110043=0
|
232
|
110044=0
|
233
|
110045=0
|
234
|
110046=0
|
235
|
110047=0
|
236
|
110048=0
|
237
|
110049=0
|
238
|
110050=0
|
239
|
110051=0
|
240
|
110052=0
|
241
|
110053=0
|
242
|
110054=0
|
243
|
110055=0
|
244
|
110056=0
|
245
|
110057=0
|
246
|
110058=0
|
247
|
110059=0
|
248
|
110060=0
|
249
|
110061=0
|
250
|
110062=0
|
251
|
110063=1
|
252
|
110064=0
|
253
|
110065=1
|
254
|
110066=0
|
255
|
110067=1
|
256
|
110068=0
|
257
|
110069=1
|
258
|
110070=0
|
259
|
110071=0
|
260
|
110072=0
|
261
|
110073=0
|
262
|
110074=0
|
263
|
110075=0
|
264
|
110076=0
|
265
|
110077=0
|
266
|
110078=0
|
267
|
110079=0
|
268
|
110080=0
|
269
|
110081=0
|
270
|
110082=0
|
271
|
110083=0
|
272
|
110084=0
|
273
|
110085=0
|
274
|
110086=0
|
275
|
110087=0
|
276
|
110088=0
|
277
|
110089=0
|
278
|
110090=0
|
279
|
110091=0
|
280
|
110092=0
|
281
|
330002=188
|
282
|
330003=518
|
283
|
330004=1260
|
284
|
330005=145
|
285
|
brief=▒ط▒▒¶▒: 18.8▒▒ , ▒ط▒ʪ▒▒: 51.8%
|
286
|
^C
|
287
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4942 2 0 0 0 RS485-3:9600,n,8,1
|
288
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
289
|
MemFree: 201620 kB
|
290
|
MemAvailable: 216460 kB
|
291
|
Buffers: 0 kB
|
292
|
!!!MemVsz 0: 4876 KB
|
293
|
SIGRTMAX-1= 63
|
294
|
SerManager new: 41a710
|
295
|
!!!MemVsz change: 128 KB
|
296
|
!!!MemVsz change: 5148 KB
|
297
|
!!!MemVsz change: 1248 KB
|
298
|
|
299
|
SMxxx: Type=4942 Addr=2 Port=0 Tag1=0 Ext1=0
|
300
|
|
301
|
SerDef=RS485-3:9600,n,8,1 Type=4942
|
302
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
303
|
testSM SM=41d5b8
|
304
|
CSerCom InitCom: 41d8f0 1
|
305
|
CSerCom UpdParams: ComPort: RS485-3, 0, 0
|
306
|
CSerCom::Open: /dev/RS485-3,9600,8,N,0
|
307
|
set serial done+!
|
308
|
RS485-3:9600,n,8,1[110003] open ok!
|
309
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
310
|
MemFree: 201312 kB
|
311
|
MemAvailable: 216152 kB
|
312
|
Buffers: 0 kB
|
313
|
start SMxxx->DataGet ...
|
314
|
SEND: 02 02 27 2C 00 3C B3 55
|
315
|
RECV: 02 02 08 03 01 00 40 54 01 00 00 DB BC
|
316
|
SEND: 02 02 27 68 00 3C F3 40
|
317
|
RECV: 02 02 08 00 00 00 00 00 00 00 00 CB 56
|
318
|
SEND: 02 02 27 A4 00 03 73 6F
|
319
|
RECV: 02 02 01 00 A1 CC
|
320
|
SEND: 02 04 75 31 00 04 BA 39
|
321
|
RECV: 02 04 08 00 C0 02 04 04 EC 00 98 DA 08
|
322
|
SEND: 02 04 75 52 00 01 8A 24
|
323
|
RECV: 02 04 02 00 00 FD 30
|
324
|
t=4942 iaddr=2 iext=0
|
325
|
110029=1
|
326
|
110030=1
|
327
|
110031=0
|
328
|
110032=0
|
329
|
110033=0
|
330
|
110034=0
|
331
|
110035=0
|
332
|
110036=0
|
333
|
110037=1
|
334
|
110038=0
|
335
|
110039=0
|
336
|
110040=0
|
337
|
110041=0
|
338
|
110042=0
|
339
|
110043=0
|
340
|
110044=0
|
341
|
110045=0
|
342
|
110046=0
|
343
|
110047=0
|
344
|
110048=0
|
345
|
110049=0
|
346
|
110050=0
|
347
|
110051=0
|
348
|
110052=0
|
349
|
110053=0
|
350
|
110054=0
|
351
|
110055=0
|
352
|
110056=0
|
353
|
110057=0
|
354
|
110058=0
|
355
|
110059=1
|
356
|
110060=0
|
357
|
110061=0
|
358
|
110062=0
|
359
|
110063=1
|
360
|
110064=0
|
361
|
110065=1
|
362
|
110066=0
|
363
|
110067=1
|
364
|
110068=0
|
365
|
110069=1
|
366
|
110070=0
|
367
|
110071=0
|
368
|
110072=0
|
369
|
110073=0
|
370
|
110074=0
|
371
|
110075=0
|
372
|
110076=0
|
373
|
110077=0
|
374
|
110078=0
|
375
|
110079=0
|
376
|
110080=0
|
377
|
110081=0
|
378
|
110082=0
|
379
|
110083=0
|
380
|
110084=0
|
381
|
110085=0
|
382
|
110086=0
|
383
|
110087=0
|
384
|
110088=0
|
385
|
110089=0
|
386
|
110090=0
|
387
|
110091=0
|
388
|
110092=0
|
389
|
110093=0
|
390
|
110094=0
|
391
|
110095=0
|
392
|
110096=0
|
393
|
110097=0
|
394
|
110098=0
|
395
|
110099=0
|
396
|
110100=0
|
397
|
110101=0
|
398
|
110102=0
|
399
|
110103=0
|
400
|
110104=0
|
401
|
110105=0
|
402
|
110106=0
|
403
|
110107=0
|
404
|
110108=0
|
405
|
110109=0
|
406
|
110110=0
|
407
|
110111=0
|
408
|
110112=0
|
409
|
110113=0
|
410
|
110114=0
|
411
|
110115=0
|
412
|
110116=0
|
413
|
110117=0
|
414
|
110118=0
|
415
|
110119=0
|
416
|
110120=0
|
417
|
110121=0
|
418
|
110122=0
|
419
|
110123=0
|
420
|
110124=0
|
421
|
110125=0
|
422
|
110126=0
|
423
|
110127=0
|
424
|
110128=0
|
425
|
110129=0
|
426
|
110130=0
|
427
|
110131=0
|
428
|
110132=0
|
429
|
110133=0
|
430
|
110134=0
|
431
|
110135=0
|
432
|
110136=0
|
433
|
110137=0
|
434
|
110138=0
|
435
|
110139=0
|
436
|
110140=0
|
437
|
110141=0
|
438
|
110142=0
|
439
|
110143=0
|
440
|
110144=0
|
441
|
110145=0
|
442
|
110146=0
|
443
|
110147=0
|
444
|
110148=0
|
445
|
110149=0
|
446
|
110150=0
|
447
|
110151=0
|
448
|
110152=0
|
449
|
110153=0
|
450
|
110154=0
|
451
|
110155=0
|
452
|
110156=0
|
453
|
330002=192
|
454
|
330003=516
|
455
|
330004=1260
|
456
|
330005=152
|
457
|
330035=0
|
458
|
brief=▒ط▒▒¶▒: 19.2▒▒ , ▒ط▒ʪ▒▒: 51.6%
|
459
|
testSM-0001 10:55:01 RS485-3:9600,n,8,1
|
460
|
SEND: 02 02 27 2C 00 3C B3 55
|
461
|
RECV: 02 02 08 03 01 00 40 54 01 00 00 DB BC
|
462
|
SEND: 02 02 27 68 00 3C F3 40
|
463
|
RECV: 02 02 08 00 00 00 00 00 00 00 00 CB 56
|
464
|
SEND: 02 02 27 A4 00 03 73 6F
|
465
|
RECV: 02 02 01 00 A1 CC
|
466
|
SEND: 02 04 75 31 00 04 BA 39
|
467
|
RECV: 02 04 08 00 C0 02 02 04 EC 00 96 D3 CC
|
468
|
SEND: 02 04 75 52 00 01 8A 24
|
469
|
RECV: 81 04 02 00 00 FD 30
|
470
|
Err crc!!! file = SMModbus.cpp line=310 crc:b8 ee,crcbak:fd 30
|
471
|
testSM-0002 10:55:04 RS485-3:9600,n,8,1
|
472
|
SEND: 02 02 27 2C 00 3C B3 55
|
473
|
RECV: 02 02 08 03 01 00 40 54 01 00 00 DB BC
|
474
|
SEND: 02 02 27 68 00 3C F3 40
|
475
|
RECV: 02 02 08 00 00 00 00 00 00 00 00 CB 56
|
476
|
SEND: 02 02 27 A4 00 03 73 6F
|
477
|
RECV: 02 02 01 00 A1 CC
|
478
|
SEND: 02 04 75 31 00 04 BA 39
|
479
|
RECV: 02 04 08 00 C0 02 02 04 EC 00 95 93 CD
|
480
|
SEND: 02 04 75 52 00 01 8A 24
|
481
|
RECV: 02 04 02 00 00 FD 30
|
482
|
t=4942 iaddr=2 iext=0
|
483
|
110029=1
|
484
|
110030=1
|
485
|
110031=0
|
486
|
110032=0
|
487
|
110033=0
|
488
|
110034=0
|
489
|
110035=0
|
490
|
110036=0
|
491
|
110037=1
|
492
|
110038=0
|
493
|
110039=0
|
494
|
110040=0
|
495
|
110041=0
|
496
|
110042=0
|
497
|
110043=0
|
498
|
110044=0
|
499
|
110045=0
|
500
|
110046=0
|
501
|
110047=0
|
502
|
110048=0
|
503
|
110049=0
|
504
|
110050=0
|
505
|
110051=0
|
506
|
110052=0
|
507
|
110053=0
|
508
|
110054=0
|
509
|
110055=0
|
510
|
110056=0
|
511
|
110057=0
|
512
|
110058=0
|
513
|
110059=1
|
514
|
110060=0
|
515
|
110061=0
|
516
|
110062=0
|
517
|
110063=1
|
518
|
110064=0
|
519
|
110065=1
|
520
|
110066=0
|
521
|
110067=1
|
522
|
110068=0
|
523
|
110069=1
|
524
|
110070=0
|
525
|
110071=0
|
526
|
110072=0
|
527
|
110073=0
|
528
|
110074=0
|
529
|
110075=0
|
530
|
110076=0
|
531
|
110077=0
|
532
|
110078=0
|
533
|
110079=0
|
534
|
110080=0
|
535
|
110081=0
|
536
|
110082=0
|
537
|
110083=0
|
538
|
110084=0
|
539
|
110085=0
|
540
|
110086=0
|
541
|
110087=0
|
542
|
110088=0
|
543
|
110089=0
|
544
|
110090=0
|
545
|
110091=0
|
546
|
110092=0
|
547
|
110093=0
|
548
|
110094=0
|
549
|
110095=0
|
550
|
110096=0
|
551
|
110097=0
|
552
|
110098=0
|
553
|
110099=0
|
554
|
110100=0
|
555
|
110101=0
|
556
|
110102=0
|
557
|
110103=0
|
558
|
110104=0
|
559
|
110105=0
|
560
|
110106=0
|
561
|
110107=0
|
562
|
110108=0
|
563
|
110109=0
|
564
|
110110=0
|
565
|
110111=0
|
566
|
110112=0
|
567
|
110113=0
|
568
|
110114=0
|
569
|
110115=0
|
570
|
110116=0
|
571
|
110117=0
|
572
|
110118=0
|
573
|
110119=0
|
574
|
110120=0
|
575
|
110121=0
|
576
|
110122=0
|
577
|
110123=0
|
578
|
110124=0
|
579
|
110125=0
|
580
|
110126=0
|
581
|
110127=0
|
582
|
110128=0
|
583
|
110129=0
|
584
|
110130=0
|
585
|
110131=0
|
586
|
110132=0
|
587
|
110133=0
|
588
|
110134=0
|
589
|
110135=0
|
590
|
110136=0
|
591
|
110137=0
|
592
|
110138=0
|
593
|
110139=0
|
594
|
110140=0
|
595
|
110141=0
|
596
|
110142=0
|
597
|
110143=0
|
598
|
110144=0
|
599
|
110145=0
|
600
|
110146=0
|
601
|
110147=0
|
602
|
110148=0
|
603
|
110149=0
|
604
|
110150=0
|
605
|
110151=0
|
606
|
110152=0
|
607
|
110153=0
|
608
|
110154=0
|
609
|
110155=0
|
610
|
110156=0
|
611
|
330002=192
|
612
|
330003=514
|
613
|
330004=1260
|
614
|
330005=149
|
615
|
330035=0
|
616
|
brief=▒ط▒▒¶▒: 19.2▒▒ , ▒ط▒ʪ▒▒: 51.4%
|
617
|
^C
|
618
|
[root@OM-A6-T300A:NandFlash]#
|