1
|
login as: root
|
2
|
root@192.168.0.16's password:
|
3
|
[root@OM-A6-T300A:~]# cd /NandFlash
|
4
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4923 3 0 0 0 RS485-1:9600,n,8,1
|
5
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
6
|
MemFree: 205916 kB
|
7
|
MemAvailable: 216916 kB
|
8
|
Buffers: 0 kB
|
9
|
!!!MemVsz 0: 4876 KB
|
10
|
SIGRTMAX-1= 63
|
11
|
SerManager new: 1838710
|
12
|
!!!MemVsz change: 128 KB
|
13
|
!!!MemVsz change: 5424 KB
|
14
|
!!!MemVsz change: 1248 KB
|
15
|
|
16
|
SMxxx: Type=4923 Addr=3 Port=0 Tag1=0 Ext1=0
|
17
|
|
18
|
SerDef=RS485-1:9600,n,8,1 Type=4923
|
19
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
20
|
testSM SM=183b5b8
|
21
|
CSerCom InitCom: 183e828 1
|
22
|
CSerCom UpdParams: ComPort: RS485-1, 0, 0
|
23
|
CSerCom::Open: /dev/RS485-1,9600,8,N,0
|
24
|
set serial done+!
|
25
|
RS485-1:9600,n,8,1[110001] open ok!
|
26
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
27
|
MemFree: 205592 kB
|
28
|
MemAvailable: 216608 kB
|
29
|
Buffers: 0 kB
|
30
|
start SMxxx->DataGet ...
|
31
|
SEND: 03 03 00 3E 00 01 E4 24
|
32
|
RECV: 03 03 02 13 84 CC D7
|
33
|
SEND: 03 03 00 4F 00 32 F4 2A
|
34
|
RECV: 03 03 64 43 68 F0 A4 43 69 0F 5C 43 69 4A 3D 43 C9 BA E1 43 C9 FE B8 43 C9 DE B8 41 13 33 33 41 19 99 9A 41 68 F5 C3 45 00 80 00 45 03 00 00 45 50 00 00 45 EA 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F 76 C8 B4 3F 6F 1A A0 3F 7A E1 48 3F 76 45 A2 45 05 80 00 45 0C 00 00 45 54 00 00 45 F3 00 00 95 F2
|
35
|
t=4923 iaddr=3 iext=0
|
36
|
40063=4996
|
37
|
40080=232
|
38
|
40082=233
|
39
|
40084=233
|
40
|
40086=403
|
41
|
40088=403
|
42
|
40090=403
|
43
|
40092=9
|
44
|
40094=9
|
45
|
40096=14
|
46
|
40098=2056
|
47
|
40100=2096
|
48
|
40102=3328
|
49
|
40104=7488
|
50
|
40106=0
|
51
|
40108=0
|
52
|
40110=0
|
53
|
40112=0
|
54
|
40114=0
|
55
|
40116=0
|
56
|
40118=0
|
57
|
40120=0
|
58
|
40122=2136
|
59
|
40124=2240
|
60
|
40126=3392
|
61
|
40128=7776
|
62
|
brief=A▒▒▒ѹ: 232V , A▒▒▒▒▒: 9 A
|
63
|
testSM-0001 15:10:25 RS485-1:9600,n,8,1
|
64
|
SEND: 03 03 00 3E 00 01 E4 24
|
65
|
RECV: 03 03 02 13 84 CC D7
|
66
|
SEND: 03 03 00 4F 00 32 F4 2A
|
67
|
RECV: 03 03 64 43 68 F0 A4 43 69 0F 5C 43 69 4A 3D 43 C9 BA E1 43 C9 FE B8 43 C9 DE B8 41 13 33 33 41 19 99 9A 41 68 F5 C3 45 00 80 00 45 03 00 00 45 50 00 00 45 EA 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F 76 C8 B4 3F 6F 1A A0 3F 7A E1 48 3F 76 45 A2 45 05 80 00 45 0C 00 00 45 54 00 00 45 F3 00 00 95 F2
|
68
|
t=4923 iaddr=3 iext=0
|
69
|
40063=4996
|
70
|
40080=232
|
71
|
40082=233
|
72
|
40084=233
|
73
|
40086=403
|
74
|
40088=403
|
75
|
40090=403
|
76
|
40092=9
|
77
|
40094=9
|
78
|
40096=14
|
79
|
40098=2056
|
80
|
40100=2096
|
81
|
40102=3328
|
82
|
40104=7488
|
83
|
40106=0
|
84
|
40108=0
|
85
|
40110=0
|
86
|
40112=0
|
87
|
40114=0
|
88
|
40116=0
|
89
|
40118=0
|
90
|
40120=0
|
91
|
40122=2136
|
92
|
40124=2240
|
93
|
40126=3392
|
94
|
40128=7776
|
95
|
brief=A▒▒▒ѹ: 232V , A▒▒▒▒▒: 9 A
|
96
|
testSM-0002 15:10:26 RS485-1:9600,n,8,1
|
97
|
SEND: 03 03 00 3E 00 01 E4 24
|
98
|
RECV: 03 03 02 13 85 0D 17
|
99
|
SEND: 03 03 00 4F 00 32 F4 2A
|
100
|
RECV: 03 03 64 43 68 F0 A4 43 69 0A 3D 43 69 47 AE 43 C9 B3 33 43 C9 FD 71 43 C9 DD 71 41 13 33 33 41 19 99 9A 41 6A 3D 71 45 01 80 00 45 02 80 00 45 50 80 00 45 EA 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F 77 0A 3D 3F 6F 1A A0 3F 7A E1 48 3F 76 45 A2 45 06 00 00 45 0B 80 00 45 54 80 00 45 F3 80 00 0B 53
|
101
|
t=4923 iaddr=3 iext=0
|
102
|
40063=4997
|
103
|
40080=232
|
104
|
40082=233
|
105
|
40084=233
|
106
|
40086=403
|
107
|
40088=403
|
108
|
40090=403
|
109
|
40092=9
|
110
|
40094=9
|
111
|
40096=14
|
112
|
40098=2072
|
113
|
40100=2088
|
114
|
40102=3336
|
115
|
40104=7488
|
116
|
40106=0
|
117
|
40108=0
|
118
|
40110=0
|
119
|
40112=0
|
120
|
40114=0
|
121
|
40116=0
|
122
|
40118=0
|
123
|
40120=0
|
124
|
40122=2144
|
125
|
40124=2232
|
126
|
40126=3400
|
127
|
40128=7792
|
128
|
brief=A▒▒▒ѹ: 232V , A▒▒▒▒▒: 9 A
|
129
|
^C
|
130
|
[root@OM-A6-T300A:NandFlash]#
|