annotate calypso-jtag/taps-only.cfg @ 60:f362a4c18f6f

calypso-jtag/taps-only.cfg: EMU0/1 added on ADBUS5/6 as an experiment
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 22 Jun 2019 04:10:44 +0000
parents 2092878ec699
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
56
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # The Calypso target is connected to an unbuffered FT2232D adapter
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 # acting as the JTAG interface following Mother Mychaela's method,
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 # ADBUS7 is wired to the reset pin on TI's 14-pin connector.
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 # This OpenOCD config sets up the TAPs and nSRST control ability,
60
f362a4c18f6f calypso-jtag/taps-only.cfg: EMU0/1 added on ADBUS5/6 as an experiment
Mychaela Falconia <falcon@freecalypso.org>
parents: 58
diff changeset
5 # but no ARM7 target yet. EMU0 and EMU1 connections have also been
f362a4c18f6f calypso-jtag/taps-only.cfg: EMU0/1 added on ADBUS5/6 as an experiment
Mychaela Falconia <falcon@freecalypso.org>
parents: 58
diff changeset
6 # added on ADBUS5 and ADBUS6, respectively.
56
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 interface ftdi
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ftdi_vid_pid 0x0403 0x7151
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
58
2092878ec699 calypso-jtag configs: leave FT2232x ADBUS[6:4] as inputs
Mychaela Falconia <falcon@freecalypso.org>
parents: 56
diff changeset
11 ftdi_layout_init 0x0088 0x008b
56
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 ftdi_layout_signal nSRST -data 0x0080 -oe 0x0080
60
f362a4c18f6f calypso-jtag/taps-only.cfg: EMU0/1 added on ADBUS5/6 as an experiment
Mychaela Falconia <falcon@freecalypso.org>
parents: 58
diff changeset
13 ftdi_layout_signal EMU0 -data 0x0020 -oe 0x0020
f362a4c18f6f calypso-jtag/taps-only.cfg: EMU0/1 added on ADBUS5/6 as an experiment
Mychaela Falconia <falcon@freecalypso.org>
parents: 58
diff changeset
14 ftdi_layout_signal EMU1 -data 0x0040 -oe 0x0040
56
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 transport select jtag
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 adapter_khz 6000
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 reset_config srst_only srst_push_pull
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 if { [info exists CHIPNAME] } {
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 set _CHIPNAME $CHIPNAME
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 } else {
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 set _CHIPNAME calypso
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 }
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 if { [info exists ENDIAN] } {
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 set _ENDIAN $ENDIAN
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 } else {
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 set _ENDIAN little
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 }
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 if { [info exists CPUTAPID] } {
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 set _CPUTAPID $CPUTAPID
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 } else {
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 set _CPUTAPID 0x3100e02f
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 }
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 jtag newtap $_CHIPNAME dsp -irlen 8
d4357e6d6679 checking in some Calypso JTAG experiments
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 jtag newtap $_CHIPNAME arm -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID