1
|
login as: root
|
2
|
root@192.168.0.16's password:
|
3
|
Last login: Tue May 14 14:41:02 2024 from 192.168.0.161
|
4
|
[root@OM-A8-L200:~]# cd /NandFlash
|
5
|
[root@OM-A8-L200:NandFlash]# ./omDemo1 4712 10 0 0 0 RS485-5:9600,n,8,1
|
6
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
7
|
MemFree: 160668 kB
|
8
|
MemAvailable: 209732 kB
|
9
|
Buffers: 0 kB
|
10
|
!!!MemVsz 0: 4876 KB
|
11
|
SIGRTMAX-1= 63
|
12
|
SerManager new: 438710
|
13
|
!!!MemVsz change: 128 KB
|
14
|
!!!MemVsz change: 5376 KB
|
15
|
!!!MemVsz change: 1248 KB
|
16
|
|
17
|
SMxxx: Type=4712 Addr=10 Port=0 Tag1=0 Ext1=0
|
18
|
|
19
|
SerDef=RS485-5:9600,n,8,1 Type=4712
|
20
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
21
|
testSM SM=43b5b8
|
22
|
CSerCom InitCom: 43b8b0 1
|
23
|
CSerCom UpdParams: ComPort: RS485-5, 0, 0
|
24
|
CSerCom::Open: /dev/RS485-5,9600,8,N,0
|
25
|
set serial done+!
|
26
|
RS485-5:9600,n,8,1[110005] open ok!
|
27
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
28
|
MemFree: 160504 kB
|
29
|
MemAvailable: 209568 kB
|
30
|
Buffers: 0 kB
|
31
|
start SMxxx->DataGet ...
|
32
|
SEND: 0A 03 00 00 00 01 85 71
|
33
|
RECV: 0A 03 02 03 E7 5D 3F
|
34
|
t=4712 iaddr=10 iext=0
|
35
|
40001=999
|
36
|
brief=
|
37
|
testSM-0001 17:21:47 RS485-5:9600,n,8,1
|
38
|
SEND: 0A 03 00 00 00 01 85 71
|
39
|
RECV: 0A 03 02 03 E7 5D 3F
|
40
|
t=4712 iaddr=10 iext=0
|
41
|
40001=999
|
42
|
brief=
|
43
|
testSM-0002 17:21:48 RS485-5:9600,n,8,1
|
44
|
SEND: 0A 03 00 00 00 01 85 71
|
45
|
RECV: 0A 03 02 03 E8 1D 3B
|
46
|
t=4712 iaddr=10 iext=0
|
47
|
40001=1000
|
48
|
brief=
|
49
|
testSM-0003 17:21:49 RS485-5:9600,n,8,1
|
50
|
SEND: 0A 03 00 00 00 01 85 71
|
51
|
RECV: 0A 03 02 03 E8 1D 3B
|
52
|
t=4712 iaddr=10 iext=0
|
53
|
40001=1000
|
54
|
brief=
|
55
|
^C
|
56
|
[root@OM-A8-L200:NandFlash]#
|