diff options
author | Al Dyrius <aldyrius42@gmail.com> | 2019-09-25 23:39:05 -0600 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2019-10-15 09:01:14 +0100 |
commit | 3a50bb46dc084999f6f7aee8913858ccced49db4 (patch) | |
tree | 2f35789fdfcc4d39480a8d83cc4c53a46e67d331 /tcl/target | |
parent | 51ce53d044bc1f60519c0b24c6afe845f66f25e8 (diff) | |
download | riscv-openocd-3a50bb46dc084999f6f7aee8913858ccced49db4.zip riscv-openocd-3a50bb46dc084999f6f7aee8913858ccced49db4.tar.gz riscv-openocd-3a50bb46dc084999f6f7aee8913858ccced49db4.tar.bz2 |
Update FTDI C232HM cfg, and add two new cfgs from cable modem research
Change-Id: Idbeffcd5ff4380b1e7c9fd5ef6ba3ca77cc22d99
Signed-off-by: Al Dyrius <aldyrius42@gmail.com>
Reviewed-on: http://openocd.zylin.com/5307
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'tcl/target')
-rw-r--r-- | tcl/target/tnetc4401.cfg | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tcl/target/tnetc4401.cfg b/tcl/target/tnetc4401.cfg new file mode 100644 index 0000000..48f7545 --- /dev/null +++ b/tcl/target/tnetc4401.cfg @@ -0,0 +1,17 @@ +# Texas Instruments (TI) TNETC4401, MIPS32 DOCSIS-tailored SoC (4Kc-based) +# Used in Knovative KC-100 and Motorola Surfboard SB5120 cable modems. +# Datasheet: https://brezn.muc.ccc.de/~mazzoo/DOCSIS/tnetc4401.pdf +transport select jtag +set _TARGETNAME tnetc4401 +set _CPUTAPID 0x0000100f +jtag newtap $_TARGETNAME tap -irlen 5 -ircapture 0x01 -irmask 0x1f -expected-id $_CPUTAPID +target create $_TARGETNAME mips_m4k -chain-position $_TARGETNAME.tap -endian big + +# May need to halt manually before calling reset init +$_TARGETNAME configure -event reset-init { + halt + echo "Attempting to disable watchdog..." + mwb phys 0xa8610b00 0 256 + halt + wait_halt +} |