FreeCalypso > hg > freecalypso-hwlab
view calypso-jtag/with-target.cfg @ 58:2092878ec699
calypso-jtag configs: leave FT2232x ADBUS[6:4] as inputs
to allow the use of these GPIO lines for EMU0/1 experimentation
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 21 May 2019 22:43:00 +0000 |
parents | d68f862c8240 |
children |
line wrap: on
line source
# The Calypso target is connected to an unbuffered FT2232D adapter # acting as the JTAG interface following Mother Mychaela's method, # ADBUS7 is wired to the reset pin on TI's 14-pin connector. # This OpenOCD config sets up the TAPs and the ARM7TDMI target # in order to test OpenOCD's ability to halt with and without the # "Calypso magic" that has supposedly been sniffed from TI's CCS # by people who came before me. interface ftdi ftdi_vid_pid 0x0403 0x7151 ftdi_layout_init 0x0088 0x008b ftdi_layout_signal nSRST -data 0x0080 -oe 0x0080 transport select jtag adapter_khz 6000 reset_config srst_only srst_push_pull if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME } else { set _CHIPNAME calypso } if { [info exists CPUTAPID] } { set _CPUTAPID $CPUTAPID } else { set _CPUTAPID 0x3100e02f } jtag newtap $_CHIPNAME dsp -irlen 8 jtag newtap $_CHIPNAME arm -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID set _TARGETNAME $_CHIPNAME.arm target create $_TARGETNAME arm7tdmi -endian little -chain-position $_TARGETNAME proc calypso_magic {} { irscan calypso.arm 0x0b -endstate DRPAUSE drscan calypso.arm 2 2 -endstate RUN/IDLE }