; bdiGDB configuration for Broadcom BCM4718 (Netgear WNR3500L) ; ------------------------------------------------------------ ; ; [INIT] ; ; Setup TLB WTLB 0x00000700 0x01E00017 ;Monitor Flash 2 x 16MB, uncached DVG ; [TARGET] ;JTAGCLOCK 0 ;BDI2000: use 16 MHz JTAG clock JTAGCLOCK 1 ;BDI3000: use 16 MHz JTAG clock JTAGDELAY 2 ;16 TCK's access delay CPUTYPE M74K ;the used target CPU type RESET JTAG ;reset signal is not routed on this board WAKEUP 100 ;give reset time to complete ENDIAN LITTLE ;target is little endian STARTUP STOP 1000 ;STOP mode is used to let the monitor init the system BREAKMODE SOFT ;SOFT or HARD, HARD uses PPC hardware breakpoints STEPMODE JTAG ;JTAG, HWBP or SWBP ;WORKSPACE 0xA0000000 ;workspace in target RAM for fast download ;VECTOR CATCH ;catch unhandled exceptions ; ; Switch to MIPS EJTAG TAP SCANINIT t1:w1000:t0:w1000: ;toggle TRST SCANINIT ch10:w100: ;clock TCK with TMS high SCANINIT i32=0143ff3a: SCANINIT d32=00000001: SCANINIT w100000 ; [HOST] IP 151.120.25.112 PROMPT BCM4718> FILE e:/temp/dump256k.bin FORMAT BIN 0xa0010000 [FLASH] [REGS] DMM1 0xFF300000 ;DSU base address FILE $reg74k.def