1
|
login as: root
|
2
|
root@192.168.0.16's password:
|
3
|
root@OM-A6-X500:~# cd /NandFlash
|
4
|
root@OM-A6-X500:/NandFlash# ls
|
5
|
SM/ libomdb.so* omAppPost* omOneNetPost.ini
|
6
|
dbCfg.db3* libomdev.so* omAppPost.ini omTray*
|
7
|
dbData.db3 libomser.so* omAppSU* omTray.ini
|
8
|
dbLog.db3 libomserd.so* omAppSU.ini omapp.conf*
|
9
|
hwtest* libomsm.so* omDemo1* sscomx*
|
10
|
hwtest.ini* libomsuw.so* omMonitor.ini tmp/
|
11
|
libomalm.so omApp.ini omOneNetPost* www/
|
12
|
root@OM-A6-X500:/NandFlash# ./sscomx
|
13
|
Input the com prot: ttymxc1
|
14
|
baudrate: 2400
|
15
|
Parity(n\o\e): n
|
16
|
DataBit(5\6\7\8): 8
|
17
|
StopBit(1\2): 1
|
18
|
data types:
|
19
|
1. hex
|
20
|
2. ascii
|
21
|
select data type: 1
|
22
|
select com prot: /dev/ttymxc1, 2400, n, 8, 1 for hex
|
23
|
send: 01 02 04 01 00 02 A9 3B
|
24
|
no data receive!
|
25
|
send: 01 02 04 01 00 02 A9 3B
|
26
|
no data receive!
|
27
|
send: 01 02 04 01 00 02 A9 3B
|
28
|
no data receive!
|
29
|
send: 01 04 01 51 00 03 E0 26
|
30
|
no data receive!
|
31
|
send: 01 04 01 51 00 03 E0 26
|
32
|
no data receive!
|
33
|
send: 01 04 01 51 00 03 E0 26
|
34
|
no data receive!
|
35
|
send: ^C
|
36
|
root@OM-A6-X500:/NandFlash# ./sscomx
|
37
|
Input the com prot: ttymxc1
|
38
|
baudrate: 4800
|
39
|
Parity(n\o\e): n
|
40
|
DataBit(5\6\7\8): 8
|
41
|
StopBit(1\2): 1
|
42
|
data types:
|
43
|
1. hex
|
44
|
2. ascii
|
45
|
select data type: 1
|
46
|
select com prot: /dev/ttymxc1, 4800, n, 8, 1 for hex
|
47
|
send: 01 02 04 01 00 02 A9 3B
|
48
|
no data receive!
|
49
|
send: 01 02 04 01 00 02 A9 3B
|
50
|
no data receive!
|
51
|
send: 01 02 04 01 00 02 A9 3B
|
52
|
no data receive!
|
53
|
send: 01 02 04 01 00 02 A9 3B
|
54
|
no data receive!
|
55
|
send: 01 04 01 51 00 03 E0 26
|
56
|
no data receive!
|
57
|
send: 01 04 01 51 00 03 E0 26
|
58
|
no data receive!
|
59
|
send: 01 04 01 51 00 03 E0 26
|
60
|
no data receive!
|
61
|
send: ^C
|
62
|
root@OM-A6-X500:/NandFlash# ./sscomx
|
63
|
Input the com prot: ttymxc1
|
64
|
baudrate: 9600
|
65
|
Parity(n\o\e): n
|
66
|
DataBit(5\6\7\8): 8
|
67
|
StopBit(1\2): 1
|
68
|
data types:
|
69
|
1. hex
|
70
|
2. ascii
|
71
|
select data type: 1
|
72
|
select com prot: /dev/ttymxc1, 9600, n, 8, 1 for hex
|
73
|
send: 01 04 01 51 00 03 E0 26
|
74
|
no data receive!
|
75
|
send: 01 04 01 51 00 03 E0 26
|
76
|
no data receive!
|
77
|
send: 01 04 01 51 00 03 E0 26
|
78
|
no data receive!
|
79
|
send: 01 04 01 51 00 03 E0 26
|
80
|
no data receive!
|
81
|
send: 01 02 04 01 00 02 A9 3B
|
82
|
no data receive!
|
83
|
send: 01 02 04 01 00 02 A9 3B
|
84
|
no data receive!
|
85
|
send: 01 02 04 01 00 02 A9 3B
|
86
|
no data receive!
|
87
|
send:
|
88
|
root@OM-A6-X500:/NandFlash# ./omDemo1 786 1 0 0 0 ttymxc1:2400,n,8,1
|
89
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
90
|
MemFree: 173208 kB
|
91
|
MemAvailable: 188976 kB
|
92
|
Buffers: 0 kB
|
93
|
!!!MemVsz 0: 4876 KB
|
94
|
SIGRTMAX-1= 63
|
95
|
!!!MemVsz change: 684 KB
|
96
|
!!!MemVsz change: 6260 KB
|
97
|
!!!MemVsz change: 1248 KB
|
98
|
|
99
|
SMxxx: Type=786 Addr=1 Port=0 Tag1=0 Ext1=0
|
100
|
|
101
|
SerDef=ttymxc1:2400,n,8,1 Type=786
|
102
|
testSM SM=c5b390
|
103
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
104
|
MemFree: 172840 kB
|
105
|
MemAvailable: 188628 kB
|
106
|
Buffers: 0 kB
|
107
|
start SMxxx->DataGet ...
|
108
|
testSM-0001 19:37:39 ttymxc1:2400,n,8,1
|
109
|
testSM-0002 19:37:41 ttymxc1:2400,n,8,1
|
110
|
^C
|
111
|
root@OM-A6-X500:/NandFlash# ./omDemo1 786 1 0 0 0 ttymxc1:2400,n,8,1
|
112
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
113
|
MemFree: 173044 kB
|
114
|
MemAvailable: 188832 kB
|
115
|
Buffers: 0 kB
|
116
|
!!!MemVsz 0: 4876 KB
|
117
|
SIGRTMAX-1= 63
|
118
|
SerManager new: 1af3708
|
119
|
!!!MemVsz change: 652 KB
|
120
|
!!!MemVsz change: 6260 KB
|
121
|
!!!MemVsz change: 1248 KB
|
122
|
|
123
|
SMxxx: Type=786 Addr=1 Port=0 Tag1=0 Ext1=0
|
124
|
|
125
|
SerDef=ttymxc1:2400,n,8,1 Type=786
|
126
|
testSM SM=1af6390
|
127
|
CSerCom InitCom: 1af64e8 1
|
128
|
CSerCom UpdParams: ComPort: ttymxc1, 0, 0
|
129
|
CSerCom::Open: /dev/ttymxc1,2400,8,N,0
|
130
|
set serial done+!
|
131
|
ttymxc1:2400,n,8,1[100001] open ok!
|
132
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
133
|
MemFree: 172316 kB
|
134
|
MemAvailable: 188384 kB
|
135
|
Buffers: 0 kB
|
136
|
start SMxxx->DataGet ...
|
137
|
SEND: 01 04 01 01 00 52 21 CB
|
138
|
RECV:
|
139
|
testSM-0001 19:40:26 ttymxc1:2400,n,8,1
|
140
|
SEND: 01 04 01 01 00 52 21 CB
|
141
|
RECV:
|
142
|
testSM-0002 19:40:28 ttymxc1:2400,n,8,1
|
143
|
SEND: 01 04 01 01 00 52 21 CB
|
144
|
RECV:
|
145
|
testSM-0003 19:40:29 ttymxc1:2400,n,8,1
|
146
|
SEND: 01 04 01 01 00 52 21 CB
|
147
|
RECV:
|
148
|
testSM-0004 19:40:31 ttymxc1:2400,n,8,1
|
149
|
SEND: 01 04 01 01 00 52 21 CB
|
150
|
RECV:
|
151
|
testSM-0005 19:40:32 ttymxc1:2400,n,8,1
|
152
|
SEND: 01 04 01 01 00 52 21 CB
|
153
|
RECV:
|
154
|
^C
|
155
|
root@OM-A6-X500:/NandFlash# ./omDemo1 786 1 0 0 0 ttymxc1:4800,n,8,1
|
156
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
157
|
MemFree: 172672 kB
|
158
|
MemAvailable: 188748 kB
|
159
|
Buffers: 0 kB
|
160
|
!!!MemVsz 0: 4876 KB
|
161
|
SIGRTMAX-1= 63
|
162
|
SerManager new: 1a0708
|
163
|
!!!MemVsz change: 652 KB
|
164
|
!!!MemVsz change: 6260 KB
|
165
|
!!!MemVsz change: 1248 KB
|
166
|
|
167
|
SMxxx: Type=786 Addr=1 Port=0 Tag1=0 Ext1=0
|
168
|
|
169
|
SerDef=ttymxc1:4800,n,8,1 Type=786
|
170
|
testSM SM=1a3390
|
171
|
CSerCom InitCom: 1a34e8 1
|
172
|
CSerCom UpdParams: ComPort: ttymxc1, 0, 0
|
173
|
CSerCom::Open: /dev/ttymxc1,4800,8,N,0
|
174
|
set serial done+!
|
175
|
ttymxc1:4800,n,8,1[100001] open ok!
|
176
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
177
|
MemFree: 172364 kB
|
178
|
MemAvailable: 188444 kB
|
179
|
Buffers: 0 kB
|
180
|
start SMxxx->DataGet ...
|
181
|
SEND: 01 04 01 01 00 52 21 CB
|
182
|
RECV:
|
183
|
testSM-0001 19:40:58 ttymxc1:4800,n,8,1
|
184
|
SEND: 01 04 01 01 00 52 21 CB
|
185
|
RECV:
|
186
|
testSM-0002 19:41:00 ttymxc1:4800,n,8,1
|
187
|
SEND: 01 04 01 01 00 52 21 CB
|
188
|
RECV:
|
189
|
testSM-0003 19:41:01 ttymxc1:4800,n,8,1
|
190
|
SEND: 01 04 01 01 00 52 21 CB
|
191
|
RECV:
|
192
|
testSM-0004 19:41:03 ttymxc1:4800,n,8,1
|
193
|
SEND: 01 04 01 01 00 52 21 CB
|
194
|
RECV:
|
195
|
testSM-0005 19:41:04 ttymxc1:4800,n,8,1
|
196
|
SEND: 01 04 01 01 00 52 21 CB
|
197
|
RECV:
|
198
|
testSM-0006 19:41:06 ttymxc1:4800,n,8,1
|
199
|
SEND: 01 04 01 01 00 52 21 CB
|
200
|
RECV:
|
201
|
testSM-0007 19:41:07 ttymxc1:4800,n,8,1
|
202
|
SEND: 01 04 01 01 00 52 21 CB
|
203
|
RECV:
|
204
|
testSM-0008 19:41:09 ttymxc1:4800,n,8,1
|
205
|
SEND: 01 04 01 01 00 52 21 CB
|
206
|
RECV:
|
207
|
testSM-0009 19:41:10 ttymxc1:4800,n,8,1
|
208
|
SEND: 01 04 01 01 00 52 21 CB
|
209
|
RECV:
|
210
|
testSM-0010 19:41:12 ttymxc1:4800,n,8,1
|
211
|
SEND: 01 04 01 01 00 52 21 CB
|
212
|
RECV:
|
213
|
testSM-0011 19:41:13 ttymxc1:4800,n,8,1
|
214
|
SEND: 01 04 01 01 00 52 21 CB
|
215
|
RECV:
|
216
|
testSM-0012 19:41:15 ttymxc1:4800,n,8,1
|
217
|
SEND: 01 04 01 01 00 52 21 CB
|
218
|
RECV:
|
219
|
^C
|
220
|
root@OM-A6-X500:/NandFlash# ./omDemo1 786 1 0 0 0 ttymxc1:9600,n,8,1
|
221
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
222
|
MemFree: 172640 kB
|
223
|
MemAvailable: 188720 kB
|
224
|
Buffers: 0 kB
|
225
|
!!!MemVsz 0: 4876 KB
|
226
|
SIGRTMAX-1= 63
|
227
|
SerManager new: 66a708
|
228
|
!!!MemVsz change: 652 KB
|
229
|
!!!MemVsz change: 6260 KB
|
230
|
!!!MemVsz change: 1248 KB
|
231
|
|
232
|
SMxxx: Type=786 Addr=1 Port=0 Tag1=0 Ext1=0
|
233
|
|
234
|
SerDef=ttymxc1:9600,n,8,1 Type=786
|
235
|
testSM SM=66d390
|
236
|
CSerCom InitCom: 66d4e8 1
|
237
|
CSerCom UpdParams: ComPort: ttymxc1, 0, 0
|
238
|
CSerCom::Open: /dev/ttymxc1,9600,8,N,0
|
239
|
set serial done+!
|
240
|
ttymxc1:9600,n,8,1[100001] open ok!
|
241
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
242
|
MemFree: 172212 kB
|
243
|
MemAvailable: 188292 kB
|
244
|
Buffers: 0 kB
|
245
|
start SMxxx->DataGet ...
|
246
|
SEND: 01 04 01 01 00 52 21 CB
|
247
|
RECV:
|
248
|
testSM-0001 19:44:06 ttymxc1:9600,n,8,1
|
249
|
SEND: 01 04 01 01 00 52 21 CB
|
250
|
RECV:
|
251
|
testSM-0002 19:44:07 ttymxc1:9600,n,8,1
|
252
|
SEND: 01 04 01 01 00 52 21 CB
|
253
|
RECV:
|
254
|
testSM-0003 19:44:09 ttymxc1:9600,n,8,1
|
255
|
SEND: 01 04 01 01 00 52 21 CB
|
256
|
RECV:
|
257
|
testSM-0004 19:44:10 ttymxc1:9600,n,8,1
|
258
|
SEND: 01 04 01 01 00 52 21 CB
|
259
|
RECV:
|
260
|
^C
|
261
|
root@OM-A6-X500:/NandFlash# ./omDemo1 786 1 0 1 0 ttymxc1:9600,n,8,1
|
262
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
263
|
MemFree: 172632 kB
|
264
|
MemAvailable: 188712 kB
|
265
|
Buffers: 0 kB
|
266
|
!!!MemVsz 0: 4876 KB
|
267
|
SIGRTMAX-1= 63
|
268
|
SerManager new: 16f6708
|
269
|
!!!MemVsz change: 652 KB
|
270
|
!!!MemVsz change: 6260 KB
|
271
|
!!!MemVsz change: 1248 KB
|
272
|
|
273
|
SMxxx: Type=786 Addr=1 Port=0 Tag1=1 Ext1=0
|
274
|
|
275
|
SerDef=ttymxc1:9600,n,8,1 Type=786
|
276
|
testSM SM=16f9390
|
277
|
CSerCom InitCom: 16f94e8 1
|
278
|
CSerCom UpdParams: ComPort: ttymxc1, 0, 0
|
279
|
CSerCom::Open: /dev/ttymxc1,9600,8,N,0
|
280
|
set serial done+!
|
281
|
ttymxc1:9600,n,8,1[100001] open ok!
|
282
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
283
|
MemFree: 172384 kB
|
284
|
MemAvailable: 188464 kB
|
285
|
Buffers: 0 kB
|
286
|
start SMxxx->DataGet ...
|
287
|
SEND: 16
|
288
|
RECV:
|
289
|
SEND: 16
|
290
|
RECV:
|
291
|
SEND: 16
|
292
|
RECV:
|
293
|
SEND: 16
|
294
|
RECV:
|
295
|
SEND: 16
|
296
|
RECV:
|
297
|
^C
|
298
|
root@OM-A6-X500:/NandFlash# ./omDemo1 786 1 0 1 0 ttymxc1:2400,n,8,1
|
299
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
300
|
MemFree: 172684 kB
|
301
|
MemAvailable: 188764 kB
|
302
|
Buffers: 0 kB
|
303
|
!!!MemVsz 0: 4876 KB
|
304
|
SIGRTMAX-1= 63
|
305
|
SerManager new: f99708
|
306
|
!!!MemVsz change: 652 KB
|
307
|
!!!MemVsz change: 6260 KB
|
308
|
!!!MemVsz change: 1248 KB
|
309
|
|
310
|
SMxxx: Type=786 Addr=1 Port=0 Tag1=1 Ext1=0
|
311
|
|
312
|
SerDef=ttymxc1:2400,n,8,1 Type=786
|
313
|
testSM SM=f9c390
|
314
|
CSerCom InitCom: f9c4e8 1
|
315
|
CSerCom UpdParams: ComPort: ttymxc1, 0, 0
|
316
|
CSerCom::Open: /dev/ttymxc1,2400,8,N,0
|
317
|
set serial done+!
|
318
|
ttymxc1:2400,n,8,1[100001] open ok!
|
319
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
320
|
MemFree: 172316 kB
|
321
|
MemAvailable: 188396 kB
|
322
|
Buffers: 0 kB
|
323
|
start SMxxx->DataGet ...
|
324
|
SEND: 16
|
325
|
RECV:
|
326
|
SEND: 16
|
327
|
RECV:
|
328
|
SEND: 16
|
329
|
RECV:
|
330
|
SEND: 16
|
331
|
RECV:
|
332
|
SEND: 16
|
333
|
RECV:
|
334
|
testSM-0001 19:44:35 ttymxc1:2400,n,8,1
|
335
|
SEND: 16
|
336
|
^C
|
337
|
root@OM-A6-X500:/NandFlash# ./omDemo1 786 1 0 1 0 ttymxc1:4800,n,8,1
|
338
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
339
|
MemFree: 172580 kB
|
340
|
MemAvailable: 188664 kB
|
341
|
Buffers: 0 kB
|
342
|
!!!MemVsz 0: 4876 KB
|
343
|
SIGRTMAX-1= 63
|
344
|
SerManager new: fbc708
|
345
|
!!!MemVsz change: 652 KB
|
346
|
!!!MemVsz change: 6260 KB
|
347
|
!!!MemVsz change: 1248 KB
|
348
|
|
349
|
SMxxx: Type=786 Addr=1 Port=0 Tag1=1 Ext1=0
|
350
|
|
351
|
SerDef=ttymxc1:4800,n,8,1 Type=786
|
352
|
testSM SM=fbf390
|
353
|
CSerCom InitCom: fbf4e8 1
|
354
|
CSerCom UpdParams: ComPort: ttymxc1, 0, 0
|
355
|
CSerCom::Open: /dev/ttymxc1,4800,8,N,0
|
356
|
set serial done+!
|
357
|
ttymxc1:4800,n,8,1[100001] open ok!
|
358
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
359
|
MemFree: 172092 kB
|
360
|
MemAvailable: 188176 kB
|
361
|
Buffers: 0 kB
|
362
|
start SMxxx->DataGet ...
|
363
|
SEND: 16
|
364
|
RECV:
|
365
|
SEND: 16
|
366
|
RECV:
|
367
|
SEND: 16
|
368
|
RECV:
|
369
|
SEND: 16
|
370
|
RECV:
|
371
|
SEND: 16
|
372
|
RECV:
|
373
|
testSM-0001 19:46:44 ttymxc1:4800,n,8,1
|
374
|
SEND: 16
|
375
|
RECV:
|
376
|
SEND: 16
|
377
|
RECV:
|
378
|
SEND: 16
|
379
|
RECV:
|
380
|
SEND: 16
|
381
|
RECV:
|
382
|
SEND: 16
|
383
|
^C
|
384
|
root@OM-A6-X500:/NandFlash# ./omDemo1 786 1 0 1 0 ttymxc1:9600,n,8,1
|
385
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
386
|
MemFree: 172540 kB
|
387
|
MemAvailable: 188624 kB
|
388
|
Buffers: 0 kB
|
389
|
!!!MemVsz 0: 4876 KB
|
390
|
SIGRTMAX-1= 63
|
391
|
SerManager new: 7f9708
|
392
|
!!!MemVsz change: 652 KB
|
393
|
!!!MemVsz change: 6260 KB
|
394
|
!!!MemVsz change: 1248 KB
|
395
|
|
396
|
SMxxx: Type=786 Addr=1 Port=0 Tag1=1 Ext1=0
|
397
|
|
398
|
SerDef=ttymxc1:9600,n,8,1 Type=786
|
399
|
testSM SM=7fc390
|
400
|
CSerCom InitCom: 7fc4e8 1
|
401
|
CSerCom UpdParams: ComPort: ttymxc1, 0, 0
|
402
|
CSerCom::Open: /dev/ttymxc1,9600,8,N,0
|
403
|
set serial done+!
|
404
|
ttymxc1:9600,n,8,1[100001] open ok!
|
405
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
406
|
MemFree: 172052 kB
|
407
|
MemAvailable: 188136 kB
|
408
|
Buffers: 0 kB
|
409
|
start SMxxx->DataGet ...
|
410
|
SEND: 16
|
411
|
RECV:
|
412
|
SEND: 16
|
413
|
RECV:
|
414
|
SEND: 16
|
415
|
RECV:
|
416
|
SEND: 16
|
417
|
RECV:
|
418
|
SEND: 16
|
419
|
RECV:
|
420
|
testSM-0001 19:46:58 ttymxc1:9600,n,8,1
|
421
|
SEND: 16
|
422
|
RECV:
|
423
|
SEND: 16
|
424
|
RECV:
|
425
|
SEND: 16
|
426
|
RECV:
|
427
|
SEND: 16
|
428
|
RECV:
|
429
|
SEND: 16
|
430
|
RECV:
|
431
|
testSM-0002 19:47:02 ttymxc1:9600,n,8,1
|
432
|
SEND: 16
|
433
|
RECV:
|
434
|
SEND: 16
|
435
|
^C
|
436
|
root@OM-A6-X500:/NandFlash# ./omDemo1 786 1 0 1 0 ttymxc1:1200,n,8,1
|
437
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
438
|
MemFree: 172532 kB
|
439
|
MemAvailable: 188616 kB
|
440
|
Buffers: 0 kB
|
441
|
!!!MemVsz 0: 4876 KB
|
442
|
SIGRTMAX-1= 63
|
443
|
SerManager new: 1bfc708
|
444
|
!!!MemVsz change: 652 KB
|
445
|
!!!MemVsz change: 6260 KB
|
446
|
!!!MemVsz change: 1248 KB
|
447
|
|
448
|
SMxxx: Type=786 Addr=1 Port=0 Tag1=1 Ext1=0
|
449
|
|
450
|
SerDef=ttymxc1:1200,n,8,1 Type=786
|
451
|
testSM SM=1bff390
|
452
|
CSerCom InitCom: 1bff4e8 1
|
453
|
CSerCom UpdParams: ComPort: ttymxc1, 0, 0
|
454
|
CSerCom::Open: /dev/ttymxc1,1200,8,N,0
|
455
|
set serial done+!
|
456
|
ttymxc1:1200,n,8,1[100001] open ok!
|
457
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
458
|
MemFree: 172224 kB
|
459
|
MemAvailable: 188308 kB
|
460
|
Buffers: 0 kB
|
461
|
start SMxxx->DataGet ...
|
462
|
SEND: 16
|
463
|
RECV:
|
464
|
SEND: 16
|
465
|
RECV:
|
466
|
SEND: 16
|
467
|
RECV:
|
468
|
SEND: 16
|
469
|
RECV:
|
470
|
SEND: 16
|
471
|
RECV:
|
472
|
testSM-0001 19:47:23 ttymxc1:1200,n,8,1
|
473
|
SEND: 16
|
474
|
RECV:
|
475
|
SEND: 16
|
476
|
RECV:
|
477
|
SEND: 16
|
478
|
RECV:
|
479
|
SEND: 16
|
480
|
RECV:
|
481
|
SEND: 16
|
482
|
RECV:
|
483
|
^C
|
484
|
root@OM-A6-X500:/NandFlash# ./omDemo1 786 1 0 0 0 ttymxc1:1200,n,8,1
|
485
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
486
|
MemFree: 172452 kB
|
487
|
MemAvailable: 188536 kB
|
488
|
Buffers: 0 kB
|
489
|
!!!MemVsz 0: 4876 KB
|
490
|
SIGRTMAX-1= 63
|
491
|
SerManager new: 1c8f708
|
492
|
!!!MemVsz change: 652 KB
|
493
|
!!!MemVsz change: 6260 KB
|
494
|
!!!MemVsz change: 1248 KB
|
495
|
|
496
|
SMxxx: Type=786 Addr=1 Port=0 Tag1=0 Ext1=0
|
497
|
|
498
|
SerDef=ttymxc1:1200,n,8,1 Type=786
|
499
|
testSM SM=1c92390
|
500
|
CSerCom InitCom: 1c924e8 1
|
501
|
CSerCom UpdParams: ComPort: ttymxc1, 0, 0
|
502
|
CSerCom::Open: /dev/ttymxc1,1200,8,N,0
|
503
|
set serial done+!
|
504
|
ttymxc1:1200,n,8,1[100001] open ok!
|
505
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
506
|
MemFree: 172144 kB
|
507
|
MemAvailable: 188228 kB
|
508
|
Buffers: 0 kB
|
509
|
start SMxxx->DataGet ...
|
510
|
SEND: 01 04 01 01 00 52 21 CB
|
511
|
RECV:
|
512
|
testSM-0001 19:47:55 ttymxc1:1200,n,8,1
|
513
|
SEND: 01 04 01 01 00 52 21 CB
|
514
|
RECV:
|
515
|
testSM-0002 19:47:57 ttymxc1:1200,n,8,1
|
516
|
SEND: 01 04 01 01 00 52 21 CB
|
517
|
RECV:
|
518
|
testSM-0003 19:47:58 ttymxc1:1200,n,8,1
|
519
|
SEND: 01 04 01 01 00 52 21 CB
|
520
|
RECV:
|
521
|
^C
|
522
|
root@OM-A6-X500:/NandFlash# ^C
|
523
|
root@OM-A6-X500:/NandFlash# ./sscomx
|
524
|
Input the com prot: ttymxc1
|
525
|
baudrate: 1200
|
526
|
Parity(n\o\e): n
|
527
|
DataBit(5\6\7\8): 8
|
528
|
StopBit(1\2): 1
|
529
|
data types:
|
530
|
1. hex
|
531
|
2. ascii
|
532
|
select data type: 1
|
533
|
select com prot: /dev/ttymxc1, 1200, n, 8, 1 for hex
|
534
|
send: 01 02 04 01 00 02 A9 3B
|
535
|
no data receive!
|
536
|
send: 01 02 04 01 00 02 A9 3B
|
537
|
no data receive!
|
538
|
send: 01 02 04 01 00 02 A9 3B
|
539
|
no data receive!
|
540
|
send: 01 02 04 01 00 02 A9 3B
|
541
|
no data receive!
|
542
|
send: 01 04 01 51 00 03 E0 26
|
543
|
no data receive!
|
544
|
send: 01 04 01 51 00 03 E0 26
|
545
|
no data receive!
|
546
|
send: 01 04 01 51 00 03 E0 26
|
547
|
no data receive!
|
548
|
send: 01 04 01 51 00 03 E0 26
|
549
|
no data receive!
|
550
|
send: 01 04 01 51 00 03 E0 26
|
551
|
no data receive!
|
552
|
send: ^C
|
553
|
root@OM-A6-X500:/NandFlash# ./omDemo1 786 1 0 1 0 ttymxc1:2400,n,8,1
|
554
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
555
|
MemFree: 172156 kB
|
556
|
MemAvailable: 188268 kB
|
557
|
Buffers: 0 kB
|
558
|
!!!MemVsz 0: 4876 KB
|
559
|
SIGRTMAX-1= 63
|
560
|
SerManager new: 1445708
|
561
|
!!!MemVsz change: 652 KB
|
562
|
!!!MemVsz change: 6260 KB
|
563
|
!!!MemVsz change: 1248 KB
|
564
|
|
565
|
SMxxx: Type=786 Addr=1 Port=0 Tag1=1 Ext1=0
|
566
|
|
567
|
SerDef=ttymxc1:2400,n,8,1 Type=786
|
568
|
testSM SM=1448390
|
569
|
CSerCom InitCom: 14484e8 1
|
570
|
CSerCom UpdParams: ComPort: ttymxc1, 0, 0
|
571
|
CSerCom::Open: /dev/ttymxc1,2400,8,N,0
|
572
|
set serial done+!
|
573
|
ttymxc1:2400,n,8,1[100001] open ok!
|
574
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 247484 kB
|
575
|
MemFree: 171788 kB
|
576
|
MemAvailable: 187900 kB
|
577
|
Buffers: 0 kB
|
578
|
start SMxxx->DataGet ...
|
579
|
SEND: 16
|
580
|
RECV:
|
581
|
SEND: 16
|
582
|
RECV:
|
583
|
SEND: 16
|
584
|
RECV:
|
585
|
SEND: 16
|
586
|
RECV:
|
587
|
SEND: 16
|
588
|
RECV:
|
589
|
testSM-0001 20:19:31 ttymxc1:2400,n,8,1
|
590
|
SEND: 16
|
591
|
RECV:
|
592
|
SEND: 16
|
593
|
RECV:
|
594
|
SEND: 16
|
595
|
RECV:
|
596
|
SEND: 16
|
597
|
RECV:
|
598
|
SEND: 16
|
599
|
RECV:
|
600
|
testSM-0002 20:19:35 ttymxc1:2400,n,8,1
|
601
|
SEND: 16
|
602
|
RECV:
|
603
|
SEND: 16
|
604
|
RECV:
|
605
|
SEND: 16
|
606
|
^C
|
607
|
root@OM-A6-X500:/NandFlash#
|