1
Bus Blaster JTAG debugger / Re: New BusBlaster owner here!
Regrads,
tornado@dd-wrt.com
Open Source Hardware
This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.
telnet_port 4444
gdb_port 2001
#interface
interface ft2232
ft2232_device_desc "TJTAG-PRO USB FT2232H A"
ft2232_layout "jtagkey"
ft2232_vid_pid 0x0403 0x8a98
jtag_khz 1500
#jtag scan chain
# format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
#jtag_device 8 0x01 0x7f 0x1e
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME bcm5352
}
if { [info exists ENDIAN] } {
set _ENDIAN $ENDIAN
} else {
set _ENDIAN little
}
if { [info exists CPUTAPID ] } {
set _CPUTAPID $CPUTAPID
} else {
# force an error till we get a good number
set _CPUTAPID 0x0535217F
}
gdb_memory_map enable
gdb_flash_program enable
#jtag_nsrst_delay 250
#jtag_ntrst_delay 250
#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config srst_only
#reset_config srst_only srst_pulls_trst
#reset_config trst_and_srst separate
#reset_config trst_and_srst srst_pulls_trst
#reset_config trst_and_srst separate trst_push_pull srst_push_pull
#reset_config trst_and_srst separate
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag newtap $_CHIPNAME cpu -irlen 8 -ircapture 0x1 -irmask 0x7f -enable -expected-id $_CPUTAPID
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
target create $_TARGETNAME mips_m4k -endian $_ENDIAN -chain-position $_TARGETNAME
#$_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x80300000 -work-area-size 0x40000 -work-area-backup 0
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank 0 cfi 0x1fc00000 0x200000 2 2 0
#$_TARGETNAME configure -event halted { script bcm5352.script }
openocd -f openocd-ftdi-5352.cfg
Open On-Chip Debugger 0.5.0-dev-00808-g68bd107 (2011-03-28-19:00)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
1500 kHz
srst_only separate srst_gates_jtag srst_open_drain
Warn : use 'bcm5352.cpu' as target identifier, not '0'
Info : max TCK change to: 30000 kHz
Info : clock speed 1500 kHz
Info : JTAG tap: bcm5352.cpu tap/device found: 0x0535217f (mfg: 0x0bf, part: 0x5352, ver: 0x0)