diff options
author | Franck Jullien <franck.jullien@gmail.com> | 2014-05-30 16:49:42 +0200 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2014-06-22 08:39:08 +0000 |
commit | 712165f4831afed3a1410579d2e708581e4356fb (patch) | |
tree | 7c7309d12057aaa79d8701a862a134c37780c2b0 /tcl | |
parent | fd9f27bfac1dd9a661913c31774edf4f8cd0798c (diff) |
openrisc: add support for JTAG Serial Port
Change-Id: I623a8c74bcca2edb5f996b69c02d73a6f67b7d34
Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
Reviewed-on: http://openocd.zylin.com/2162
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl')
-rw-r--r-- | tcl/board/or1k_generic.cfg | 3 | ||||
-rw-r--r-- | tcl/target/or1k.cfg | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/tcl/board/or1k_generic.cfg b/tcl/board/or1k_generic.cfg index 5d23641a..c543ebe2 100644 --- a/tcl/board/or1k_generic.cfg +++ b/tcl/board/or1k_generic.cfg @@ -13,6 +13,9 @@ 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 diff --git a/tcl/target/or1k.cfg b/tcl/target/or1k.cfg index acec7002..360a0ddf 100644 --- a/tcl/target/or1k.cfg +++ b/tcl/target/or1k.cfg @@ -61,10 +61,12 @@ if { [string compare $_TAP_TYPE "VJTAG"] == 0 } { # Select the debug unit core we are using. This debug unit as an option. -proc ADBG_USE_HISPEED {} { return 1 } +set ADBG_USE_HISPEED 1 +set ENABLE_JSP_SERVER 2 +set ENABLE_JSP_MULTI 4 # If ADBG_USE_HISPEED is set (options bit 1), status bits will be skipped # on burst reads and writes to improve download speeds. # This option must match the RTL configured option. -du_select adv [ADBG_USE_HISPEED] +du_select adv [expr $ADBG_USE_HISPEED | $ENABLE_JSP_SERVER | $ENABLE_JSP_MULTI] |