aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/K1879x61R.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/K1879x61R.cfg')
-rw-r--r--tcl/target/K1879x61R.cfg37
1 files changed, 37 insertions, 0 deletions
diff --git a/tcl/target/K1879x61R.cfg b/tcl/target/K1879x61R.cfg
new file mode 100644
index 0000000..8dd330d
--- /dev/null
+++ b/tcl/target/K1879x61R.cfg
@@ -0,0 +1,37 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+# СБИС К1879ХБ1Я
+# http://www.module.ru/catalog/micro/mikroshema_dekodera_cifrovogo_televizionnogo_signala_sbis_k1879hb1ya/
+
+adapter speed 1000
+
+if { [info exists CHIPNAME] } {
+ set _CHIPNAME $CHIPNAME
+} else {
+ set _CHIPNAME к1879хб1я
+}
+
+if { [info exists ENDIAN] } {
+ set _ENDIAN $ENDIAN
+} else {
+ set _ENDIAN little
+}
+
+if { [info exists DSP_TAPID] } {
+ set _DSP_TAPID $DSP_TAPID
+} else {
+ set _DSP_TAPID 0x2b900f0f
+}
+
+jtag newtap $_CHIPNAME dsp -irlen 4 -expected-id $_DSP_TAPID
+
+if { [info exists CPU_TAPID] } {
+ set _CPU_TAPID $CPU_TAPID
+} else {
+ set _CPU_TAPID 0x07b76f0f
+}
+
+jtag newtap $_CHIPNAME arm -irlen 5 -expected-id $_CPU_TAPID
+
+set _TARGETNAME $_CHIPNAME.arm
+target create $_TARGETNAME arm11 -chain-position $_CHIPNAME.arm