Commit f642f1f
committed
adiv5_jtag: Restore lost JTAG-DP state across resets
* In some targets like AT32F403A, a nRST falling edge behaves like TRST.
IR is loaded with IDCODE. Next transaction expects DPACC but gets a 8974008e:7.
* Mangle internal JTAG IR cache to BYPASS state so that daisy-chaining works.
For the active/attached target, BMD logic should run through Capture-IR.
* Nothing is needed in SWD transport, so avoid calling a null pointer.1 parent 31d30ad commit f642f1f
File tree
5 files changed
+22
-0
lines changed- src/target
5 files changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
297 | 298 | | |
298 | 299 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
787 | 792 | | |
788 | 793 | | |
789 | 794 | | |
| |||
792 | 797 | | |
793 | 798 | | |
794 | 799 | | |
| 800 | + | |
| 801 | + | |
795 | 802 | | |
796 | 803 | | |
797 | 804 | | |
| |||
0 commit comments