1
|
|
2
|
M28x login: root
|
3
|
Password:
|
4
|
[root@M28x ~]# cd /NandFlash
|
5
|
[root@M28x NandFlash]# ./omDemo1 819 0 0 0 0 ttySP0:19200,n,8,1
|
6
|
MemTotal: 124460 kB
|
7
|
MemFree: 92244 kB
|
8
|
Buffers: 0 kB
|
9
|
Cached: 13992 kB
|
10
|
!!!MemVsz 0: 4188 KB
|
11
|
SIGRTMAX-1= 63
|
12
|
SerManager new: 193f8
|
13
|
!!!MemVsz change: 112 KB
|
14
|
!!!MemVsz change: 4088 KB
|
15
|
!!!MemVsz change: 1036 KB
|
16
|
|
17
|
SMxxx: Type=819 Addr=0 Port=0 Tag1=0 Ext1=0
|
18
|
|
19
|
SerDef=ttySP0:19200,n,8,1 Type=819
|
20
|
testSM SM=1b8c0
|
21
|
CSerCom InitCom: 1bab0 1
|
22
|
CSerCom UpdParams: ComPort: ttySP0, 0, 0
|
23
|
CSerCom::Open: /dev/ttySP0,19200,8,N,0
|
24
|
set serial done+!
|
25
|
ttySP0:19200,n,8,1[100000] open ok!
|
26
|
MemTotal: 124460 kB
|
27
|
MemFree: 92020 kB
|
28
|
Buffers: 0 kB
|
29
|
Cached: 14000 kB
|
30
|
start SMxxx->DataGet ...
|
31
|
SEND: AB 01 34 20
|
32
|
RECV:
|
33
|
SEND: AB 01 34 20
|
34
|
RECV: AB 04 40 01 00 00 80 40 00 00 80 40 00 00 80 40 00 60 CC 44 00 40 03 45 00
|
35
|
00 47 3F 00 E0 47 42 00 D8 47 42 00 E0 47 42 00 CC 47 42 00 00 80 3F 00 B3 D8 4
|
36
|
3 00 CC C7 42 1B 2C 00 00 00 CD AC 43 00 00 E8 41 3C AB 04 40 02 00 CD AC 43 00
|
37
|
80 19 40 00 00 E8 41 00 00 65 43 00 00 64 43 00 00 66 43 00 66 65 43 00 4D 63 43
|
38
|
00 E6 64 43 00 D0 EC 41 00 C0 BE 40 00 C0 10 40 00 00 73 3F 00 00 60 41 00 00 6
|
39
|
0 41 00 00 60 41 6B AB 04 2C 83 00 40 1C 46 26 12 18 A0 88 18 57 07 00 E6 64 43
|
40
|
00 80 65 43 00 4D 65 43 00 40 86 44 00 80 C7 43 00 00 22 43 00 80 3B 45 7E 01 00
|
41
|
00 F0
|
42
|
SEND: AB 01 34 20
|
43
|
RECV: AB 04 40 01 00 00 80 40 00 00 80 40 00 00 80 40 00 60 CE 44 00 60 03 45 00
|
44
|
00 49 3F 00 D8 47 42 00 EC 47 42 00 D8 47 42 00 EC 47 42 00 00 80 3F 00 B3 D8 4
|
45
|
3 00 CC C7 42 93 2C 00 00 00 CD AC 43 00 00 E8 41 7C AB 04 40 02 00 CD AC 43 00
|
46
|
80 19 40 00 00 E8 41 00 E6 64 43 00 CD 63 43 00 CD 65 43 00 33 65 43 00 00 63 43
|
47
|
00 B3 64 43 00 30 EB 41 00 60 BF 40 00 C0 10 40 00 00 71 3F 00 00 60 41 00 00 6
|
48
|
0 41 00 00 60 41 A3 AB 04 2C 83 00 40 1C 46 26 12 18 A0 88 19 57 07 00 E6 64 43
|
49
|
00 80 65 43 00 33 65 43 00 C0 87 44 00 80 CA 43 00 00 20 43 00 80 3B 45 7E 01 00
|
50
|
00 87
|
51
|
SEND: AB 01 34 20
|
52
|
RECV: AB 04 40 01 00 00 80 40 00 00 80 40 00 00 80 40 00 40 CD 44 00 90 03 45 00
|
53
|
00 47 3F 00 D8 47 42 00 D8 47 42 00 D8 47 42 00 D8 47 42 00 00 80 3F 00 B3 D8 4
|
54
|
3 00 CC C7 42 93 2C 00 00 00 CD AC 43 00 00 E8 41 97 AB 04 40 02 00 CD AC 43 00
|
55
|
80 19 40 00 00 E8 41 00 00 65 43 00 9A 63 43 00 B3 65 43 00 66 65 43 00 CD 62 43
|
56
|
00 9A 64 43 00 30 EB 41 00 A0 BF 40 00 C0 10 40 00 00 71 3F 00 00 60 41 00 00 6
|
57
|
0 41 00 00 60 41 AF AB 04 2C 83 00 40 1C 46 26 12 18 A0 88 21 57 07 00 E6 64 43
|
58
|
00 80 65 43 00 4D 65 43 00 80 86 44 00 00 CC 43 00 00 1E 43 00 80 3B 45 7E 01 00
|
59
|
00 26
|
60
|
SEND: AB 01 34 20
|
61
|
RECV: AB 04 40 01 00 00 80 40 00 00 80 40 00 00 80 40 00 C0 CA 44 00 60 03 45 00
|
62
|
00 45 3F 00 E0 47 42 00 D8 47 42 00 E0 47 42 00 D8 47 42 00 00 80 3F 00 B3 D8 4
|
63
|
3 00 CC C7 42 93 2C 00 00 00 CD AC 43 00 00 E8 41 3C AB 04 40 02 00 CD AC 43 00
|
64
|
80 19 40 00 00 E8 41 00 1A 65 43 00 9A 63 43 00 B3 65 43 00 66 65 43 00 CD 62 43
|
65
|
00 B3 64 43 00 30 EB 41 00 00 BF 40 00 C0 10 40 00 00 73 3F 00 00 60 41 00 00 6
|
66
|
0 41 00 00 60 41 1A AB 04 2C 83 00 40 1C 46 26 12 18 A0 88 22 57 07 00 CD 64 43
|
67
|
00 66 65 43 00 4D 65 43 00 C0 84 44 00 80 C9 43 00 00 1D 43 00 80 3B 45 7E 01 00
|
68
|
00 9E
|
69
|
SEND: AB 01 34 20
|
70
|
RECV: AB 04 40 01 00 00 80 40 00 00 80 40 00 00 80 40 00 C0 CE 44 00 80 03 45 00
|
71
|
00 49 3F 00 D8 47 42 00 D8 47 42 00 D8 47 42 00 D8 47 42 00 00 80 3F 80 A6 D8 4
|
72
|
3 00 CC C7 42 1B 2C 00 00 00 CD AC 43 00 00 E8 41 29 AB 04 40 02 00 CD AC 43 00
|
73
|
80 19 40 00 00 E8 41 00 00 65 43 00 80 63 43 00 9A 65 43 00 66 65 43 00 B3 62 43
|
74
|
00 9A 64 43 00 68 EA 41 00 60 BF 40 00 40 11 40 00 00 71 3F 00 00 60 41 00 00 6
|
75
|
0 41 00 00 60 41 84 AB 04 2C 83 00 40 1C 46 26 12 18 A0 88 24 57 07 00 CD 64 43
|
76
|
00 80 65 43 00 4D 65 43 00 20 87 44 00 80 CE 43 00 00 20 43 00 80 3B 45 7E 01 00
|
77
|
00 17
|
78
|
SEND: AB 01 34 20
|
79
|
RECV: AB 04 40 01 00 00 80 40 00 00 80 40 00 00 80 40 00 A0 CB 44 00 60 03 45 00
|
80
|
00 46 3F 00 E0 47 42 00 D8 47 42 00 E0 47 42 00 D8 47 42 00 00 80 3F 80 99 D8 4
|
81
|
3 00 CC C7 42 1B 2C 00 00 00 CD AC 43 00 00 E8 41 6C AB 04 40 02 00 CD AC 43 00
|
82
|
80 19 40 00 00 E8 41 00 00 65 43 00 66 63 43 00 9A 65 43 00 66 65 43 00 9A 62 43
|
83
|
00 80 64 43 00 00 EC 41 00 60 BF 40 00 40 11 40 00 00 6E 3F 00 00 60 41 00 00 6
|
84
|
0 41 00 00 60 41 3A AB 04 2C 83 00 40 1C 46 26 12 18 A0 88 25 57 07 00 E6 64 43
|
85
|
00 66 65 43 00 33 65 43 00 60 86 44 00 00 CB 43 00 00 14 43 00 80 3B 45 7E 01 00
|
86
|
00 81
|
87
|
SEND: AB 01 34 20
|
88
|
RECV: AB 04 40 01 00 00 80 40 00 00 80 40 00 00 80 40 00 00 CC 44 00 40 03 45 00
|
89
|
00 47 3F 00 D8 47 42 00 CC 47 42 00 D8 47 42 00 CC 47 42 00 00 80 3F 80 99 D8 4
|
90
|
3 00 CC C7 42 1B 2C 00 00 00 CD AC 43 00 00 E8 41 52 AB 04 40 02 00 CD AC 43 00
|
91
|
80 19 40 00 00 E8 41 00 E6 64 43 00 4D 63 43 00 80 65 43 00 33 65 43 00 80 62 43
|
92
|
00 66 64 43 00 30 EB 41 00 60 BE 40 00 C0 10 40 00 00 76 3F 00 00 60 41 00 00 6
|
93
|
0 41 00 00 60 41 3A AB 04 2C 83 00 40 1C 46 26 12 18 A0 88 27 57 07 00 E6 64 43
|
94
|
00 66 65 43 00 33 65 43 00 A0 85 44 00 80 C9 43 00 00 20 43 00 80 3B 45 7E 01 00
|
95
|
00 B6
|
96
|
^C
|
97
|
[root@M28x NandFlash]#
|