1
|
login as: root
|
2
|
root@192.168.1.169's password:
|
3
|
Last login: Mon Mar 18 17:57:07 2024 from 141.4.127.1
|
4
|
[root@OM-A6-T300A:~]#
|
5
|
[root@OM-A6-T300A:~]#
|
6
|
[root@OM-A6-T300A:~]#
|
7
|
[root@OM-A6-T300A:~]# cd /NandFlash
|
8
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
9
|
Input the com prot: RS232-1
|
10
|
baudrate: 115200
|
11
|
Parity(n\o\e): n
|
12
|
DataBit(5\6\7\8): 8
|
13
|
StopBit(1\2): 1
|
14
|
data types:
|
15
|
1. hex
|
16
|
2. ascii
|
17
|
select data type: 2
|
18
|
select com prot: /dev/RS232-1, 115200, n, 8, 1 for ascii
|
19
|
send: AT
|
20
|
rece:
|
21
|
OK
|
22
|
|
23
|
send: ATD18776155271;
|
24
|
no data receive!
|
25
|
send: ^C
|
26
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4970 38 0 0 0 RS485-6:9600,n,8,1
|
27
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
28
|
MemFree: 162664 kB
|
29
|
MemAvailable: 190168 kB
|
30
|
Buffers: 0 kB
|
31
|
!!!MemVsz 0: 4876 KB
|
32
|
SIGRTMAX-1= 63
|
33
|
SerManager new: 7df710
|
34
|
!!!MemVsz change: 128 KB
|
35
|
!!!MemVsz change: 5148 KB
|
36
|
!!!MemVsz change: 1248 KB
|
37
|
|
38
|
SMxxx: Type=4970 Addr=38 Port=0 Tag1=0 Ext1=0
|
39
|
|
40
|
SerDef=RS485-6:9600,n,8,1 Type=4970
|
41
|
CSMModbus::UpdLoad d=1 10ms tout=300 DataByte=0
|
42
|
testSM SM=7e25b8
|
43
|
CSerCom InitCom: 7e2938 1
|
44
|
CSerCom UpdParams: ComPort: RS485-6, 0, 0
|
45
|
CSerCom::Open: /dev/RS485-6,9600,8,N,0
|
46
|
set serial done+!
|
47
|
RS485-6:9600,n,8,1[110006] open ok!
|
48
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
49
|
MemFree: 162488 kB
|
50
|
MemAvailable: 190004 kB
|
51
|
Buffers: 0 kB
|
52
|
start SMxxx->DataGet ...
|
53
|
SEND: 26 03 00 00 00 02 C2 DC
|
54
|
RECV: 26 03 04 00 00 FF FF AC 81
|
55
|
SEND: 26 03 00 08 00 01 03 1F
|
56
|
RECV: 26 03 02 00 14 8C 4C
|
57
|
t=4970 iaddr=38 iext=0
|
58
|
40001=0
|
59
|
40002=65535
|
60
|
40009=20
|
61
|
brief=?????????: 6553.5 m
|
62
|
testSM-0001 10:58:25 RS485-6:9600,n,8,1
|
63
|
SEND: 26 03 00 00 00 02 C2 DC
|
64
|
RECV: 26 03 04 00 00 FF FF AC 81
|
65
|
SEND: 26 03 00 08 00 01 03 1F
|
66
|
RECV: 26 03 02 00 14 8C 4C
|
67
|
t=4970 iaddr=38 iext=0
|
68
|
40001=0
|
69
|
40002=65535
|
70
|
40009=20
|
71
|
brief=?????????: 6553.5 m
|
72
|
testSM-0002 10:58:27 RS485-6:9600,n,8,1
|
73
|
SEND: 26 03 00 00 00 02 C2 DC
|
74
|
RECV: 26 03 04 00 00 FF FF AC 81
|
75
|
SEND: 26 03 00 08 00 01 03 1F
|
76
|
RECV: 26 03 02 00 14 8C 4C
|
77
|
t=4970 iaddr=38 iext=0
|
78
|
40001=0
|
79
|
40002=65535
|
80
|
40009=20
|
81
|
brief=?????????: 6553.5 m
|
82
|
testSM-0003 10:58:28 RS485-6:9600,n,8,1
|
83
|
SEND: 26 03 00 00 00 02 C2 DC
|
84
|
RECV: 26 03 04 00 00 FF FF AC 81
|
85
|
SEND: 26 03 00 08 00 01 03 1F
|
86
|
RECV: 26 03 02 00 14 8C 4C
|
87
|
t=4970 iaddr=38 iext=0
|
88
|
40001=0
|
89
|
40002=65535
|
90
|
40009=20
|
91
|
brief=?????????: 6553.5 m
|
92
|
testSM-0004 10:58:30 RS485-6:9600,n,8,1
|
93
|
SEND: 26 03 00 00 00 02 C2 DC
|
94
|
RECV: 26 03 04 00 00 FF FF AC 81
|
95
|
SEND: 26 03 00 08 00 01 03 1F
|
96
|
RECV: 26 03 02 00 14 8C 4C
|
97
|
t=4970 iaddr=38 iext=0
|
98
|
40001=0
|
99
|
40002=65535
|
100
|
40009=20
|
101
|
brief=?????????: 6553.5 m
|
102
|
^C
|
103
|
[root@OM-A6-T300A:NandFlash]#
|