projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tcl/board: add st_nucleo_g0.cfg to cover known STM32G0 NUCLEO boards
[fw/openocd]
/
tcl
/
board
/
or1k_generic.cfg
diff --git
a/tcl/board/or1k_generic.cfg
b/tcl/board/or1k_generic.cfg
index 9daa7abd53da4a095c0300deb33afeba3cb94924..7c19565632775aa654ca2497bfebe5bc18ea3942 100644
(file)
--- a/
tcl/board/or1k_generic.cfg
+++ b/
tcl/board/or1k_generic.cfg
@@
-1,14
+1,23
@@
-# If you want to use the VJTAG TAP, you must set your FPGA TAP ID here
+# If you want to use the VJTAG TAP or the XILINX BSCAN,
+# you must set your FPGA TAP ID here
+
set FPGATAPID 0x020b30dd
set FPGATAPID 0x020b30dd
-# Choose your TAP core (VJTAG or MOHOR)
-set TAP_TYPE VJTAG
+
+# Choose your TAP core (VJTAG , MOHOR or XILINX_BSCAN)
+if { [info exists TAP_TYPE] == 0} {
+ set TAP_TYPE VJTAG
+}
+
# Set your chip name
set CHIPNAME or1200
source [find target/or1k.cfg]
# 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
# Set the adapter speed
-adapter
_khz
3000
+adapter
speed
3000
# Enable the target description feature
gdb_target_description enable
# Enable the target description feature
gdb_target_description enable