- 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:
ntfreak 2009-03-24 09:40:03 +00:00
parent 8a7a9bd17a
commit 9d3d3297ae
5 changed files with 50 additions and 49 deletions

View File

@ -1,8 +1,8 @@
# #
# Keil MCB2140 eval board # Keil MCB2140 eval board
# #
# http://www.keil.com/mcb2140/picture.asp # http://www.keil.com/mcb2140/picture.asp
# #
source [find target/lpc2148.cfg] source [find target/lpc2148.cfg]

View File

@ -1,8 +1,8 @@
# #
# Olimex LPC-H2148 eval board # Olimex LPC-H2148 eval board
# #
# http://www.olimex.com/dev/lpc-h2148.html # http://www.olimex.com/dev/lpc-h2148.html
# #
source [find target/lpc2148.cfg] source [find target/lpc2148.cfg]

View File

@ -2,4 +2,4 @@
interface ft2232 interface ft2232
ft2232_device_desc "STM32-PerformanceStick A" ft2232_device_desc "STM32-PerformanceStick A"
ft2232_layout stm32stick ft2232_layout stm32stick
ft2232_vid_pid 0x0640 0x002d

View File

@ -1,3 +1,4 @@
interface ft2232 interface ft2232
ft2232_device_desc "STR9-comStick A" ft2232_device_desc "STR9-comStick A"
ft2232_layout comstick ft2232_layout comstick
ft2232_vid_pid 0x0640 0x002c

View File

@ -1,32 +1,32 @@
#xscale ixp42x CPU #xscale ixp42x CPU
if { [info exists CHIPNAME] } { if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME set _CHIPNAME $CHIPNAME
} else { } else {
set _CHIPNAME ixp42x set _CHIPNAME ixp42x
} }
if { [info exists ENDIAN] } { if { [info exists ENDIAN] } {
set _ENDIAN $ENDIAN set _ENDIAN $ENDIAN
} else { } else {
# this defaults to a bigendian # this defaults to a bigendian
set _ENDIAN big set _ENDIAN big
} }
if { [info exists CPUTAPID ] } { if { [info exists CPUTAPID ] } {
set _CPUTAPID $CPUTAPID set _CPUTAPID $CPUTAPID
} else { } else {
# force an error till we get a good number # force an error till we get a good number
set _CPUTAPID 0xffffffff set _CPUTAPID 0xffffffff
} }
#use combined on interfaces or targets that can?t set TRST/SRST separately #use combined on interfaces or targets that can?t set TRST/SRST separately
reset_config srst_only srst_pulls_trst reset_config srst_only srst_pulls_trst
#jtag scan chain #jtag scan chain
jtag newtap $_CHIPNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id $_CPUTAPID jtag newtap $_CHIPNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id $_CPUTAPID
set _TARGETNAME [format "%s.cpu" $_CHIPNAME] set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position $_TARGETNAME -variant ixp42x target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position $_TARGETNAME -variant ixp42x