From 0d9d9cc3d84949894080e1281fc8b68e9b1913c4 Mon Sep 17 00:00:00 2001 From: mwachs5 Date: Thu, 16 Nov 2017 09:30:52 -0800 Subject: E300 Arty: Don't need to specify the expected ID, just tell it where the SPIFlash controller is. This allows it to work for newer versions of the E300 Arty Dev Kit as well. --- bsp/env/freedom-e300-arty/openocd.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bsp/env') 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]} { -- cgit v1.2.3