summaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-05-21 11:45:40 +0100
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-05-21 11:45:40 +0100
commit82ef8472bf6986d09f595dbea151413502b42280 (patch)
treecc6737f40c16c4a28dccff58057399bea0c401d5 /tcl/board
parentc0cdb7c63189edf0d96a1b0242d80c94532b30e7 (diff)
downloadopenocd_libswd-82ef8472bf6986d09f595dbea151413502b42280.tar.gz
openocd_libswd-82ef8472bf6986d09f595dbea151413502b42280.tar.bz2
openocd_libswd-82ef8472bf6986d09f595dbea151413502b42280.tar.xz
openocd_libswd-82ef8472bf6986d09f595dbea151413502b42280.zip
cfg: update stm32 performance stick config
- As this is a complete unit, including jtag we might as welli nclude the jtag cfg. - Add missing id for the str750 that is also in the jtag chain. - Reduce jtag startup speed to 500kHz. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/hitex_stm32-performancestick.cfg9
1 files changed, 8 insertions, 1 deletions
diff --git a/tcl/board/hitex_stm32-performancestick.cfg b/tcl/board/hitex_stm32-performancestick.cfg
index 509f98a8..515f7e08 100644
--- a/tcl/board/hitex_stm32-performancestick.cfg
+++ b/tcl/board/hitex_stm32-performancestick.cfg
@@ -1,9 +1,16 @@
# Hitex stm32 performance stick
+reset_config trst_and_srst
+
+source [find interface/stm32-stick.cfg]
+
set CHIPNAME stm32_hitex
source [find target/stm32.cfg]
# configure str750 connected to jtag chain
# FIXME -- source [find target/str750.cfg] after cleaning that up
-jtag newtap $_CHIPNAME unknown -irlen 4 -ircapture 0x1 -irmask 0x0f
+jtag newtap str750 cpu -irlen 4 -ircapture 0x1 -irmask 0x0f -expected-id 0x4f1f0041
+
+# for some reason this board like to startup @ 500kHz
+adapter_khz 500