48f754527af10591cba3d904160f51da679aa460
[fw/openocd] / tcl / target / tnetc4401.cfg
1 # Texas Instruments (TI) TNETC4401, MIPS32 DOCSIS-tailored SoC (4Kc-based)
2 # Used in Knovative KC-100 and Motorola Surfboard SB5120 cable modems.
3 # Datasheet: https://brezn.muc.ccc.de/~mazzoo/DOCSIS/tnetc4401.pdf
4 transport select jtag
5 set _TARGETNAME tnetc4401
6 set _CPUTAPID 0x0000100f
7 jtag newtap $_TARGETNAME tap -irlen 5 -ircapture 0x01 -irmask 0x1f -expected-id $_CPUTAPID
8 target create $_TARGETNAME mips_m4k -chain-position $_TARGETNAME.tap -endian big
9
10 # May need to halt manually before calling reset init
11 $_TARGETNAME configure -event reset-init {
12         halt
13         echo "Attempting to disable watchdog..."
14         mwb phys 0xa8610b00 0 256
15         halt
16         wait_halt
17 }