More fixes thanks to Kees Jongenburger
git-svn-id: svn://svn.berlios.de/openocd/trunk@1223 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
fd336fac41
commit
40042df09d
|
@ -35,7 +35,7 @@ reset_config trst_and_srst separate
|
|||
jtag newtap $_CHIPNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id $_CPUTAPID
|
||||
|
||||
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
|
||||
target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position $_TARGETNAME -varient pxa27x
|
||||
target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position $_TARGETNAME -variant pxa27x
|
||||
$_TARGETNAME configure -work-area-virt 0x0x5c000000 -work-area-phys 0x0x5c000000 -work-area-size 0x10000 -work-area-backup 1
|
||||
# maps to PXA internal RAM. If you are using a PXA255
|
||||
# you must initialize SDRAM or leave this option off
|
||||
|
|
|
@ -39,7 +39,7 @@ jtag newtap $_CHIPNAME unknown2 -irlen 5 -ircapture 1 -irmask 1
|
|||
|
||||
#arm946e-s and
|
||||
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
|
||||
target create $_TARGETNAME arm966e -endian $_ENDIAN -chain-position $_TARGETNAME -varient arm966e
|
||||
target create $_TARGETNAME arm966e -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm966e
|
||||
|
||||
$_TARGETNAME configure -event reset-start { jtag_rclk 16 }
|
||||
$_TARGETNAME configure -event reset-init {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue