- update str9 and stm32 comstick configs
- add missing svn props git-svn-id: svn://svn.berlios.de/openocd/trunk@1431 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
8a7a9bd17a
commit
9d3d3297ae
|
@ -1,8 +1,8 @@
|
|||
#
|
||||
# Keil MCB2140 eval board
|
||||
#
|
||||
# http://www.keil.com/mcb2140/picture.asp
|
||||
#
|
||||
|
||||
source [find target/lpc2148.cfg]
|
||||
|
||||
#
|
||||
# Keil MCB2140 eval board
|
||||
#
|
||||
# http://www.keil.com/mcb2140/picture.asp
|
||||
#
|
||||
|
||||
source [find target/lpc2148.cfg]
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#
|
||||
# Olimex LPC-H2148 eval board
|
||||
#
|
||||
# http://www.olimex.com/dev/lpc-h2148.html
|
||||
#
|
||||
|
||||
source [find target/lpc2148.cfg]
|
||||
|
||||
#
|
||||
# Olimex LPC-H2148 eval board
|
||||
#
|
||||
# http://www.olimex.com/dev/lpc-h2148.html
|
||||
#
|
||||
|
||||
source [find target/lpc2148.cfg]
|
||||
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
interface ft2232
|
||||
ft2232_device_desc "STM32-PerformanceStick A"
|
||||
ft2232_layout stm32stick
|
||||
|
||||
ft2232_vid_pid 0x0640 0x002d
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
interface ft2232
|
||||
ft2232_device_desc "STR9-comStick A"
|
||||
ft2232_layout comstick
|
||||
ft2232_vid_pid 0x0640 0x002c
|
||||
|
|
|
@ -1,32 +1,32 @@
|
|||
#xscale ixp42x CPU
|
||||
|
||||
|
||||
if { [info exists CHIPNAME] } {
|
||||
set _CHIPNAME $CHIPNAME
|
||||
} else {
|
||||
set _CHIPNAME ixp42x
|
||||
}
|
||||
|
||||
if { [info exists ENDIAN] } {
|
||||
set _ENDIAN $ENDIAN
|
||||
} else {
|
||||
# this defaults to a bigendian
|
||||
set _ENDIAN big
|
||||
}
|
||||
|
||||
if { [info exists CPUTAPID ] } {
|
||||
set _CPUTAPID $CPUTAPID
|
||||
} else {
|
||||
# force an error till we get a good number
|
||||
set _CPUTAPID 0xffffffff
|
||||
}
|
||||
|
||||
#use combined on interfaces or targets that can?t set TRST/SRST separately
|
||||
reset_config srst_only srst_pulls_trst
|
||||
#jtag scan chain
|
||||
|
||||
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 -variant ixp42x
|
||||
|
||||
#xscale ixp42x CPU
|
||||
|
||||
|
||||
if { [info exists CHIPNAME] } {
|
||||
set _CHIPNAME $CHIPNAME
|
||||
} else {
|
||||
set _CHIPNAME ixp42x
|
||||
}
|
||||
|
||||
if { [info exists ENDIAN] } {
|
||||
set _ENDIAN $ENDIAN
|
||||
} else {
|
||||
# this defaults to a bigendian
|
||||
set _ENDIAN big
|
||||
}
|
||||
|
||||
if { [info exists CPUTAPID ] } {
|
||||
set _CPUTAPID $CPUTAPID
|
||||
} else {
|
||||
# force an error till we get a good number
|
||||
set _CPUTAPID 0xffffffff
|
||||
}
|
||||
|
||||
#use combined on interfaces or targets that can?t set TRST/SRST separately
|
||||
reset_config srst_only srst_pulls_trst
|
||||
#jtag scan chain
|
||||
|
||||
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 -variant ixp42x
|
||||
|
||||
|
|
Loading…
Reference in New Issue