changeset 56:d4357e6d6679

checking in some Calypso JTAG experiments
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 12 May 2019 04:11:30 +0000
parents db9adb7a1529
children d68f862c8240
files calypso-jtag/autoprobe.cfg calypso-jtag/taps-only.cfg
diffstat 2 files changed, 53 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/calypso-jtag/autoprobe.cfg	Sun May 12 04:11:30 2019 +0000
@@ -0,0 +1,16 @@
+# 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.
+# The present OpenOCD config sets things up to allow scan chain autoprobing
+# and manual nSRST manipulation, and nothing more.
+
+interface ftdi
+ftdi_vid_pid 0x0403 0x7151
+
+ftdi_layout_init 0x0088 0x00fb
+ftdi_layout_signal nSRST -data 0x0080 -oe 0x0080
+
+transport select jtag
+
+adapter_khz 6000
+reset_config srst_only srst_push_pull
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/calypso-jtag/taps-only.cfg	Sun May 12 04:11:30 2019 +0000
@@ -0,0 +1,37 @@
+# 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 nSRST control ability,
+# but no ARM7 target yet.
+
+interface ftdi
+ftdi_vid_pid 0x0403 0x7151
+
+ftdi_layout_init 0x0088 0x00fb
+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 ENDIAN] } {
+	set  _ENDIAN $ENDIAN
+} else {
+	set  _ENDIAN little
+}
+
+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