You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
1.4 KiB

  1. # Knovative KC-100 cable modem
  2. # TNETC4401PYP, 208-QFP U3
  3. source [find target/tnetc4401.cfg]
  4. # 14-pin EJTAG on JP1. Standard pinout, 1-3-5-7-9-11 = nTRST-TDI-TDO-TMS-TCK-nSRST. Use 2 for GND.
  5. # Was initially disabled in hardware; had to add a solder bridge reenabling R124, R125 on back.
  6. reset_config trst_and_srst separate
  7. # 16Mb Intel CFI flash. Note this CPU has an internal ROM at 0x1FC0000 (phys) for cold boot.
  8. # All that really does is some minimal checks before jumping to external flash at 0x00000000 phys.
  9. # That is remapped to 0xB0000000 uncached, 0x90000000 cached.
  10. flash bank intel cfi 0xB0000000 0x200000 2 2 $_TARGETNAME
  11. # Perform this after a clean reboot, halt, and reset init (which should also leave it halted).
  12. proc kc100_dump_flash {} {
  13. echo "Probing 48 TSOP Intel CFI flash chip (2MB)..."
  14. flash probe intel
  15. echo "Dumping 2MB flash chip to flashdump.bin.
  16. flash read_bank 0 flashdump.bin 0 0x200000
  17. }
  18. #TODO figure out memory init sequence to be able to dump from cached segment instead
  19. # There is also a serial console on JP2, 3-5-6 = TX-RX-GND. 9600/8/N/1.
  20. # Possibly of note, this modem's ancient ethernet port does not support Auto-MDIX.
  21. # This modem in many ways appears to be essentially a clone of the SB5120. See usbjtag.com.
  22. # The firmware/OS is also susceptible to many of the same procedures in "Hacking the Cable Modem"
  23. # by DerEngel (Ryan Harris), available from No Starch Press.