Mon, 11 Mar 2024 15:35:36 +0100
Add links to sr.ht repos and add an image in the README file
26 | 1 | Probing |
2 | ======= | |
3 | ||
4 | Serial probe with dslogic in serialdata/ | |
5 | ||
6 | read-sr: Decode the raw capture (34970-long-session.sr) and display the protocol | |
7 | ||
8 | serialdata$ cat read-sr | sh | |
9 | ||
10 | 00007553 [+0.01] >>> CHANNEL 203 | |
11 | 00007573 [+0.02] >>> DISPLAY MUX OPEN | |
12 | 00007581 [+0.01] >>> CHANNEL 203 | |
13 | 00007589 [+0.01] <<< KNOB Knob left | |
14 | 00007640 [+0.05] <<< KNOB Knob left | |
15 | 00007645 [+0.01] >>> DISPLAY MUX OPEN | |
16 | 00007654 [+0.01] >>> CHANNEL 202 | |
17 | 00007674 [+0.02] >>> DISPLAY MUX OPEN | |
18 | 00007682 [+0.01] >>> CHANNEL 202 | |
19 | 00007697 [+0.02] <<< KNOB Knob left | |
20 | 00007745 [+0.05] <<< KNOB Knob left | |
21 | 00007750 [+0.01] >>> DISPLAY MUX OPEN | |
22 | 00007759 [+0.01] >>> CHANNEL 201 | |
23 | ||
24 | read-sd-continuous: Should read continuously the data stream from the dslogic... | |
25 | ||
26 | ||
27 | Protocol | |
28 | ======== | |
29 | ||
30 | > = cpu -> dsp | |
31 | < = dsp -> cpu | |
32 | ||
33 | 0x80 -> right | |
34 | 0x81 -> left | |
35 | ||
36 | shitf + key -> bit 5 | |
37 | key release -> bit 6 | |
38 | ||
39 | End of shift packet: | |
40 | >66 <99 >01 <00 >01 <00 >0E <00 >55 | |
41 | ||
42 | ||
43 | init -> <33 >CC <02 >00 <00 >00 <55 | |
44 | + shift -> <33 >CC <02 >00 <FF >00 <0C >00 <55 | |
45 | + scan -> <33 >CC <02 >00 <FF >00 <03 >00 <55 | |
46 | ||
47 | shutdown -> | |
48 | cpu -> cmd 0x86 + 0x55 ad libidum | |
49 | ie >66 <99 >86 <00 >55 >55 >55 ... | |
50 | ||
51 | commands: | |
52 | ||
53 | 0x00 -> display text | |
54 | >66 <99 >00 <00 >nn <00 >c1 <00 ... >cn <00 >55 | |
55 | 0x0A -> flags | |
56 | >66 <99 >0A <00 >04 <00 >f0 <00 >f1 <00 >f2 <00 >f3 <00 >55 | |
57 | 0x0C -> display channels | |
58 | ||
59 | 0x02 -> ??? | |
60 | >02 <?? >01 <?? | |
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | flags | |
67 | ||
68 | f1 b7 -> alarm frame | |
69 | F4 b1 -> SCAN | |
70 | ||
71 | ||
72 | once + scan -> 0C > 00 > 20 > 20 | |
73 | ||
74 | view + last + min + max + avg -> | |
75 | 0A: 0C / 80 / 07 / 08 | |
76 | 08: 01 / 0F | |
77 | ||
78 | ||
79 | view + last + min + max + avg* | |
80 | 0A: 0C / 80 / 07 / 08 | |
81 | 09: 01 / 0F | |
82 | ||
83 | view + last + min + max* + avg | |
84 | 08: 01 0F | |
85 | 09: 01 10 | |
86 | ||
87 | ||
88 | view + last + min* + max + avg (DATE) | |
89 | 08: 01 / 10 | |
90 | 09: 01 / 11 | |
91 | view + last + min* + max + avg (DIN) | |
92 | 08: 01 / 11 | |
93 | 09: 01 / 11 | |
94 | ||
95 | last* + min + max + avg (DIN) | |
96 | DIN | |
97 | 08 01 12 | |
98 | 09 01 12 | |
99 | DATE | |
100 | 08 01 12 | |
101 | 09 01 12 | |
102 | ||
103 | 08 -> low bright | |
104 | 09 -> hi bright | |
105 | ||
106 | sortie du mode "view" on a a la suite: | |
107 | 09 01 12 | |
108 | 09 01 11 | |
109 | 09 01 10 | |
110 | 09 01 0F | |
111 | ||
112 | on a aussi un paquet 02 01 0C (clear?) | |
113 | ||
114 | ||
115 | ||
116 | Mode VIEW pour DIN | |
117 | ================== | |
118 | ||
119 | quand on rentre en mode "view": | |
120 | ||
121 | - 02 01 99 (?) | |
122 | - 0A / 0C 00 00 00 | |
123 | - 0A / 0C 00 00 08 | |
124 | - text READINGS | |
125 | ||
126 | puis View (Readings) | |
127 | ||
128 | - 0A / 0C 00 00 08 | |
129 | - channel | |
130 | - 0A / 0C 00 00 08 | |
131 | - 0A / 0C 00 00 08 | |
132 | - 09 / 01 12 (LAST en hi bright) | |
133 | - 0A / 0C 80 07 08 | |
134 | - 08 / 01 11 | |
135 | - 08 / 01 10 | |
136 | - 08 / 01 0F | |
137 | - text (value) | |
138 | ||
139 | puis -> | |
140 | ||
141 | - 08 / 01 12 | |
142 | - 09 / 01 12 | |
143 | - textes | |
144 | ||
145 | ||
146 | PCB | |
147 | === | |
148 | ||
149 | 18.3 x 7.8 |