aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Savin <43152568+SiFiveGregS@users.noreply.github.com>2019-03-29 13:51:21 -0700
committerGreg Savin <43152568+SiFiveGregS@users.noreply.github.com>2019-03-29 13:51:21 -0700
commit926f5551707ddb402784124210e4358fecf5cb01 (patch)
treedd76a82fc641eff386f040703f29302d6bb9a818
parentaf1d18f46f88fce4e5c76e964c3183e8004957d6 (diff)
downloadriscv-openocd-bscan_tunnel.zip
riscv-openocd-bscan_tunnel.tar.gz
riscv-openocd-bscan_tunnel.tar.bz2
Removed IDCODE check.bscan_tunnel
-rw-r--r--tcl/board/sifive-e31arty-onboard-ftdi.cfg7
1 files changed, 4 insertions, 3 deletions
diff --git a/tcl/board/sifive-e31arty-onboard-ftdi.cfg b/tcl/board/sifive-e31arty-onboard-ftdi.cfg
index 745828a..cd7f391 100644
--- a/tcl/board/sifive-e31arty-onboard-ftdi.cfg
+++ b/tcl/board/sifive-e31arty-onboard-ftdi.cfg
@@ -16,13 +16,14 @@ set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME.0 riscv -chain-position $_TARGETNAME
$_TARGETNAME.0 configure -work-area-phys 0x80000000 -work-area-size 10000 -work-area-backup 1
-
-flash bank spi0 fespi 0x40000000 0 0 0 $_TARGETNAME.0 0x20004000
+# Uncomment if hardware has flash
+# flash bank spi0 fespi 0x40000000 0 0 0 $_TARGETNAME.0 0x20004000
init
if {[ info exists pulse_srst]} {
ftdi_set_signal nSRST 0
ftdi_set_signal nSRST z
}
halt
-flash protect 0 64 last off
+# Uncomment if hardware has flash
+# flash protect 0 64 last off
echo "Ready for Remote Connections"