]> git.sur5r.net Git - openocd/blobdiff - tcl/board/hitex_stm32-performancestick.cfg
cfg: update scripts to use new stm32 driver names
[openocd] / tcl / board / hitex_stm32-performancestick.cfg
index 509f98a80b22c440ff90a9f066a2a5170cf3de2e..0ec4076b7b9a77190e4f2d6782b5083c811ae9b9 100644 (file)
@@ -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]
+source [find target/stm32f1x.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