target/armv7m: fix register number in armv7m_get_core_reg()
[fw/openocd] / tcl / board / hitex_stm32-performancestick.cfg
index 509f98a80b22c440ff90a9f066a2a5170cf3de2e..82fb169619ed33a0b7771efccde76a948987f2fd 100644 (file)
@@ -1,9 +1,16 @@
 # Hitex stm32 performance stick
 
+reset_config trst_and_srst
+
+source [find interface/ftdi/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