Host: ubuntu 19.04
Freedome SDK: latest pull 2020-03-27
JLink: SEGGER v6.70 (with J-Link Pro), tried 3 other versions here
Toolchains (gcc, openocd): ubuntu14
these look problematic in the issue below:
(0 ProgBuf entries) and autoexec[0] implemented: No
i am assuming programming the hifive1-revb would work automatically, but didn’t readily see much information on addressing the below error i am having.
Note.
e Makefile
#TARGET ?= (shell find $(TARGET_ROOT)/bsp/* -type d | head -n 1 | rev | cut -d ‘/’ -f 1 | rev)
TARGET ?= sifive-hifive1-revb
$ make upload
scripts/upload --hex /home/nlivic/rv2/freedom-e-sdk/software/hello/debug/hello.hex --jlink JLinkExe
SEGGER J-Link Commander V6.70 (Compiled Mar 27 2020 14:37:00)
DLL version V6.70, compiled Mar 27 2020 14:36:47
Connecting to J-Link via USB…O.K.
Firmware: J-Link V11 compiled Mar 19 2020 11:11:08
Hardware version: V11.00
S/N: 601001907
License(s): RDI, FlashBP, FlashDL, JFlash, GDB
VTref=3.303V
Device “FE310” selected.
Connecting to target via JTAG
ConfigTargetSettings() start
ConfigTargetSettings() end
TotalIRLen = 5, IRPrint = 0x01
JTAG chain detection found 1 devices:
#0 Id: 0x20000913, IRLen: 05, Unknown device
Debug architecture:
RISC-V debug: 0.13
AddrBits: 7
DataBits: 32
IdleClks: 5
Memory access:
Via system bus: No
Via ProgBuf: No (0 ProgBuf entries)
DataBuf: 0 entries
autoexec[0] implemented: No
Failed to temporarily halt core during identification
Attaching to core failed. Trying again with connect under reset (ndmreset-bit)
Memory access:
Detected: RV32 core
CSR access via abs. commands: Yes
WARNING: CPU could not be halted
ConfigTargetSettings() start
ConfigTargetSettings() end
ConfigTargetSettings() start
ConfigTargetSettings() end
****** Error: Timeout while waiting for core to halt after reset and halt request
Communication timed out: Requested 4 bytes, received 0 bytes !
Specific core setup failed.
Could not read hardware status!
Cannot connect to target.
J-Link>Target connection not established yet but required for command.
Device “FE310” selected.
Selected interface (JTAG) is not supported by the connected probe.
J-Link>Target connection not established yet but required for command.
Device “FE310” selected.
Connecting to target via JTAG
Cannot connect to target
Any advice on what i am doing wrong or alternatives would be much appreciated. thanks!