aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"