1
|
login as: root
|
2
|
root@192.168.0.16's password:
|
3
|
Last login: Mon Oct 23 20:26:35 2023 from 192.168.0.233
|
4
|
[root@OM-A6-T300A:~]# cd /NandFlash
|
5
|
[root@OM-A6-T300A:NandFlash]# ls
|
6
|
SM/ libomser-quick.so* omOneNetPost*
|
7
|
SerialPortQuickDef.ini libomser.so* omOneNetPost.ini
|
8
|
bak/ libomserd1.so* omTray*
|
9
|
dbCfg.db3 libomsm.so* omTray.ini
|
10
|
dbData.db3 libomsuw.so* omapp.conf
|
11
|
dbLog.db3 omApp.ini readme.txt
|
12
|
hwtest* omAppPost* sscomx*
|
13
|
hwtest.ini omAppPost.ini tmp/
|
14
|
hwtestEx* omAppSU* update_dbcfg_quick.sh
|
15
|
libomalm.so omAppSU.ini* update_dbcfg_xxx_bak.sh*
|
16
|
libomdb.so* omDemo1* www/
|
17
|
libomdev.so* omMonitor.ini
|
18
|
[root@OM-A6-T300A:NandFlash]# top
|
19
|
Mem: 52344K used, 195940K free, 2780K shrd, 0K buff, 24844K cached
|
20
|
CPU: 9% usr 0% sys 0% nic 90% idle 0% io 0% irq 0% sirq
|
21
|
Load average: 0.20 0.68 0.86 1/60 28182
|
22
|
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
|
23
|
28182 28170 root R 2724 1% 9% top
|
24
|
633 1 root S 16040 6% 0% ./goahead --log /opt/log.txt:2 /NandFl
|
25
|
712 1 root S 15208 6% 0% ./omTray
|
26
|
28163 453 root S 4796 2% 0% sshd: root@pts/0
|
27
|
488 1 root S 4776 2% 0% /usr/sbin/ofonod
|
28
|
453 1 root S 4668 2% 0% /usr/sbin/sshd
|
29
|
483 1 avahi S 3460 1% 0% avahi-daemon: running [OM-A6-T300A.loc
|
30
|
484 483 avahi S 3460 1% 0% avahi-daemon: chroot helper
|
31
|
28170 28163 root S 3000 1% 0% -sh
|
32
|
437 1 messageb S 2912 1% 0% /usr/bin/dbus-daemon --system
|
33
|
118 1 root S 2872 1% 0% /sbin/udevd -d
|
34
|
738 1 root S 2768 1% 0% {start_getty} /bin/sh /bin/start_getty
|
35
|
506 1 root S 2764 1% 0% {rmimages.sh} /bin/sh ./rmimages.sh 10
|
36
|
473 1 root S 2724 1% 0% /sbin/syslogd -n -O /var/log/messages
|
37
|
476 1 root S 2724 1% 0% /sbin/klogd -n
|
38
|
739 1 root S 2724 1% 0% /sbin/getty 38400 tty1
|
39
|
740 738 root S 2724 1% 0% /sbin/getty -L 115200 ttymxc0
|
40
|
27414 506 root S 2592 1% 0% sleep 300
|
41
|
458 1 rpc S 2196 1% 0% /usr/sbin/rpcbind
|
42
|
498 1 root S 1948 1% 0% /usr/sbin/cron
|
43
|
[root@OM-A6-T300A:NandFlash]#
|
44
|
[root@OM-A6-T300A:NandFlash]#
|
45
|
[root@OM-A6-T300A:NandFlash]#
|
46
|
[root@OM-A6-T300A:NandFlash]#
|
47
|
[root@OM-A6-T300A:NandFlash]#
|
48
|
[root@OM-A6-T300A:NandFlash]#
|
49
|
[root@OM-A6-T300A:NandFlash]#
|
50
|
[root@OM-A6-T300A:NandFlash]#
|
51
|
[root@OM-A6-T300A:NandFlash]#
|
52
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
53
|
Input the com prot: ^C
|
54
|
[root@OM-A6-T300A:NandFlash]#
|
55
|
[root@OM-A6-T300A:NandFlash]#
|
56
|
[root@OM-A6-T300A:NandFlash]#
|
57
|
[root@OM-A6-T300A:NandFlash]#
|
58
|
[root@OM-A6-T300A:NandFlash]#
|
59
|
[root@OM-A6-T300A:NandFlash]#
|
60
|
[root@OM-A6-T300A:NandFlash]# ./omAppSU
|
61
|
SerManager new: 1285378
|
62
|
AlmMngr init...
|
63
|
AlmManager LoadChkItem: 48
|
64
|
AlmManager LoadAlmTime: 5
|
65
|
AlmManager LoadAlmRecv: 2
|
66
|
AlmManager LoadAlmDef: 14
|
67
|
AlmManager LoadAlmDev...
|
68
|
AlmManager LoadAlmDev ???1 GetSM type=2562
|
69
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
70
|
CSerDio::CSerDio: Dio Init
|
71
|
AlmManager LoadAlmDev GetSer ok
|
72
|
OMI1:[800001] open ok!
|
73
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
74
|
AlmManager LoadAlmDev ???2 GetSM type=2562
|
75
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
76
|
CSerDio::CSerDio: Dio Init
|
77
|
AlmManager LoadAlmDev GetSer ok
|
78
|
OMI1:[800001] open ok!
|
79
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
80
|
AlmManager LoadAlmDev ???3 GetSM type=2562
|
81
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
82
|
CSerDio::CSerDio: Dio Init
|
83
|
AlmManager LoadAlmDev GetSer ok
|
84
|
OMI1:[800001] open ok!
|
85
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
86
|
AlmManager LoadAlmDev ???4 GetSM type=2562
|
87
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
88
|
CSerDio::CSerDio: Dio Init
|
89
|
AlmManager LoadAlmDev GetSer ok
|
90
|
OMI1:[800001] open ok!
|
91
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
92
|
AlmManager LoadAlmDev ???5 GetSM type=2562
|
93
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
94
|
CSerDio::CSerDio: Dio Init
|
95
|
AlmManager LoadAlmDev GetSer ok
|
96
|
OMI1:[800001] open ok!
|
97
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
98
|
AlmManager LoadAlmDev ???6 GetSM type=2562
|
99
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
100
|
CSerDio::CSerDio: Dio Init
|
101
|
AlmManager LoadAlmDev GetSer ok
|
102
|
OMI1:[800001] open ok!
|
103
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
104
|
AlmManager LoadAlmDev ???7 GetSM type=2562
|
105
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
106
|
CSerDio::CSerDio: Dio Init
|
107
|
AlmManager LoadAlmDev GetSer ok
|
108
|
OMI1:[800001] open ok!
|
109
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
110
|
AlmManager LoadAlmDev ???8 GetSM type=2562
|
111
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
112
|
CSerDio::CSerDio: Dio Init
|
113
|
AlmManager LoadAlmDev GetSer ok
|
114
|
OMI1:[800001] open ok!
|
115
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
116
|
AlmManager LoadAlmDev: 8
|
117
|
smtp: svr= acc= sub=????
|
118
|
AlmMngr init end
|
119
|
CSerCom InitCom: 74b55408 1
|
120
|
CSerCom UpdParams: ComPort: RS485-1, 0, 0
|
121
|
CSerDio::CSerDio: Dio Init
|
122
|
CSerDio::CSerDio: Dio Init
|
123
|
CSerCom UpdParams: ComPort: RS485-1, 0, 0
|
124
|
CSerCom::Open: /dev/RS485-1,9600,8,N,0
|
125
|
set serial done+!
|
126
|
RS485-1:9600,n,8,1[110001] open ok!
|
127
|
SEND: 10 04 00 00 00 02 72 8A
|
128
|
RECV:
|
129
|
SEND: 10 04 00 00 00 02 72 8A
|
130
|
^C
|
131
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
132
|
Input the com prot: RS485-1
|
133
|
baudrate: 9600
|
134
|
Parity(n\o\e): n
|
135
|
DataBit(5\6\7\8): 8
|
136
|
StopBit(1\2): 1
|
137
|
data types:
|
138
|
1. hex
|
139
|
2. ascii
|
140
|
select data type: 1
|
141
|
select com prot: /dev/RS485-1, 9600, n, 8, 1 for hex
|
142
|
send: 01 03 04 00 00 01 85 3A
|
143
|
no data receive!
|
144
|
send: 01 03 04 00 00 01 85 3A
|
145
|
no data receive!
|
146
|
send: 01 03 04 00 00 01 85 3A
|
147
|
no data receive!
|
148
|
send: 01 03 04 00 00 01 85 3A
|
149
|
no data receive!
|
150
|
send: 01 03 04 00 00 01 85 3A
|
151
|
no data receive!
|
152
|
send: 01 03 04 00 00 01 85 3A
|
153
|
no data receive!
|
154
|
send: 01 03 04 00 00 01 85 3A
|
155
|
no data receive!
|
156
|
send: ^C
|
157
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
158
|
Input the com prot: RS485-1
|
159
|
baudrate: 4800
|
160
|
Parity(n\o\e): n
|
161
|
DataBit(5\6\7\8): 8
|
162
|
StopBit(1\2): 1
|
163
|
data types:
|
164
|
1. hex
|
165
|
2. ascii
|
166
|
select data type: 1
|
167
|
select com prot: /dev/RS485-1, 4800, n, 8, 1 for hex
|
168
|
send: 01 03 04 00 00 01 85 3A
|
169
|
no data receive!
|
170
|
send: ^[[A
|
171
|
no data receive!
|
172
|
send: 01 03 04 00 00 01 85 3A
|
173
|
rece: 03 AA AA AA AA AA E7 17 03 AA AA AA AA AA E7 17
|
174
|
send: 01 03 04 00 00 01 85 3A
|
175
|
no data receive!
|
176
|
send: 01 03 04 00 00 01 85 3A
|
177
|
no data receive!
|
178
|
send: ^C
|
179
|
[root@OM-A6-T300A:NandFlash]#
|
180
|
[root@OM-A6-T300A:NandFlash]#
|
181
|
[root@OM-A6-T300A:NandFlash]#
|
182
|
[root@OM-A6-T300A:NandFlash]#
|
183
|
[root@OM-A6-T300A:NandFlash]#
|
184
|
[root@OM-A6-T300A:NandFlash]#
|
185
|
[root@OM-A6-T300A:NandFlash]#
|
186
|
[root@OM-A6-T300A:NandFlash]#
|
187
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
188
|
Input the com prot: RS485-1
|
189
|
baudrate: 9600
|
190
|
Parity(n\o\e): n
|
191
|
DataBit(5\6\7\8): 8
|
192
|
StopBit(1\2): 1
|
193
|
data types:
|
194
|
1. hex
|
195
|
2. ascii
|
196
|
select data type: 1
|
197
|
select com prot: /dev/RS485-1, 9600, n, 8, 1 for hex
|
198
|
send: 01 03 04 00 00 01 85 3A
|
199
|
no data receive!
|
200
|
send: 01 03 04 00 00 01 85 3A
|
201
|
no data receive!
|
202
|
send: 01 03 04 00 00 01 85 3A
|
203
|
no data receive!
|
204
|
send: 01 03 04 00 00 01 85 3A
|
205
|
no data receive!
|
206
|
send: 01 03 04 00 00 01 85 3A
|
207
|
no data receive!
|
208
|
send: 01 03 04 00 00 01 85 3A
|
209
|
no data receive!
|
210
|
send: 01 03 04 00 00 01 85 3A
|
211
|
no data receive!
|
212
|
send: 01 03 04 00 00 01 85 3A
|
213
|
no data receive!
|
214
|
send: 01 03 04 00 00 01 85 3A
|
215
|
no data receive!
|
216
|
send: 01 03 04 00 00 01 85 3A
|
217
|
no data receive!
|
218
|
send: 01 03 04 00 00 01 85 3A
|
219
|
no data receive!
|
220
|
send: 01 03 04 23 00 01 74 F0
|
221
|
no data receive!
|
222
|
send: 01 03 04 23 00 01 74 F0
|
223
|
no data receive!
|
224
|
send: 01 03 04 23 00 01 74 F0
|
225
|
no data receive!
|
226
|
send: 01 03 04 23 00 01 74 F0
|
227
|
no data receive!
|
228
|
send: 33 03 04 00 00 01 81 28
|
229
|
no data receive!
|
230
|
send: 33 03 04 00 00 01 81 28
|
231
|
no data receive!
|
232
|
send: 33 03 04 00 00 01 81 28
|
233
|
no data receive!
|
234
|
send: 34 03 04 23 00 01 71 55
|
235
|
rece: 34 03 02 00 00 34 40
|
236
|
send: 34 03 04 23 00 01 71 55
|
237
|
rece: 34 03 02 00 00 34 40
|
238
|
send: 34 03 04 23 00 01 71 55
|
239
|
rece: 34 03 02 00 00 34 40
|
240
|
send: 34 03 04 00 00 01 80 9F
|
241
|
no data receive!
|
242
|
send: 34 03 04 00 00 01 80 9F
|
243
|
no data receive!
|
244
|
send: 34 03 04 00 00 01 80 9F
|
245
|
rece: 34 03 02 00 00 34 40
|
246
|
send: 34 03 04 00 00 01 80 9F
|
247
|
no data receive!
|
248
|
send: 34 03 04 00 00 01 80 9F
|
249
|
rece: 34 03 02 00 00 34 40
|
250
|
send: 34 03 04 00 00 01 80 9F
|
251
|
rece: 34 03 02 00 00 34 40
|
252
|
send: 34 03 07 0C 00 02 00 D9
|
253
|
rece: 34 03 04 00 00 01 05 5E A3
|
254
|
send: 34 03 07 0E 00 02 A1 19
|
255
|
no data receive!
|
256
|
send: 34 03 07 0E 00 02 A1 19
|
257
|
no data receive!
|
258
|
send: 34 03 07 0E 00 02 A1 19
|
259
|
rece: 34 03 04 00 00 00 0C 9F 35
|
260
|
send: 34 03 07 08 00 02 41 18
|
261
|
rece: 34 03 04 00 00 00 F7 DE B6
|
262
|
send: 34 03 07 0A 00 02 E0 D8
|
263
|
rece: 34 03 04 FF FF FF FF 9E A4
|
264
|
send: 34 03 07 0A 00 02 E0 D8
|
265
|
rece: 34 03 04 FF FF FF FF 9E A4
|
266
|
send:
|