|
|
@@ -23,14 +23,14 @@ if { [info exists BSTAPID ] } { |
|
|
|
set _BSTAPID $BSTAPID |
|
|
|
} else { |
|
|
|
# force an error till we get a good number |
|
|
|
set _BSTAPID 0xffffffff |
|
|
|
set _BSTAPID 0x2b900f0f |
|
|
|
} |
|
|
|
|
|
|
|
if { [info exists CPUTAPID ] } { |
|
|
|
set _CPUTAPID $CPUTAPID |
|
|
|
} else { |
|
|
|
# force an error till we get a good number |
|
|
|
set _CPUTAPID 0xffffffff |
|
|
|
set _CPUTAPID 0x07b76f0f |
|
|
|
} |
|
|
|
|
|
|
|
#jtag scan chain |
|
|
@@ -40,7 +40,7 @@ jtag newtap $_CHIPNAME unknown -irlen 4 -ircapture 0x1 -irmask 0xe -expected-id |
|
|
|
jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUTAPID |
|
|
|
|
|
|
|
set _TARGETNAME [format "%s.cpu" $_CHIPNAME] |
|
|
|
target create $_TARGETNAME arm11 -endian $_ENDIAN -chain-position $_TARGETNAME -varient arm1176 |
|
|
|
target create $_TARGETNAME arm11 -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm1176 |
|
|
|
|
|
|
|
jtag_nsrst_delay 500 |
|
|
|
jtag_ntrst_delay 500 |
|
|
|