I use serial debugging assistant under Windows and Linux development board to communicate testing, found a very strange thing,
In ASCII code table, I check the value of the 'a' 0 x61, so I enter 61 in debugging assistant, to hex to send, the results I saw development board to receive in xshell remote is not 'a', trial and error, I found that send 0 x3d, development board to receive the display is the 'a',
The other values, and then try again to obtain the rule of the following:
Hex notation
0 b z
0 d y
0 f x
11 w
13 v
15 u
17 t
19 s
1 b r
1 d q
1 f p
21 o
23 n
25 m
27 l
29 k
2 b j
2 d I
2 f h
31 g
33 f
35 e
37 d
39 c
3 b b
A 3 d
3 f `
41 _
43 ^
45]
47 \
49 [
4 b Z
4 d Y
4 f X
51 W
53 V
55 U
57 T
59 S
5 b R
5 d Q
5 f P
61 O
63 N
65 M67 L
69 K
6 b J
6 d I
6 H f
71 G
73 F
75 E
77 D
79 C
7 B B
7 d A
7 f @
81?
83 & gt;
85=
87 & lt;
89;
8 b:
8 d 9
8 f
91 7
93
95
97
99
9 b 2
9 d 1
9 f 0
I can only send corresponding hex, according to the above rules development board to receive I want characters, on the other hand, from the development board to send debugging assistant, according to the correct ASCII table, rather than according to the rules above,
There isn't any transformation rules? O great god teach
CodePudding user response:
You are not decimal hexadecimal mixed up,CodePudding user response:
A serial port data bit bit against?CodePudding user response: