1
|
login as: root
|
2
|
root@192.168.0.16's password:
|
3
|
Last login: Mon Jun 24 16:53:00 2024 from 192.168.0.100
|
4
|
[root@OM-A6-T300A:~]# cd /NandFlash
|
5
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4618 1 0 0 0 RS485-2:9600,n,8,1
|
6
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
7
|
MemFree: 195560 kB
|
8
|
MemAvailable: 212844 kB
|
9
|
Buffers: 0 kB
|
10
|
!!!MemVsz 0: 4876 KB
|
11
|
SIGRTMAX-1= 63
|
12
|
SerManager new: bd2710
|
13
|
!!!MemVsz change: 128 KB
|
14
|
!!!MemVsz change: 5424 KB
|
15
|
!!!MemVsz change: 1248 KB
|
16
|
|
17
|
SMxxx: Type=4618 Addr=1 Port=0 Tag1=0 Ext1=0
|
18
|
|
19
|
SerDef=RS485-2:9600,n,8,1 Type=4618
|
20
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
21
|
testSM SM=bd55b8
|
22
|
CSerCom InitCom: bd5970 1
|
23
|
CSerCom UpdParams: ComPort: RS485-2, 0, 0
|
24
|
CSerCom::Open: /dev/RS485-2,9600,8,N,0
|
25
|
set serial done+!
|
26
|
RS485-2:9600,n,8,1[110002] open ok!
|
27
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
28
|
MemFree: 195312 kB
|
29
|
MemAvailable: 212596 kB
|
30
|
Buffers: 0 kB
|
31
|
start SMxxx->DataGet ...
|
32
|
SEND: 01 03 00 96 00 09 65 E0
|
33
|
RECV: 01 03 12 04 02 04 00 03 FD 03 DD 03 E1 03 DE 00 00 00 00 00 03 DD 86
|
34
|
t=4618 iaddr=1 iext=0
|
35
|
40151=1026
|
36
|
40152=1024
|
37
|
40153=1021
|
38
|
40154=989
|
39
|
40155=993
|
40
|
40156=990
|
41
|
40157=0
|
42
|
40158=0
|
43
|
40159=3
|
44
|
brief=һ▒▒UAB▒▒ѹ: 10.26V , һ▒▒UBC▒▒ѹ: 10.24V , һ▒▒UCA▒▒ѹ: 10.21V
|
45
|
testSM-0001 16:55:03 RS485-2:9600,n,8,1
|
46
|
SEND: 01 03 00 96 00 09 65 E0
|
47
|
RECV: 01 03 12 04 03 03 FB 03 FD 03 D0 03 E0 03 E7 00 03 00 00 00 03 AE 58
|
48
|
t=4618 iaddr=1 iext=0
|
49
|
40151=1027
|
50
|
40152=1019
|
51
|
40153=1021
|
52
|
40154=976
|
53
|
40155=992
|
54
|
40156=999
|
55
|
40157=3
|
56
|
40158=0
|
57
|
40159=3
|
58
|
brief=һ▒▒UAB▒▒ѹ: 10.27V , һ▒▒UBC▒▒ѹ: 10.19V , һ▒▒UCA▒▒ѹ: 10.21V
|
59
|
testSM-0002 16:55:04 RS485-2:9600,n,8,1
|
60
|
SEND: 01 03 00 96 00 09 65 E0
|
61
|
RECV: 01 03 12 04 03 03 FE 03 F9 03 D7 03 E3 03 EA 00 03 00 00 00 03 B7 9B
|
62
|
t=4618 iaddr=1 iext=0
|
63
|
40151=1027
|
64
|
40152=1022
|
65
|
40153=1017
|
66
|
40154=983
|
67
|
40155=995
|
68
|
40156=1002
|
69
|
40157=3
|
70
|
40158=0
|
71
|
40159=3
|
72
|
brief=һ▒▒UAB▒▒ѹ: 10.27V , һ▒▒UBC▒▒ѹ: 10.22V , һ▒▒UCA▒▒ѹ: 10.17V
|
73
|
testSM-0003 16:55:06 RS485-2:9600,n,8,1
|
74
|
SEND: 01 03 00 96 00 09 65 E0
|
75
|
RECV: 01 03 12 04 03 03 FD 04 00 03 DB 03 E2 03 E7 00 00 00 00 00 03 05 65
|
76
|
t=4618 iaddr=1 iext=0
|
77
|
40151=1027
|
78
|
40152=1021
|
79
|
40153=1024
|
80
|
40154=987
|
81
|
40155=994
|
82
|
40156=999
|
83
|
40157=0
|
84
|
40158=0
|
85
|
40159=3
|
86
|
brief=һ▒▒UAB▒▒ѹ: 10.27V , һ▒▒UBC▒▒ѹ: 10.21V , һ▒▒UCA▒▒ѹ: 10.24V
|
87
|
testSM-0004 16:55:07 RS485-2:9600,n,8,1
|
88
|
SEND: 01 03 00 96 00 09 65 E0
|
89
|
RECV: 01 03 12 04 00 03 FB 04 00 03 D3 03 DD 03 DD 00 00 00 00 00 03 D6 05
|
90
|
t=4618 iaddr=1 iext=0
|
91
|
40151=1024
|
92
|
40152=1019
|
93
|
40153=1024
|
94
|
40154=979
|
95
|
40155=989
|
96
|
40156=989
|
97
|
40157=0
|
98
|
40158=0
|
99
|
40159=3
|
100
|
brief=һ▒▒UAB▒▒ѹ: 10.24V , һ▒▒UBC▒▒ѹ: 10.19V , һ▒▒UCA▒▒ѹ: 10.24V
|
101
|
^C
|
102
|
[root@OM-A6-T300A:NandFlash]#
|