New freedom soc platform openocd veryslow

Hi all,
I found there is a freedom soc platform ,release in this august at github/sifive.
the fpga generate progress very well using vivado,
but after burn to board, use the released opoenocd to connect the board,
the gdb very slow, for example the download speed < 1KB/s, while the old freedon the speed can be 40+KB/s.

so is there a new openocd release plan?
thankyou!

Are you running in a virtual machine?

We have found that the newer version of OpenOCD is very slow when using a Virtual machine without USB3 enabled in the VM.

Either way, there are recent releases of OpenOCD that can be downloaded from https://www.sifive.com/products/tools/, you should be able to achieve good download speed.

Hi thanks for reply.

yes I’m using a vm, after change to usb 3.0 mode, the speed be higher.
but there’s still some error messege :sunny:

Open On-Chip Debugger 0.10.0-dev-g0d86772-dirty (2017-06-13-14:13)
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: 0x00000001 (mfg: 0x000 (), part: 0x0000, ver: 0x0)
Warn : JTAG tap: riscv.cpu UNEXPECTED: 0x00000001 (mfg: 0x000 (), part: 0x0000, ver: 0x0)
Error: JTAG tap: riscv.cpu expected 1 of 1: 0x10e31913 (mfg: 0x489 (), part: 0x0e31, ver: 0x1)
Error: Trying to use configured scan chain anyway…
Warn : Bypassing JTAG setup events due to errors
Info : dtmcontrol_idle=5, dmi_busy_delay=1, ac_busy_delay=0
Info : dtmcontrol_idle=5, dmi_busy_delay=2, ac_busy_delay=0
Info : dtmcontrol_idle=5, dmi_busy_delay=3, ac_busy_delay=0
Info : dtmcontrol_idle=5, dmi_busy_delay=4, ac_busy_delay=0
Info : Examined RISC-V core
riscv.cpu: target state: halted