summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2018-12-12 14:39:59 -0800
committerGitHub <noreply@github.com>2018-12-12 14:39:59 -0800
commit4198eb81edf7a25cfcbfed9b520b12ef06d08d02 (patch)
treedda27a966ca4dbc5dcf69f86d8b810869deeea95 /bsp
parent25bfceacc996d0cdd7fec50593d52a37a6c74ae1 (diff)
parent0d9d9cc3d84949894080e1281fc8b68e9b1913c4 (diff)
Merge pull request #76 from sifive/e300_arty_fix
E300 Arty: Don't specify the expected ID
Diffstat (limited to 'bsp')
-rw-r--r--bsp/env/freedom-e300-arty/openocd.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/env/freedom-e300-arty/openocd.cfg b/bsp/env/freedom-e300-arty/openocd.cfg
index f4b28ed..ba13207 100644
--- a/bsp/env/freedom-e300-arty/openocd.cfg
+++ b/bsp/env/freedom-e300-arty/openocd.cfg
@@ -13,13 +13,13 @@ ftdi_layout_signal LED -data 0x0800
#
set _CHIPNAME riscv
-jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x10e31913
+jtag newtap $_CHIPNAME cpu -irlen 5
set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME riscv -chain-position $_TARGETNAME
$_TARGETNAME configure -work-area-phys 0x80000000 -work-area-size 10000 -work-area-backup 1
-flash bank my_first_flash fespi 0x20000000 0 0 0 $_TARGETNAME
+flash bank my_first_flash fespi 0x20000000 0 0 0 $_TARGETNAME 0x10014000
init
#reset
if {[ info exists pulse_srst]} {