项目

一般

简介

UPS-putty.txt

陆 志毅, 2024-05-14 17:58

 
1
login as: root
2
root@192.168.100.4's password:
3
[root@OM-A6-X500:~]# cd /NandFlash
4
[root@OM-A6-X500:NandFlash]# ls
5
SM/                      libomser-quick.so*       omTray*
6
SerialPortQuickDef.ini   libomser.so*             omTray.ini
7
dbCfg.db3*               libomserd.so*            omapp.conf
8
dbData.db3               libomsm.so*              readme.txt
9
dbLog.db3                libomsuw.so*             smtype??????.txt*
10
device.id*               omApp.ini                smtype_upd.sh*
11
hwtest*                  omAppPost*               sscomx*
12
hwtest.ini               omAppPost.ini            test/
13
hwtestC0.ini*            omAppSU*                 tmp/
14
hwtestEx*                omAppSU.ini*             update_dbcfg_quick.sh
15
hwtestEx.ini*            omDemo1*                 update_dbcfg_xxx_bak.sh*
16
libomalm.so              omMonitor.ini            www/
17
libomdb.so*              omOneNetPost*
18
libomdev.so*             omOneNetPost.ini
19
[root@OM-A6-X500:NandFlash]# ./sscomx
20
Input the com prot: RS232-2
21
baudrate: 2400
22
Parity(n\o\e): n
23
DataBit(5\6\7\8): 8
24
StopBit(1\2): 1
25
data types:
26
   1. hex
27
   2. ascii
28
select data type: 2
29
select com prot: /dev/RS232-2, 2400, n, 8, 1 for ascii
30
send: Q3GS
31
no data receive!
32
send: Q3GS
33
no data receive!
34
send: Q3GS
35
no data receive!
36
send: QPI
37
no data receive!
38
send: ^C
39
[root@OM-A6-X500:NandFlash]# ./sscomx
40
Input the com prot: RS232-2
41
baudrate: 9600
42
Parity(n\o\e): n
43
DataBit(5\6\7\8): 8
44
StopBit(1\2): 1
45
data types:
46
   1. hex
47
   2. ascii
48
select data type: 2
49
select com prot: /dev/RS232-2, 9600, n, 8, 1 for ascii
50
send: Q3GS
51
no data receive!
52
send: Q3GS
53
no data receive!
54
send: QMD
55
rece: (#####MODULARUPS #020000 100 3/3 220 220 16 12.0
56
send: Q3GS
57
no data receive!
58
send: QMD
59
rece: (218.7 216.2 217.9 50.0 220.6 220.1 220.4 49.9 0002.0 0002.2 0002.7 007 00(#####MODULARUPS #020000 100 3/3 220 220 16 12.0
60
send: Q3GS
61
no data receive!
62
send: QMD
63
rece: (218.8 217.3 217.0 49.9 220.2 219.9 220.0 50.0 0001.5 0002.1 0002.4 004 00(#####MODULARUPS #020000 100 3/3 220 220 16 12.0
64
send: Q3GS
65
no data receive!
66
send: QMD
67
no data receive!
68
send: Q3GS
69
no data receive!
70
send: QMD
71
no data receive!
72
send: QMIP
73
no data receive!
74
send: Q3GSN
75
no data receive!
76
send: ./o^C
77
[root@OM-A6-X500:NandFlash]# ./omDemo1 772 1 0 2 0 RS232-2:2400,n,8,1
78
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
79
MemFree:          202788 kB
80
MemAvailable:     214668 kB
81
Buffers:               0 kB
82
!!!MemVsz 0: 4876 KB
83
SIGRTMAX-1= 63
84
SerManager new: 115d710
85
!!!MemVsz change: 128 KB
86
!!!MemVsz change: 5312 KB
87
!!!MemVsz change: 1248 KB
88

    
89
SMxxx: Type=772  Addr=1  Port=0  Tag1=2  Ext1=0
90

    
91
SerDef=RS232-2:2400,n,8,1 Type=772
92
testSM SM=11605b8
93
CSerCom InitCom: 11607c0  1
94
CSerCom UpdParams: ComPort: RS232-2, 0, 0
95
CSerCom::Open: /dev/RS232-2,2400,8,N,0
96
set serial done+!
97
RS232-2:2400,n,8,1[100002] open ok!
98
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
99
MemFree:          202360 kB
100
MemAvailable:     214308 kB
101
Buffers:               0 kB
102
start SMxxx->DataGet ...
103
SEND: 51 33 47 53 0D
104
RECV:
105
testSM-0001 17:46:12  RS232-2:2400,n,8,1
106
SEND: 51 33 47 53 0D
107
RECV:
108
testSM-0002 17:46:14  RS232-2:2400,n,8,1
109
SEND: 51 33 47 53 0D
110
RECV:
111
testSM-0003 17:46:15  RS232-2:2400,n,8,1
112
SEND: 51 33 47 53 0D
113
RECV:
114
testSM-0004 17:46:17  RS232-2:2400,n,8,1
115
SEND: 51 33 47 53 0D
116
RECV:
117
^C
118
[root@OM-A6-X500:NandFlash]# ./omDemo1 825 1 0 1 0 RS232-2:2400,n,8,1
119
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
120
MemFree:          202468 kB
121
MemAvailable:     214428 kB
122
Buffers:               0 kB
123
!!!MemVsz 0: 4876 KB
124
SIGRTMAX-1= 63
125
SerManager new: 1ca1710
126
!!!MemVsz change: 128 KB
127
!!!MemVsz change: 5312 KB
128
!!!MemVsz change: 1248 KB
129

    
130
SMxxx: Type=825  Addr=1  Port=0  Tag1=1  Ext1=0
131

    
132
SerDef=RS232-2:2400,n,8,1 Type=825
133
testSM SM=1ca45b8
134
CSerCom InitCom: 1ca4868  1
135
CSerCom UpdParams: ComPort: RS232-2, 0, 0
136
CSerCom::Open: /dev/RS232-2,2400,8,N,0
137
set serial done+!
138
RS232-2:2400,n,8,1[100002] open ok!
139
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
140
MemFree:          202176 kB
141
MemAvailable:     214136 kB
142
Buffers:               0 kB
143
start SMxxx->DataGet ...
144
SEND: 51 33 47 53 0D
145
RECV:
146
testSM-0001 17:47:35  RS232-2:2400,n,8,1
147
SEND: 51 33 47 53 0D
148
RECV:
149
testSM-0002 17:47:36  RS232-2:2400,n,8,1
150
SEND: 51 33 47 53 0D
151
RECV:
152
testSM-0003 17:47:38  RS232-2:2400,n,8,1
153
SEND: 51 33 47 53 0D
154
RECV:
155
^C
156
[root@OM-A6-X500:NandFlash]# ./sscomx
157
Input the com prot: RS232-2
158
baudrate: 2400
159
Parity(n\o\e): n
160
DataBit(5\6\7\8): 8
161
StopBit(1\2): 1
162
data types:
163
   1. hex
164
   2. ascii
165
select data type: 2
166
select com prot: /dev/RS232-2, 2400, n, 8, 1 for ascii
167
send: QMD
168
no data receive!
169
send: QMD
170
no data receive!
171
send: QMD
172
no data receive!
173
send: QMD
174
no data receive!
175
send: