1
|
login as: root
|
2
|
root@19.15.37.210's password:
|
3
|
[root@OM-K2-S60:~]# cd /NandFlash
|
4
|
[root@OM-K2-S60:NandFlash]# ./omAppSU
|
5
|
SerManager new: 150d968
|
6
|
AlmMngr init...
|
7
|
AlmManager LoadChkItem: 154
|
8
|
AlmManager LoadAlmTime: 5
|
9
|
AlmManager LoadAlmRecv: 2
|
10
|
AlmManager LoadAlmDef: 14
|
11
|
AlmManager LoadAlmDev...
|
12
|
AlmManager LoadAlmDev ▒▒▒1 GetSM type=2562
|
13
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
14
|
CSerDio::CSerDio: Dio Init
|
15
|
AlmManager LoadAlmDev GetSer ok
|
16
|
OMI1:[800001] open ok!
|
17
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
18
|
AlmManager LoadAlmDev ▒▒▒2 GetSM type=2562
|
19
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
20
|
CSerDio::CSerDio: Dio Init
|
21
|
AlmManager LoadAlmDev GetSer ok
|
22
|
OMI1:[800001] open ok!
|
23
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
24
|
AlmManager LoadAlmDev: 2
|
25
|
smtp: svr= acc= sub=▒▒▒▒
|
26
|
AlmMngr init end
|
27
|
CSerDio::CSerDio: Dio Init
|
28
|
CSerDio::CSerDio: Dio Init
|
29
|
CSerCom InitCom: 74a75e00 1
|
30
|
CSerCom UpdParams: ComPort: RS485-1, 0, 0
|
31
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
32
|
CSerCom UpdParams: ComPort: RS485-1, 0, 0
|
33
|
CSerCom::Open: /dev/RS485-1,9600,8,N,0
|
34
|
set serial done+!
|
35
|
RS485-1:9600,n,8,1[110001] open ok!
|
36
|
SEND: 01 01 27 10 00 0F 77 7F
|
37
|
RECV: 01 01 02 21 02 20 6D
|
38
|
SEND: 01 03 13 97 00 01 31 62
|
39
|
RECV: 01 03 02 00 4C B9 B1
|
40
|
SEND: 01 03 17 0E 00 01 E0 7D
|
41
|
RECV: 01 03 02 00 00 B8 44
|
42
|
SEND: 01 03 17 10 00 02 C0 7A
|
43
|
RECV: 01 03 04 00 01 00 02 2A 32
|
44
|
SEND: 01 04 13 A3 00 05 C4 AF
|
45
|
RECV: 01 04 0A 00 DC 00 00 00 00 00 52 00 00 B8 69
|
46
|
t=4934 iaddr=1 iext=0
|
47
|
010001=1
|
48
|
010002=0
|
49
|
010003=0
|
50
|
010004=0
|
51
|
010005=0
|
52
|
010006=1
|
53
|
010007=0
|
54
|
010008=0
|
55
|
010009=0
|
56
|
010010=1
|
57
|
010011=0
|
58
|
010012=0
|
59
|
010013=0
|
60
|
010014=0
|
61
|
010015=0
|
62
|
010016=0
|
63
|
35028=220
|
64
|
35029=0
|
65
|
35030=0
|
66
|
35031=82
|
67
|
35032=0
|
68
|
45016=76
|
69
|
45903=0
|
70
|
45905=1
|
71
|
45906=2
|
72
|
brief=▒ط▒▒¶▒: 8.2 ▒▒
|
73
|
CSerDio::CSerDio: Dio Init
|
74
|
CSerDio::CSerDio: Dio Init
|
75
|
OMI1:[800001] open ok!
|
76
|
OMI1:[800001] open ok!
|
77
|
CSerCom UpdParams: ComPort: RS485-1, 0, 0
|
78
|
CSerCom::Open: /dev/RS485-1,9600,8,N,0
|
79
|
set serial done+!
|
80
|
RS485-1:9600,n,8,1[110001] open ok!
|
81
|
SEND: 01 01 27 10 00 0F 77 7F
|
82
|
RECV: 01 01 02 21 02 20 6D
|
83
|
SEND: 01 03 13 97 00 01 31 62
|
84
|
RECV: 01 03 02 00 4C B9 B1
|
85
|
SEND: 01 03 17 0E 00 01 E0 7D
|
86
|
RECV: 01 03 02 00 00 B8 44
|
87
|
SEND: 01 03 17 10 00 02 C0 7A
|
88
|
RECV: 01 03 04 00 01 00 02 2A 32
|
89
|
SEND: 01 04 13 A3 00 05 C4 AF
|
90
|
RECV: 01 04 0A 00 DC 00 00 00 00 00 52 00 00 B8 69
|
91
|
t=4934 iaddr=1 iext=0
|
92
|
010001=1
|
93
|
010002=0
|
94
|
010003=0
|
95
|
010004=0
|
96
|
010005=0
|
97
|
010006=1
|
98
|
010007=0
|
99
|
010008=0
|
100
|
010009=0
|
101
|
010010=1
|
102
|
010011=0
|
103
|
010012=0
|
104
|
010013=0
|
105
|
010014=0
|
106
|
010015=0
|
107
|
010016=0
|
108
|
35028=220
|
109
|
35029=0
|
110
|
35030=0
|
111
|
35031=82
|
112
|
35032=0
|
113
|
45016=76
|
114
|
45903=0
|
115
|
45905=1
|
116
|
45906=2
|
117
|
brief=▒ط▒▒¶▒: 8.2 ▒▒
|
118
|
OMI1:[800001] open ok!
|
119
|
OMI1:[800001] open ok!
|
120
|
CSerCom UpdParams: ComPort: RS485-1, 0, 0
|
121
|
CSerCom::Open: /dev/RS485-1,9600,8,N,0
|
122
|
set serial done+!
|
123
|
RS485-1:9600,n,8,1[110001] open ok!
|
124
|
SEND: 01 01 27 10 00 0F 77 7F
|
125
|
RECV: 01 01 02 21 02 20 6D
|
126
|
SEND: 01 03 13 97 00 01 31 62
|
127
|
RECV: 01 03 02 00 4C B9 B1
|
128
|
SEND: 01 03 17 0E 00 01 E0 7D
|
129
|
RECV: 01 03 02 00 00 B8 44
|
130
|
SEND: 01 03 17 10 00 02 C0 7A
|
131
|
RECV: 01 03 04 00 01 00 02 2A 32
|
132
|
SEND: 01 04 13 A3 00 05 C4 AF
|
133
|
^C
|
134
|
[root@OM-K2-S60:NandFlash]# ./omAppSU
|
135
|
SerManager new: 824b50
|
136
|
AlmMngr init...
|
137
|
AlmManager LoadChkItem: 154
|
138
|
AlmManager LoadAlmTime: 5
|
139
|
AlmManager LoadAlmRecv: 2
|
140
|
AlmManager LoadAlmDef: 14
|
141
|
AlmManager LoadAlmDev...
|
142
|
AlmManager LoadAlmDev ▒▒▒1 GetSM type=2562
|
143
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
144
|
CSerDio::CSerDio: Dio Init
|
145
|
AlmManager LoadAlmDev GetSer ok
|
146
|
OMI1:[800001] open ok!
|
147
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
148
|
AlmManager LoadAlmDev ▒▒▒2 GetSM type=2562
|
149
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
150
|
CSerDio::CSerDio: Dio Init
|
151
|
AlmManager LoadAlmDev GetSer ok
|
152
|
OMI1:[800001] open ok!
|
153
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
154
|
AlmManager LoadAlmDev: 2
|
155
|
smtp: svr= acc= sub=▒▒▒▒
|
156
|
AlmMngr init end
|
157
|
CSerDio::CSerDio: Dio Init
|
158
|
CSerDio::CSerDio: Dio Init
|
159
|
CSerCom InitCom: 74a75e00 1
|
160
|
CSerCom UpdParams: ComPort: RS485-1, 0, 0
|
161
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
162
|
CSerCom UpdParams: ComPort: RS485-1, 0, 0
|
163
|
CSerCom::Open: /dev/RS485-1,9600,8,N,0
|
164
|
set serial done+!
|
165
|
RS485-1:9600,n,8,1[110001] open ok!
|
166
|
SEND: 01 01 27 10 00 0F 77 7F
|
167
|
RECV: 01 01 02 21 02 20 6D
|
168
|
SEND: 01 03 13 97 00 01 31 62
|
169
|
RECV: 01 03 02 00 4C B9 B1
|
170
|
SEND: 01 03 17 0E 00 01 E0 7D
|
171
|
RECV:
|
172
|
SEND: 01 01 27 10 00 0F 77 7F
|
173
|
RECV: 01 01 02 21 02 20 6D
|
174
|
SEND: 01 03 13 97 00 01 31 62
|
175
|
RECV: 01 03 02 00 4C B9 B1
|
176
|
SEND: 01 03 17 0E 00 01 E0 7D
|
177
|
RECV:
|
178
|
SEND: 01 01 27 10 00 0F 77 7F
|
179
|
RECV: 01 01 02 21 02 20 6D
|
180
|
SEND: 01 03 13 97 00 01 31 62
|
181
|
RECV: 01 03 02 00 4C B9 B1
|
182
|
SEND: 01 03 17 0E 00 01 E0 7D
|
183
|
RECV:
|
184
|
SEND: 01 01 27 10 00 0F 77 7F
|
185
|
RECV: 01 01 02 21 02 20 6D
|
186
|
SEND: 01 03 13 97 00 01 31 62
|
187
|
RECV: 01 03 02 00 4C B9 B1
|
188
|
SEND: 01 03 17 0E 00 01 E0 7D
|
189
|
RECV:
|
190
|
SEND: 01 01 27 10 00 0F 77 7F
|
191
|
RECV: 01 01 02 21 02 20 6D
|
192
|
SEND: 01 03 13 97 00 01 31 62
|
193
|
RECV: 01 03 02 00 4C B9 B1
|
194
|
SEND: 01 03 17 0E 00 01 E0 7D
|
195
|
RECV:
|
196
|
CSerDio::CSerDio: Dio Init
|
197
|
CSerDio::CSerDio: Dio Init
|
198
|
OMI1:[800001] open ok!
|
199
|
OMI1:[800001] open ok!
|
200
|
^C
|
201
|
[root@OM-K2-S60:NandFlash]# ./omDemo1 4934 1 0 0 0 RS485-1:9600,n,8,1
|
202
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
203
|
MemFree: 209416 kB
|
204
|
MemAvailable: 223344 kB
|
205
|
Buffers: 0 kB
|
206
|
!!!MemVsz 0: 4876 KB
|
207
|
SIGRTMAX-1= 63
|
208
|
SerManager new: 6e3710
|
209
|
!!!MemVsz change: 128 KB
|
210
|
!!!MemVsz change: 5440 KB
|
211
|
!!!MemVsz change: 1248 KB
|
212
|
|
213
|
SMxxx: Type=4934 Addr=1 Port=0 Tag1=0 Ext1=0
|
214
|
|
215
|
SerDef=RS485-1:9600,n,8,1 Type=4934
|
216
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
217
|
testSM SM=6e65b8
|
218
|
CSerCom InitCom: 6e6930 1
|
219
|
CSerCom UpdParams: ComPort: RS485-1, 0, 0
|
220
|
CSerCom::Open: /dev/RS485-1,9600,8,N,0
|
221
|
set serial done+!
|
222
|
RS485-1:9600,n,8,1[110001] open ok!
|
223
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
224
|
MemFree: 208928 kB
|
225
|
MemAvailable: 222868 kB
|
226
|
Buffers: 0 kB
|
227
|
start SMxxx->DataGet ...
|
228
|
SEND: 01 01 27 10 00 0F 77 7F
|
229
|
RECV: 01 01 02 21 02 20 6D
|
230
|
SEND: 01 03 13 97 00 01 31 62
|
231
|
RECV: 01 03 02 00 4C B9 B1
|
232
|
SEND: 01 03 17 0E 00 01 E0 7D
|
233
|
RECV:
|
234
|
testSM-0001 15:29:40 RS485-1:9600,n,8,1
|
235
|
SEND: 01 01 27 10 00 0F 77 7F
|
236
|
RECV: 01 01 02 21 02 20 6D
|
237
|
SEND: 01 03 13 97 00 01 31 62
|
238
|
RECV: 01 03 02 00 4C B9 B1
|
239
|
SEND: 01 03 17 0E 00 01 E0 7D
|
240
|
RECV:
|
241
|
testSM-0002 15:29:42 RS485-1:9600,n,8,1
|
242
|
SEND: 01 01 27 10 00 0F 77 7F
|
243
|
RECV: 01 01 02 21 02 20 6D
|
244
|
SEND: 01 03 13 97 00 01 31 62
|
245
|
RECV: 01 03 02 00 4C B9 B1
|
246
|
SEND: 01 03 17 0E 00 01 E0 7D
|
247
|
RECV:
|
248
|
testSM-0003 15:29:44 RS485-1:9600,n,8,1
|
249
|
SEND: 01 01 27 10 00 0F 77 7F
|
250
|
RECV: 01 01 02 21 02 20 6D
|
251
|
SEND: 01 03 13 97 00 01 31 62
|
252
|
RECV: 01 03 02 00 4C B9 B1
|
253
|
SEND: 01 03 17 0E 00 01 E0 7D
|
254
|
RECV:
|
255
|
testSM-0004 15:29:46 RS485-1:9600,n,8,1
|
256
|
SEND: 01 01 27 10 00 0F 77 7F
|
257
|
RECV: 01 01 02 21 02 20 6D
|
258
|
SEND: 01 03 13 97 00 01 31 62
|
259
|
RECV: 01 03 02 00 4C B9 B1
|
260
|
SEND: 01 03 17 0E 00 01 E0 7D
|
261
|
RECV:
|
262
|
testSM-0005 15:29:48 RS485-1:9600,n,8,1
|
263
|
SEND: 01 01 27 10 00 0F 77 7F
|
264
|
RECV: 01 01 02 21 02 20 6D
|
265
|
SEND: 01 03 13 97 00 01 31 62
|
266
|
RECV: 01 03 02 00 4C B9 B1
|
267
|
SEND: 01 03 17 0E 00 01 E0 7D
|
268
|
RECV:
|
269
|
testSM-0006 15:29:50 RS485-1:9600,n,8,1
|
270
|
SEND: 01 01 27 10 00 0F 77 7F
|
271
|
RECV: 01 01 02 21 02 20 6D
|
272
|
SEND: 01 03 13 97 00 01 31 62
|
273
|
RECV: 01 03 02 00 4C B9 B1
|
274
|
SEND: 01 03 17 0E 00 01 E0 7D
|
275
|
RECV:
|
276
|
testSM-0007 15:29:52 RS485-1:9600,n,8,1
|
277
|
SEND: 01 01 27 10 00 0F 77 7F
|
278
|
RECV: 01 01 02 21 02 20 6D
|
279
|
SEND: 01 03 13 97 00 01 31 62
|
280
|
RECV: 01 03 02 00 4C B9 B1
|
281
|
SEND: 01 03 17 0E 00 01 E0 7D
|
282
|
RECV:
|
283
|
testSM-0008 15:29:54 RS485-1:9600,n,8,1
|
284
|
SEND: 01 01 27 10 00 0F 77 7F
|
285
|
RECV: 01 01 02 21 02 20 6D
|
286
|
SEND: 01 03 13 97 00 01 31 62
|
287
|
RECV: 01 03 02 00 4C B9 B1
|
288
|
SEND: 01 03 17 0E 00 01 E0 7D
|
289
|
RECV:
|
290
|
testSM-0009 15:29:56 RS485-1:9600,n,8,1
|
291
|
SEND: 01 01 27 10 00 0F 77 7F
|
292
|
RECV: 01 01 02 21 02 20 6D
|
293
|
SEND: 01 03 13 97 00 01 31 62
|
294
|
RECV: 01 03 02 00 4C B9 B1
|
295
|
SEND: 01 03 17 0E 00 01 E0 7D
|
296
|
RECV:
|
297
|
testSM-0010 15:29:58 RS485-1:9600,n,8,1
|
298
|
SEND: 01 01 27 10 00 0F 77 7F
|
299
|
RECV: 01 01 02 21 02 20 6D
|
300
|
SEND: 01 03 13 97 00 01 31 62
|
301
|
RECV: 01 03 02 00 4C B9 B1
|
302
|
SEND: 01 03 17 0E 00 01 E0 7D
|
303
|
RECV:
|
304
|
testSM-0011 15:30:00 RS485-1:9600,n,8,1
|
305
|
SEND: 01 01 27 10 00 0F 77 7F
|
306
|
RECV: 01 01 02 21 02 20 6D
|
307
|
SEND: 01 03 13 97 00 01 31 62
|
308
|
RECV: 01 03 02 00 4C B9 B1
|
309
|
SEND: 01 03 17 0E 00 01 E0 7D
|
310
|
RECV:
|
311
|
testSM-0012 15:30:02 RS485-1:9600,n,8,1
|
312
|
SEND: 01 01 27 10 00 0F 77 7F
|
313
|
RECV: 01 01 02 21 02 20 6D
|
314
|
SEND: 01 03 13 97 00 01 31 62
|
315
|
RECV: 01 03 02 00 4C B9 B1
|
316
|
SEND: 01 03 17 0E 00 01 E0 7D
|
317
|
RECV:
|
318
|
testSM-0013 15:30:04 RS485-1:9600,n,8,1
|
319
|
SEND: 01 01 27 10 00 0F 77 7F
|
320
|
RECV: 01 01 02 21 02 20 6D
|
321
|
SEND: 01 03 13 97 00 01 31 62
|
322
|
RECV: 01 03 02 00 4C B9 B1
|
323
|
SEND: 01 03 17 0E 00 01 E0 7D
|
324
|
RECV:
|
325
|
testSM-0014 15:30:06 RS485-1:9600,n,8,1
|
326
|
SEND: 01 01 27 10 00 0F 77 7F
|
327
|
RECV: 01 01 02 21 02 20 6D
|
328
|
SEND: 01 03 13 97 00 01 31 62
|
329
|
RECV: 01 03 02 00 4C B9 B1
|
330
|
SEND: 01 03 17 0E 00 01 E0 7D
|
331
|
RECV:
|
332
|
testSM-0015 15:30:08 RS485-1:9600,n,8,1
|
333
|
SEND: 01 01 27 10 00 0F 77 7F
|
334
|
RECV: 01 01 02 21 02 20 6D
|
335
|
SEND: 01 03 13 97 00 01 31 62
|
336
|
RECV: 01 03 02 00 4C B9 B1
|
337
|
SEND: 01 03 17 0E 00 01 E0 7D
|
338
|
^C
|
339
|
[root@OM-K2-S60:NandFlash]#
|