diff options
author | Бурага Александр <dtp-avb@yandex.ru> | 2014-08-25 21:42:59 +0400 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2014-09-08 22:26:35 +0000 |
commit | 1e439e2a9a4392586bdfce0ebab4d63690f7fe6e (patch) | |
tree | d3976a156f90172840b86e68d566f9dbc925584e /tcl | |
parent | de16280e0256f53fdddddc59f6797512afe6f009 (diff) | |
download | riscv-openocd-1e439e2a9a4392586bdfce0ebab4d63690f7fe6e.zip riscv-openocd-1e439e2a9a4392586bdfce0ebab4d63690f7fe6e.tar.gz riscv-openocd-1e439e2a9a4392586bdfce0ebab4d63690f7fe6e.tar.bz2 |
tcl/target: add config for К1879ХБ1Я, a hybrid ARM11/DSP SoC by RC Module
This adds config to allow JTAG debugging of an ARM core of a modern
hybrid SoC by Research Centre "Module"
(http://www.module.ru/en/company/). К1879ХБ1Я is targetted at set-top
boxes and other multimedia equipment, the official SDK is Linux-based.
Change-Id: Ib2ae5784d25699f952682e66b025a3f677a76d5d
Signed-off-by: Бурага Александр <dtp-avb@yandex.ru>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2272
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r-- | tcl/target/к1879xб1я.cfg | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tcl/target/к1879xб1я.cfg b/tcl/target/к1879xб1я.cfg new file mode 100644 index 0000000..7d8c113 --- /dev/null +++ b/tcl/target/к1879xб1я.cfg @@ -0,0 +1,35 @@ +# СБИС К1879ХБ1Я +# http://www.module.ru/catalog/micro/mikroshema_dekodera_cifrovogo_televizionnogo_signala_sbis_k1879hb1ya/ + +adapter_khz 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 |