1
|
login as: root
|
2
|
root@192.168.0.16's password:
|
3
|
Last login: Fri Dec 29 13:52:01 2023 from 192.168.0.2
|
4
|
[root@ROC-A6-T300A:~]# cd /NandFlash
|
5
|
[root@ROC-A6-T300A:NandFlash]# ./sscomx
|
6
|
Input the com prot: RS485-6
|
7
|
baudrate: 9600
|
8
|
Parity(n\o\e): n
|
9
|
DataBit(5\6\7\8): 8
|
10
|
StopBit(1\2): 1
|
11
|
data types:
|
12
|
1. hex
|
13
|
2. ascii
|
14
|
select data type: 1
|
15
|
select com prot: /dev/RS485-6, 9600, n, 8, 1 for hex
|
16
|
send: 04 03 00 00 00 0A C5 98
|
17
|
no data receive!
|
18
|
send: 04 03 00 00 00 15 84 50
|
19
|
no data receive!
|
20
|
send:
|
21
|
login as: root
|
22
|
root@192.168.0.16's password:
|
23
|
Last login: Wed Jan 3 11:10:07 2024 from 192.168.0.2
|
24
|
[root@ROC-A6-T300A:~]# cd /NandFlash
|
25
|
[root@ROC-A6-T300A:NandFlash]# ./sscomx
|
26
|
Input the com prot: RS485-7
|
27
|
baudrate: 9600
|
28
|
Parity(n\o\e): n
|
29
|
DataBit(5\6\7\8): 8
|
30
|
StopBit(1\2): 1
|
31
|
data types:
|
32
|
1. hex
|
33
|
2. ascii
|
34
|
select data type: 1
|
35
|
select com prot: /dev/RS485-7, 9600, n, 8, 1 for hex
|
36
|
send: 04 03 00 00 00 0A C5 98
|
37
|
rece: 04 03 14 00 C5 7F FF 00 C8 00 00 7F FF 00 70 00 6F 00 C3 00 C8 00 00 65 D8
|
38
|
send: 04 03 00 00 00 0A C5 98
|
39
|
rece: 04 03 14 00 C5 7F FF 00 C8 00 00 7F FF 00 70 00 6F 00 C3 00 C8 00 00 65 D8
|
40
|
send:
|
41
|
login as: root
|
42
|
root@192.168.0.16's password:
|
43
|
Last login: Wed Jan 3 11:13:13 2024 from 192.168.0.2
|
44
|
[root@ROC-A6-T300A:~]# cd /NandFlash
|
45
|
[root@ROC-A6-T300A:NandFlash]# ./omDemo1 2081 4 0 0 0 RS485-7:9600,n,8,1
|
46
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
47
|
MemFree: 191216 kB
|
48
|
MemAvailable: 205260 kB
|
49
|
Buffers: 0 kB
|
50
|
!!!MemVsz 0: 4876 KB
|
51
|
SIGRTMAX-1= 63
|
52
|
SerManager new: d85710
|
53
|
!!!MemVsz change: 128 KB
|
54
|
!!!MemVsz change: 5148 KB
|
55
|
!!!MemVsz change: 1248 KB
|
56
|
|
57
|
SMxxx: Type=2081 Addr=4 Port=0 Tag1=0 Ext1=0
|
58
|
|
59
|
SerDef=RS485-7:9600,n,8,1 Type=2081
|
60
|
testSM SM=d885b8
|
61
|
CSerCom InitCom: d88790 1
|
62
|
CSerCom UpdParams: ComPort: RS485-7, 0, 0
|
63
|
CSerCom::Open: /dev/RS485-7,9600,8,N,0
|
64
|
set serial done+!
|
65
|
RS485-7:9600,n,8,1[110007] open ok!
|
66
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
67
|
MemFree: 191036 kB
|
68
|
MemAvailable: 205080 kB
|
69
|
Buffers: 0 kB
|
70
|
start SMxxx->DataGet ...
|
71
|
SEND: 04 03 00 00 00 15 84 50
|
72
|
RECV: 04 03 2A 00 C1 7F FF 00 C3 00 00 7F FF 00 70 00 6F 00 C2 00 C6 00 00 00 00 00 00 00 00 00 01 00 1E 00 00 00 00 7F FF 7F FF 7F FF 00 00 BE 3B
|
73
|
testSM-0001 11:17:00 RS485-7:9600,n,8,1
|
74
|
SEND: 04 03 00 00 00 15 84 50
|
75
|
RECV: 04 03 2A 00 C1 7F FF 00 C3 00 00 7F FF 00 70 00 6F 00 C2 00 C7 00 00 00 00 00 00 00 00 00 01 00 1E 00 00 00 00 7F FF 7F FF 7F FF 00 00 EA C2
|
76
|
testSM-0002 11:17:02 RS485-7:9600,n,8,1
|
77
|
SEND: 04 03 00 00 00 15 84 50
|
78
|
RECV:
|
79
|
testSM-0003 11:17:03 RS485-7:9600,n,8,1
|
80
|
SEND: 04 03 00 00 00 15 84 50
|
81
|
RECV: 04 03 2A 00 C1 7F FF 00 C3 00 00 7F FF 00 70 00 6F 00 C1 00 C7 00 00 00 00 00 00 00 00 00 01 00 1E 00 00 00 00 7F FF 7F FF 7F FF 00 00 EB 05
|
82
|
testSM-0004 11:17:05 RS485-7:9600,n,8,1
|
83
|
SEND: 04 03 00 00 00 15 84 50
|
84
|
RECV: 04 03 2A 00 C1 7F FF 00 C3 00 00 7F FF 00 70 00 6F 00 C1 00 C7 00 00 00 00 00 00 00 00 00 01 00 1E 00 00 00 00 7F FF 7F FF 7F FF 00 00 EB 05
|
85
|
testSM-0005 11:17:06 RS485-7:9600,n,8,1
|
86
|
SEND: 04 03 00 00 00 15 84 50
|
87
|
RECV: 04 03 2A 00 C1 7F FF 00 C3 00 00 7F FF 00 6F 00 6F 00 C1 00 C6 00 00 00 00 00 00 00 00 00 01 00 1E 00 00 00 00 7F FF 7F FF 7F FF 00 00 CE 32
|
88
|
testSM-0006 11:17:07 RS485-7:9600,n,8,1
|
89
|
SEND: 04 03 00 00 00 15 84 50
|
90
|
RECV: 04 03 2A 00 C1 7F FF 00 C3 00 00 7F FF 00 6F 00 6F 00 C1 00 C7 00 00 00 00 00 00 00 00 00 01 00 1E 00 00 00 00 7F FF 7F FF 7F FF 00 00 9A CB
|
91
|
^C
|
92
|
[root@ROC-A6-T300A:NandFlash]#
|