Hi There,
I successfully flashed the “freedom-e310-arty-1-0-2.mcs” to the Arty A7 board. Then I started the Freedom Studio under Windows 7. I imported the example projects from FreedomStudio\SiFive\Examples\E31Arty.zip into the work Freedom Studio workspace. There is no demo_gpio example, but coreplexip_welcome seems to be the one. I have ARM-USB-TINY-H attached to the boards with installed drivers.
The project builds successfully, but trying to debug the configuration fails with the following openocd log:
Open On-Chip Debugger 0.10.0+dev-gdd0dd7f64e03-dirty (2018-01-09-17:24)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 10000 kHz
Info : auto-selecting first available session transport “jtag”. To override use 'transport select '.
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 10000 kHz
Info : JTAG tap: riscv.cpu tap/device found: 0x10e31913 (mfg: 0x489 (SiFive, Inc.), part: 0x0e31, ver: 0x1)
Warn : JTAG tap: riscv.cpu UNEXPECTED: 0x10e31913 (mfg: 0x489 (SiFive, Inc.), part: 0x0e31, ver: 0x1)
Error: JTAG tap: riscv.cpu expected 1 of 1: 0x20000001 (mfg: 0x000 (), part: 0x0000, ver: 0x2)
Error: Trying to use configured scan chain anyway…
Warn : Bypassing JTAG setup events due to errors
Info : [0] Found 2 triggers
halted at 0x404 due to software breakpoint
Info : Examined RISCV core; XLEN=32, misa=0x40001105
Info : Listening on port 3333 for gdb connections
Error: Core got an exception (0xffffffff) while writing to 0x20004050
Error: FESPI_WRITE_REG error
Error: auto_probe failed
What can be the problem? Thank you!
Kind regards,
Lazar