1
|
login as: root
|
2
|
root@192.168.1.16's password:
|
3
|
Last login: Fri Apr 12 16:20:29 2024 from 192.168.1.100
|
4
|
[root@ROC-A6-T100A:~]# cd /NandFlash
|
5
|
[root@ROC-A6-T100A:NandFlash]# ./sscomx
|
6
|
Input the com prot: 9600
|
7
|
baudrate: n
|
8
|
Parity(n\o\e): DataBit(5\6\7\8): StopBit(1\2): data types:
|
9
|
1. hex
|
10
|
2. ascii
|
11
|
select data type: select com prot: /dev/9600, 0, n, 6, 459532 for hex
|
12
|
Open Port /dev/9600: Error
|
13
|
[root@ROC-A6-T100A:NandFlash]# 8
|
14
|
-sh: 8: command not found
|
15
|
[root@ROC-A6-T100A:NandFlash]# 8
|
16
|
-sh: 8: command not found
|
17
|
[root@ROC-A6-T100A:NandFlash]# ./sscomx
|
18
|
Input the com prot: RS485-1
|
19
|
baudrate: 9600
|
20
|
Parity(n\o\e): n
|
21
|
DataBit(5\6\7\8): 8
|
22
|
StopBit(1\2): 1
|
23
|
data types:
|
24
|
1. hex
|
25
|
2. ascii
|
26
|
select data type: 1
|
27
|
select com prot: /dev/RS485-1, 9600, n, 8, 1 for hex
|
28
|
send: 01 03 13 92 00 0F A0 A7
|
29
|
rece: 01 03 1E 00 01 00 01 00 01 00 00 00 00 00 58 00 64 00 58 00 78 00 50 00 00 00 00 00 2D 00 64 00 00 FF E8
|
30
|
send: 01 03 13 88 00 28 C1 7A
|
31
|
no data receive!
|
32
|
send: 01 03 13 92 00 0F A0 A7
|
33
|
rece: 01 03 1E 00 01 00 01 00 01 00 00 00 00 00 58 00 64 00 58 00 78 00 50 00 00 00 00 00 2D 00 64 00 00 FF E8
|
34
|
send: 01 03 13 92 00 28 E0 BD
|
35
|
rece: 01 03 50 00 01 00 01 00 01 00 00 00 00 00 58 00 64 00 58 00 78 00 50 00 00 00 00 00 2D 00 64 00 00 00 6E 00 5A 00 00 00 00 00 14 00 32 00 FC 00 00 00 00 00 01 00 00 00 00 00 01 00 78 00 2A 00 5A 00 0A 00 00 00 00 00 64 00 30 00 6A 00 36 00 14 00 14 93 65
|
36
|
send: 01 04 13 98 00 28 75 7F
|
37
|
rece: 01 04 50 00 F8 00 44 00 F8 00 44 03 FE 00 5C 00 5C 00 5C 00 5C 00 06 00 FF 00 DC 00 DC 00 DC 00 F8 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6E 93
|
38
|
send: 02 03 13 92 00 28 E0 8E
|
39
|
rece: 02 03 50 00 01 00 02 00 01 00 00 00 00 00 58 00 64 00 58 00 78 00 50 00 00 00 00 00 2D 00 64 00 00 00 6E 00 5A 00 00 00 00 00 14 00 32 00 FC 00 00 00 00 00 01 00 00 00 00 00 01 00 78 00 3C 00 5A 00 0A 00 00 00 00 00 64 00 30 00 6A 00 36 00 14 00 14 71 73
|
40
|
send: 02 04 13 98 00 28 75 4C
|
41
|
rece: 02 04 50 00 F4 00 45 00 F4 00 45 03 FE 00 5C 00 5C 00 5C 00 5C 00 0A 00 FF 00 DC 00 DC 00 DC 00 F4 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F9 2C
|
42
|
send:
|