项目

一般

简介

#4898+SM4888omDemo1+20230530.txt

黄 正梁, 2023-05-30 14:14

 
1
login as: root
2
root@192.168.16.7's password:
3
[root@M28x ~]# cd /NandFlash
4
[root@M28x NandFlash]# top
5
Mem: 48632K used, 75828K free, 0K shrd, 0K buff, 27576K cached
6
CPU:   0% usr  23% sys   0% nic  76% idle   0% io   0% irq   0% sirq
7
Load average: 2.47 2.66 2.83 1/61 2687
8
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
9
 2687  2677 root     R     2268   2%  23% top
10
 1276  1275 root     S    15184  12%   0% ./goahead --log /opt/log.txt:2 /NandFl
11
 1357     1 root     S    14464  12%   0% ./omTray
12
 2522  2483 root     S    10952   9%   0% sshd: root@notty
13
 2642  2483 root     S     6668   5%   0% sshd: root@notty
14
 2651  2483 root     S     6668   5%   0% sshd: root@pts/0
15
 2608  2522 root     S     4864   4%   0% /usr/lib/sftp-server
16
 2483     1 root     S     4056   3%   0% /usr/sbin/sshd
17
 2677  2651 root     S     2728   2%   0% -sh
18
 2663  2642 root     S     2592   2%   0% -sh
19
 1205     1 dbus     S     2336   2%   0% dbus-daemon --system
20
 1411     1 root     S     2272   2%   0% /sbin/getty -L ttyAM0 115200 vt100
21
    1     0 root     S     2268   2%   0% init
22
 1414     1 root     S     2268   2%   0% /usr/bin/tail -f /var/log/messages
23
 1413     1 root     S     2268   2%   0% /sbin/klogd -n
24
 1412     1 root     S     2268   2%   0% /sbin/syslogd -n -m 0
25
 2469     1 root     S     2268   2%   0% /usr/sbin/telnetd -l /bin/login
26
 1181     1 root     S <   1764   1%   0% /sbin/udevd -d
27
 1194     1 daemon   S     1620   1%   0% portmap
28
 1275     1 root     S     1548   1%   0% wr ./goahead --log /opt/log.txt:2 /Nan
29
[root@M28x NandFlash]# ^C
30
[root@M28x NandFlash]# ^C
31
[root@M28x NandFlash]#
32
[root@M28x NandFlash]#
33
[root@M28x NandFlash]#
34
[root@M28x NandFlash]#
35
[root@M28x NandFlash]# ls
36
DataGet           libomalm.so*      omAppPost*        omTray*
37
SM/               libomdb.so*       omAppPost.ini*    omTray.ini*
38
bak/              libomdev.so*      omAppSU*          sscomx*
39
dbCfg.db3         libomser-bak.so*  omAppSU.ini*      tmp/
40
dbData.db3        libomser.so*      omDemo1*          www/
41
dbLog.db3*        libomsm.so*       omMonitor.ini*
42
dbUpd.ini*        libomsuw.so*      omOneNetPost*
43
hwtest*           omApp.ini         omOneNetPost.ini*
44
[root@M28x NandFlash]#
45
[root@M28x NandFlash]#
46
[root@M28x NandFlash]#
47
[root@M28x NandFlash]#
48
[root@M28x NandFlash]#
49
[root@M28x NandFlash]# ./omDemo1 4888 1 0 0 0 ttySP4:19200,n,8,1
50
VIDIOC_QUERYCAPno captureMemTotal:         124460 kB
51
MemFree:           75716 kB
52
Buffers:               0 kB
53
Cached:            27616 kB
54
!!!MemVsz 0: 4196 KB
55
SIGRTMAX-1= 63
56
SerManager new: 1b3f8
57
!!!MemVsz change: 112 KB
58
!!!MemVsz change: 6124 KB
59
!!!MemVsz change: 1036 KB
60

    
61
SMxxx: Type=4888  Addr=1  Port=0  Tag1=0  Ext1=0
62

    
63
SerDef=ttySP4:19200,n,8,1 Type=4888
64
CSMModbus::UpdLoad  d=0  300ms  tout=300  DataByte=0
65
testSM SM=1e250
66
CSerCom InitCom: 23010  1
67
CSerCom UpdParams: ComPort: ttySP4, 0, 0
68
CSerCom::Open: /dev/ttySP4,19200,8,N,0
69
set serial done+!
70
ttySP4:19200,n,8,1[100004] open ok!
71
VIDIOC_QUERYCAPno captureno streamingMemTotal:         124460 kB
72
MemFree:           75464 kB
73
Buffers:               0 kB
74
Cached:            27624 kB
75
start SMxxx->DataGet ...
76
SEND: 01 43 00 00 00 04 45 C6
77
RECV:
78
SEND: 01 43 00 00 00 04 45 C6
79
RECV:
80
SEND: 01 43 00 00 00 04 45 C6
81
RECV:
82
SEND: 01 43 00 00 00 04 45 C6
83
RECV:
84
SEND: 01 43 00 00 00 04 45 C6
85
RECV:
86
SEND: 01 43 00 00 00 04 45 C6
87
RECV:
88
SEND: 01 43 00 00 00 04 45 C6
89
RECV:
90
SEND: 01 43 00 00 00 04 45 C6
91
RECV:
92
^C
93
[root@M28x NandFlash]# ./omDemo1 4888 1 0 0 0 ttySP3:19200,n,8,1
94
VIDIOC_QUERYCAPno captureMemTotal:         124460 kB
95
MemFree:           75064 kB
96
Buffers:               0 kB
97
Cached:            27628 kB
98
!!!MemVsz 0: 4196 KB
99
SIGRTMAX-1= 63
100
SerManager new: 1b3f8
101
!!!MemVsz change: 112 KB
102
!!!MemVsz change: 6124 KB
103
!!!MemVsz change: 1036 KB
104

    
105
SMxxx: Type=4888  Addr=1  Port=0  Tag1=0  Ext1=0
106

    
107
SerDef=ttySP3:19200,n,8,1 Type=4888
108
CSMModbus::UpdLoad  d=0  300ms  tout=300  DataByte=0
109
testSM SM=1e250
110
CSerCom InitCom: 23010  1
111
CSerCom UpdParams: ComPort: ttySP3, 0, 0
112
CSerCom::Open: /dev/ttySP3,19200,8,N,0
113
set serial done+!
114
ttySP3:19200,n,8,1[100003] open ok!
115
VIDIOC_QUERYCAPno captureno streamingMemTotal:         124460 kB
116
MemFree:           74812 kB
117
Buffers:               0 kB
118
Cached:            27628 kB
119
start SMxxx->DataGet ...
120
SEND: 01 43 00 00 00 04 45 C6
121
RECV: 01 43 08 04 00 00 00 00 00 00 00 96 F0
122
SEND: 01 43 00 0D 00 07 94 04
123
RECV: 01 43 0E 08 FC 09 06 09 60 01 F4 00 E1 7F FF 01 02 9D 09
124
SEND: 01 43 00 1F 00 01 B4 03
125
RECV: 01 43 02 00 01 6C 44
126
SEND: 01 43 00 2D 00 09 14 0A
127
RECV: 01 43 12 00 01 00 01 00 01 00 00 00 00 00 00 00 00 00 01 00 00 3F 9C
128
SEND: 01 43 00 09 00 02 15 C6
129
RECV: 01 43 04 00 C8 00 DE F5 55
130
^C
131
[root@M28x NandFlash]# ./omDemo1 4888 1 0 0 0 ttySP4:19200,n,8,1
132
VIDIOC_QUERYCAPno captureMemTotal:         124460 kB
133
MemFree:           75280 kB
134
Buffers:               0 kB
135
Cached:            27836 kB
136
!!!MemVsz 0: 4196 KB
137
SIGRTMAX-1= 63
138
SerManager new: 1b3f8
139
!!!MemVsz change: 112 KB
140
!!!MemVsz change: 6124 KB
141
!!!MemVsz change: 1036 KB
142

    
143
SMxxx: Type=4888  Addr=1  Port=0  Tag1=0  Ext1=0
144

    
145
SerDef=ttySP4:19200,n,8,1 Type=4888
146
CSMModbus::UpdLoad  d=0  300ms  tout=300  DataByte=0
147
testSM SM=1e250
148
CSerCom InitCom: 23010  1
149
CSerCom UpdParams: ComPort: ttySP4, 0, 0
150
CSerCom::Open: /dev/ttySP4,19200,8,N,0
151
set serial done+!
152
ttySP4:19200,n,8,1[100004] open ok!
153
VIDIOC_QUERYCAPno captureno streamingMemTotal:         124460 kB
154
MemFree:           75000 kB
155
Buffers:               0 kB
156
Cached:            27836 kB
157
start SMxxx->DataGet ...
158
SEND: 01 43 00 00 00 04 45 C6
159
RECV: 01 43 08 04 00 00 00 00 00 00 00 96 F0
160
SEND: 01 43 00 0D 00 07 94 04
161
RECV: 01 43 0E 09 24 09 10 09 1A 01 F3 00 D0 7F FF 00 F0 67 2A
162
SEND: 01 43 00 1F 00 01 B4 03
163
RECV: 01 43 02 00 01 6C 44
164
SEND: 01 43 00 2D 00 09 14 0A
165
RECV: 01 43 12 00 01 00 01 00 01 00 00 00 00 00 00 00 00 00 01 00 00 3F 9C
166
SEND: 01 43 00 09 00 02 15 C6
167
RECV: 01 43 04 00 C8 00 DE F5 55
168
^C
169
[root@M28x NandFlash]# ./omDemo1 4888 1 0 0 0 ttySP4:19200,n,8,1
170
VIDIOC_QUERYCAPno captureMemTotal:         124460 kB
171
MemFree:           74632 kB
172
Buffers:               0 kB
173
Cached:            27748 kB
174
!!!MemVsz 0: 4196 KB
175
SIGRTMAX-1= 63
176
SerManager new: 1b3f8
177
!!!MemVsz change: 112 KB
178
!!!MemVsz change: 6124 KB
179
!!!MemVsz change: 1036 KB
180

    
181
SMxxx: Type=4888  Addr=1  Port=0  Tag1=0  Ext1=0
182

    
183
SerDef=ttySP4:19200,n,8,1 Type=4888
184
CSMModbus::UpdLoad  d=0  300ms  tout=300  DataByte=0
185
testSM SM=1e250
186
CSerCom InitCom: 22d28  1
187
CSerCom UpdParams: ComPort: ttySP4, 0, 0
188
CSerCom::Open: /dev/ttySP4,19200,8,N,0
189
set serial done+!
190
ttySP4:19200,n,8,1[100004] open ok!
191
VIDIOC_QUERYCAPno captureno streamingMemTotal:         124460 kB
192
MemFree:           74240 kB
193
Buffers:               0 kB
194
Cached:            27748 kB
195
start SMxxx->DataGet ...
196
SEND: 01 43 00 09 00 02 15 C6
197
RECV: 01 43 04 00 C8 00 DE F5 55
198
SEND: 01 43 00 09 00 02 15 C6
199
RECV: 01 43 04 00 C8 00 DE F5 55
200
^C
201
[root@M28x NandFlash]# ./omDemo1 4888 1 0 0 0 ttySP4:19200,n,8,1
202
VIDIOC_QUERYCAPno captureMemTotal:         124460 kB
203
MemFree:           74408 kB
204
Buffers:               0 kB
205
Cached:            27752 kB
206
!!!MemVsz 0: 4196 KB
207
SIGRTMAX-1= 63
208
SerManager new: 1b3f8
209
!!!MemVsz change: 112 KB
210
!!!MemVsz change: 6124 KB
211
!!!MemVsz change: 1036 KB
212

    
213
SMxxx: Type=4888  Addr=1  Port=0  Tag1=0  Ext1=0
214

    
215
SerDef=ttySP4:19200,n,8,1 Type=4888
216
CSMModbus::UpdLoad  d=0  300ms  tout=300  DataByte=0
217
testSM SM=1e250
218
CSerCom InitCom: 23010  1
219
CSerCom UpdParams: ComPort: ttySP4, 0, 0
220
CSerCom::Open: /dev/ttySP4,19200,8,N,0
221
set serial done+!
222
ttySP4:19200,n,8,1[100004] open ok!
223
VIDIOC_QUERYCAPno captureno streamingMemTotal:         124460 kB
224
MemFree:           74184 kB
225
Buffers:               0 kB
226
Cached:            27752 kB
227
start SMxxx->DataGet ...
228
SEND: 01 43 00 00 00 04 45 C6
229
RECV: 01 43 08 04 00 00 00 00 00 00 00 96 F0
230
SEND: 01 43 00 0D 00 07 94 04
231
RECV: 01 43 0E 09 10 08 F2 09 56 01 F4 00 CA 7F FF 00 EB 82 2C
232
SEND: 01 43 00 1F 00 01 B4 03
233
RECV: 01 43 02 00 01 6C 44
234
SEND: 01 43 00 2D 00 09 14 0A
235
RECV: 01 43 12 00 01 00 01 00 01 00 00 00 00 00 00 00 00 00 01 00 00 3F 9C
236
SEND: 01 43 00 09 00 02 15 C6
237
RECV: 01 43 04 00 C8 00 DE F5 55
238
SEND: 01 43 00 00 00 04 45 C6
239
RECV: 01 43 08 04 00 00 00 00 00 00 00 96 F0
240
SEND: 01 43 00 0D 00 07 94 04
241
RECV: 01 43 0E 09 06 08 FC 09 56 01 F4 00 C9 7F FF 00 EA 04 52
242
SEND: 01 43 00 1F 00 01 B4 03
243
RECV: 01 43 02 00 01 6C 44
244
SEND: 01 43 00 2D 00 09 14 0A
245
RECV: 01 43 12 00 01 00 01 00 01 00 00 00 00 00 00 00 00 00 01 00 00 3F 9C
246
SEND: 01 43 00 09 00 02 15 C6
247
RECV: 01 43 04 00 C8 00 DE F5 55
248
SEND: 01 43 00 00 00 04 45 C6
249
RECV: 01 43 08 04 00 00 00 00 00 00 00 96 F0
250
SEND: 01 43 00 0D 00 07 94 04
251
RECV: 01 43 0E 09 10 08 FC 09 56 01 F4 00 C9 7F FF 00 E8 B2 C5
252
SEND: 01 43 00 1F 00 01 B4 03
253
RECV: 01 43 02 00 01 6C 44
254
SEND: 01 43 00 2D 00 09 14 0A
255
RECV: 01 43 12 00 01 00 01 00 01 00 00 00 00 00 00 00 00 00 01 00 00 3F 9C
256
SEND: 01 43 00 09 00 02 15 C6
257
^C
258
[root@M28x NandFlash]#