tnetc4401.cfg 650 B

1234567891011121314151617
  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. # May need to halt manually before calling reset init
  10. $_TARGETNAME configure -event reset-init {
  11. halt
  12. echo "Attempting to disable watchdog..."
  13. mwb phys 0xa8610b00 0 256
  14. halt
  15. wait_halt
  16. }