X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Ftarget%2Fimx6.cfg;h=11c2134cd8a1d7e947c8c37c1e714fd24c0c09d5;hp=d7f0b90662296e73a03024c53f558e68ad015ff0;hb=c32f81f7186ac825652df4226646b3505b01f940;hpb=1f143e4391eacb09e13276c8200ddda74188dc86 diff --git a/tcl/target/imx6.cfg b/tcl/target/imx6.cfg index d7f0b90662..11c2134cd8 100644 --- a/tcl/target/imx6.cfg +++ b/tcl/target/imx6.cfg @@ -21,16 +21,17 @@ jtag newtap $_CHIPNAME sdma -irlen 4 -ircapture 0x00 -irmask 0x0f # System JTAG Controller if { [info exists SJC_TAPID] } { - set _SJC_TAPID SJC_TAPID + set _SJC_TAPID $SJC_TAPID } else { set _SJC_TAPID 0x0191c01d } set _SJC_TAPID2 0x2191c01d set _SJC_TAPID3 0x2191e01d +set _SJC_TAPID4 0x1191c01d jtag newtap $_CHIPNAME sjc -irlen 5 -ircapture 0x01 -irmask 0x1f \ -expected-id $_SJC_TAPID -expected-id $_SJC_TAPID2 \ - -expected-id $_SJC_TAPID3 + -expected-id $_SJC_TAPID3 -expected-id $_SJC_TAPID4 # GDB target: Cortex-A9, using DAP, configuring only one core # Base addresses of cores: @@ -51,8 +52,8 @@ proc imx6_dbginit {target} { } # Slow speed to be sure it will work -jtag_rclk 1000 -$_TARGETNAME configure -event reset-start { jtag_rclk 1000 } +adapter_khz 1000 +$_TARGETNAME configure -event reset-start { adapter_khz 1000 } $_TARGETNAME configure -event reset-assert-post "imx6_dbginit $_TARGETNAME" $_TARGETNAME configure -event gdb-attach { halt }