tcl: add get_bit & get_bitfield memory helper functions
[fw/openocd] / tcl / board / or1k_generic.cfg
index e7588f9e03b0b7092429bfcb3fc83a0c9b7bd3d7..7c19565632775aa654ca2497bfebe5bc18ea3942 100644 (file)
@@ -4,14 +4,20 @@
 set FPGATAPID 0x020b30dd
 
 # Choose your TAP core (VJTAG , MOHOR or XILINX_BSCAN)
-set TAP_TYPE VJTAG
+if { [info exists TAP_TYPE] == 0} {
+   set TAP_TYPE VJTAG
+}
+
 # Set your chip name
 set CHIPNAME or1200
 
 source [find target/or1k.cfg]
 
+# Set the servers polling period to 1ms (needed to JSP Server)
+poll_period 1
+
 # Set the adapter speed
-adapter_khz 3000
+adapter speed 3000
 
 # Enable the target description feature
 gdb_target_description enable