1 # script for Sigma Designs SMP8634 (eventually even SMP8635)
3 if { [info exists CHIPNAME] } {
4 set _CHIPNAME $CHIPNAME
9 if { [info exists ENDIAN] } {
15 if { [info exists CPUTAPID] } {
16 set _CPUTAPID $CPUTAPID
18 set _CPUTAPID 0x08630001
21 adapter_nsrst_delay 100
24 reset_config trst_and_srst separate
27 # format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
28 jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1
30 set _TARGETNAME $_CHIPNAME.cpu
31 target create $_TARGETNAME mips_m4k -endian $_ENDIAN -variant