Commit fe7d723
committed
Tune JTAG clock cycle
Current implementation doesn't need delay, because code it self need
1 micro second per TCK cycle. This gives 1 MHz so it is correct for
targets with 6 MHz CPU clocks and faster.
This patch add special delay routine when TCKWAIT is 0. If TCKWAIT is
non zero it is interpreted as delay in microseconds. This way it is easy
to set longer TCK cycle if needed.1 parent 20bd29f commit fe7d723
2 files changed
+30
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
26 | 44 | | |
27 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
28 | 49 | | |
| 50 | + | |
29 | 51 | | |
30 | 52 | | |
31 | 53 | | |
32 | 54 | | |
33 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
34 | 59 | | |
| 60 | + | |
35 | 61 | | |
36 | 62 | | |
37 | 63 | | |
| |||
0 commit comments