1
|
login as: root
|
2
|
root@192.168.0.16's password:
|
3
|
[root@OM-A6-X500:~]# cd /NandFlash
|
4
|
[root@OM-A6-X500:NandFlash]# ls
|
5
|
SM/ libomdev.so* omOneNetPost.ini
|
6
|
SerialPortQuickDef.ini libomser-quick.so* omTray*
|
7
|
bak/ libomser.so* omTray.ini
|
8
|
dbCfg.db3* libomserd.so* omapp.conf
|
9
|
dbData.db3 libomsm.so* readme.txt
|
10
|
dbLog.db3 libomsuw.so* smtype??????.txt*
|
11
|
device.id* omApp.ini* smtype_upd.sh*
|
12
|
hwtest* omAppPost* sscomx*
|
13
|
hwtest.ini omAppPost.ini test/
|
14
|
hwtestC0.ini* omAppSU* tmp/
|
15
|
hwtestEx* omAppSU.ini* update_dbcfg_quick.sh
|
16
|
hwtestEx.ini* omDemo1* update_dbcfg_xxx_bak.sh*
|
17
|
libomalm.so omMonitor.ini www/
|
18
|
libomdb.so* omOneNetPost*
|
19
|
[root@OM-A6-X500:NandFlash]# ./sscomx
|
20
|
Input the com prot: RS485-1
|
21
|
baudrate: 19200
|
22
|
Parity(n\o\e): n
|
23
|
DataBit(5\6\7\8): 8
|
24
|
StopBit(1\2): 1
|
25
|
data types:
|
26
|
1. hex
|
27
|
2. ascii
|
28
|
select data type: 1
|
29
|
select com prot: /dev/RS485-1, 19200, n, 8, 1 for hex
|
30
|
send:
|
31
|
no data receive!
|
32
|
send: 01 04 04 01 00 02 21 3B
|
33
|
rece: 01 04 04 FF FF FF FF FA 10
|
34
|
send: 01 04 04 01 00 02 21 3B
|
35
|
rece: 01 04 04 FF FF FF FF FA 10
|
36
|
send: 01 04 04 03 00 02 80 FB
|
37
|
rece: 01 04 04 00 DC 01 F4 3A 69
|
38
|
send: 01 04 04 03 00 02 80 FB
|
39
|
rece: 01 04 04 00 DC 01 F4 3A 69
|
40
|
send: 01 04 04 31 00 04 A1 36
|
41
|
rece: 01 04 08 01 F4 08 CA 00 6E FF FF A9 3B
|
42
|
send: 01 04 04 35 00 04 E0 F7
|
43
|
rece: 01 04 08 01 F4 08 D5 00 82 FF FF FD 0C
|
44
|
send: 01 04 04 35 00 04 E0 F7
|
45
|
rece: 01 04 08 01 F4 08 D4 00 82 FF FF C0 CC
|
46
|
send: 01 04 04 34 00 02 31 35
|
47
|
rece: 01 04 04 FF FF 01 F4 FB B7
|
48
|
send: 01 04 04 39 00 04 20 F4
|
49
|
rece: 01 04 08 01 F4 08 D0 00 64 FF FF D0 FB
|
50
|
send: 01 04 04 45 00 04 E1 2C
|
51
|
rece: 01 04 08 08 9A 00 00 00 00 00 00 1F A2
|
52
|
send: 01 04 04 49 00 04 21 2F
|
53
|
rece: 01 04 08 08 98 00 00 00 00 00 00 3C 62
|
54
|
send: 01 04 04 54 00 04 B1 29
|
55
|
rece: 01 04 08 00 00 00 00 01 F4 00 03 24 02
|
56
|
send: 01 02 01 00 00 06 F9 F4
|
57
|
rece: 01 02 01 00 A1 88
|
58
|
send: 01 02 01 00 00 01 B8 36
|
59
|
rece: 01 02 01 00 A1 88
|
60
|
send:
|
61
|
|
62
|
|
63
|
select com prot: /dev/RS485-1, 19200, n, 8, 1 for hex
|
64
|
send: 01 04 04 24 00 02 30 F0
|
65
|
rece: 01 04 04 0A A2 00 05 99 BD 01 84 03 03 01
|
66
|
send: 01 04 04 24 00 02 30 F0
|
67
|
rece: 01 04 04 0A A2 00 05 99 BD 01 84 03 03 01
|
68
|
send:
|
69
|
|