notes.rst

Thu, 07 Oct 2021 22:24:45 +0200

author
David Douard <david.douard@sdfa3.org>
date
Thu, 07 Oct 2021 22:24:45 +0200
changeset 69
516acbbce05a
parent 26
86f099bda525
permissions
-rw-r--r--

Possibly fix the 'reset FP while running' case

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

mercurial