Freedom-e-sdk `make upload` fails

Build System: Debian Sid/unstable
CPU: x86_64
Kernel: 4.12

When the board is powered, I see the demo LED program and can respond with ‘Y’.

I compiled freedom-e-sdk from source successfully:
$ git clone --recursive https://github.com/sifive/freedom-e-sdk.git
$ cd freedom-e-sdk
$ make tools BOARD=freedom-e300-hifive1 -j4

Then I compiled and uploaded the hello program:
$ make software PROGRAM=hello BOARD=freedom-e300-hifive1
$ make upload PROGRAM=hello BOARD=freedom-e300-hifive1

The program compiles, but the program does not get uploaded and I still get the demo program.

This is the output after make upload:

~/freedom-e-sdk$ make upload PROGRAM=hello BOARD=freedom-e300-hifive1
work/build/openocd/prefix/bin/openocd -f bsp/env/freedom-e300-hifive1/openocd.cfg &
/home/wdmjun/freedom-e-sdk/work/build/riscv-gnu-toolchain/riscv64-unknown-elf/prefix/bin/riscv64-unknown-elf-gdb software/hello/hello --batch -ex “set remotetimeout 240” -ex “target extended-remote localhost:3333” -ex “monitor reset halt” -ex “monitor flash protect 0 64 last off” -ex “load” -ex “monitor resume” -ex “monitor shutdown” -ex “quit” &&
echo "Successfully uploaded ‘hello’ to freedom-e300-hifive1."
Open On-Chip Debugger 0.10.0+dev (2017-10-17-22:52)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 10000 kHz
Error: The specified debug interface was not found (ftdi)
The following debug interfaces are available:

localhost:3333: Connection timed out.
“monitor” command not supported by this target.
“monitor” command not supported by this target.
You can’t do that when your target is `exec’
“monitor” command not supported by this target.
“monitor” command not supported by this target.
Successfully uploaded ‘hello’ to freedom-e300-hifive1.

-WM

Error: The specified debug interface was not found (ftdi)

Looks like OpenOCD isn’t finding the HiFive 1 board. What operating system are you using?

Do you see it enumerate with dmesg after plugin?

[ 7987.975682] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 7987.975770] ftdi_sio 1-5.3:1.0: FTDI USB Serial Device converter detected
[ 7987.975870] usb 1-5.3: Detected FT2232H
[ 7987.976562] usb 1-5.3: FTDI USB Serial Device converter now attached to ttyUSB0
[ 7987.976585] ftdi_sio 1-5.3:1.1: FTDI USB Serial Device converter detected

Or, listed with lsusb?

Bus 001 Device 015: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC

If so, does your user have adequate permissions to access it? There are also some USB cables which are intended for providing power only and don’t have D+/D- connected,

I, too, like to live dangerously. :wink:

Debian Sid/unstable

dgrubb thanks for your reply. My cable works for flashing ROMs. Me thinks it may be a hardware issue with this board???

:~# dmesg
[523500.889292] usb 3-2: new high-speed USB device number 19 using xhci_hcd
[523501.029798] usb 3-2: New USB device found, idVendor=0403, idProduct=6010
[523501.029802] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[523501.029805] usb 3-2: Product: Dual RS232-HS
[523501.029807] usb 3-2: Manufacturer: FTDI
[523501.030338] ftdi_sio 3-2:1.0: FTDI USB Serial Device converter detected
[523501.030412] usb 3-2: Detected FT2232H
[523501.030598] usb 3-2: FTDI USB Serial Device converter now attached to ttyUSB0
[523501.030809] ftdi_sio 3-2:1.1: FTDI USB Serial Device converter detected
[523501.030868] usb 3-2: Detected FT2232H
[523501.031032] usb 3-2: FTDI USB Serial Device converter now attached to ttyUSB1

:~# lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 5986:02d5 Acer, Inc
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 019: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

:~# cat /etc/udev/rules.d/99-openocd.rules
SUBSYSTEM==“tty”, ATTRS{idVendor}==“0403”,ATTRS{idProduct}==“6010”, MODE=“664”, GROUP="plugdev"
SUBSYSTEM==“tty”, ATTRS{idVendor}==“15ba”,ATTRS{idProduct}==“002a”, MODE=“664”, GROUP="plugdev"
SUBSYSTEM==“usb”, ATTR{idVendor}==“0403”,ATTR{idProduct}==“6010”, MODE=“664”, GROUP="plugdev"
SUBSYSTEM==“usb”, ATTR{idVendor}==“15ba”,ATTR{idProduct}==“002a”, MODE=“664”, GROUP=“plugdev”

:~# ls -l /dev/ttyUSB*
crw-rw-r-- 1 root plugdev 188, 0 Oct 19 03:42 /dev/ttyUSB0
crw-rw-r-- 1 root plugdev 188, 1 Oct 19 03:42 /dev/ttyUSB1

:~$ groups
dialout cdrom floppy sudo audio dip video plugdev netdev bluetooth

:~$ make updload PROGRAM=hello BOARD=freedom-e300-hifive1
same error as above

:~# make updload PROGRAM=hello BOARD=freedom-e300-hifive1
same error as above

-WM

Can you run with OpenOCD debug mode on? You can do this by adding -d to the openocd args:

OPENOCDARGS += -f $(OPENOCDCFG) -d

At this line in your Makefile:

I wouldn’t rule it out, but I’ll leave it up to the SiFive people to rule it in. However, I can at least try my working board against a sid environment and validate that side of things. I’m downloading stretch now, if I upgrade-dist that to sid and your kernel version would that be a reasonable approximation of your setup?

Last time I used my HiFive1 with Debian was stretch and I don’t recall running into issues with it, but sid may have unknown quantities.

Yes, so far I am still leaning towards an OpenOCD installation / permissions issue more than hardware, it seems like it is not even finding the ftdi interface description file that should have been installed along with OpenOCD.

1 Like

Here is a snapshot of my build system:

:~# uname -a
Linux pacioli 4.13.0-1-amd64 #1 SMP Debian 4.13.4-1 (2017-10-01) x86_64 GNU/Linux

:~# dpkg --get-selections
https://paste.debian.net/991759

:~# dpkg --print-architecture
amd64

:~# dpkg --print-foreign-architectures
i386

:~# cat /etc/apt/sources.list
deb http://httpredir.debian.org/debian/ sid main non-free contrib
deb-src http://httpredir.debian.org/debian/ sid main non-free contrib

After the changes to the Makefile:
$ make upload PROGRAM=hello BOARD=freedom-e300-hifive1

work/build/openocd/prefix/bin/openocd -f bsp/env/freedom-e300-hifive1/openocd.cfg -d &
/home/wdmjun/freedom-e-sdk/work/build/riscv-gnu-toolchain/riscv64-unknown-elf/prefix/bin/riscv64-unknown-elf-gdb software/hello/hello --batch -ex “set remotetimeout 240” -ex “target extended-remote localhost:3333” -ex “monitor reset halt” -ex “monitor flash protect 0 64 last off” -ex “load” -ex “monitor resume” -ex “monitor shutdown” -ex “quit” &&
echo "Successfully uploaded ‘hello’ to freedom-e300-hifive1."
Open On-Chip Debugger 0.10.0+dev (2017-10-17-22:52)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
User : 13 24 command.c:544 command_print(): debug_level: 3
Debug: 14 24 options.c:181 add_default_dirs(): bindir=/home/wdmjun/freedom-e-sdk/work/build/openocd/prefix/bin
Debug: 15 24 options.c:182 add_default_dirs(): pkgdatadir=/home/wdmjun/freedom-e-sdk/work/build/openocd/prefix/share/openocd
Debug: 16 24 options.c:183 add_default_dirs(): exepath=/home/wdmjun/freedom-e-sdk/work/build/openocd/prefix/bin
Debug: 17 24 options.c:184 add_default_dirs(): bin2data=…/share/openocd
Debug: 18 24 configuration.c:42 add_script_search_dir(): adding /home/wdmjun/.openocd
Debug: 19 24 configuration.c:42 add_script_search_dir(): adding /home/wdmjun/freedom-e-sdk/work/build/openocd/prefix/bin/…/share/openocd/site
Debug: 20 24 configuration.c:42 add_script_search_dir(): adding /home/wdmjun/freedom-e-sdk/work/build/openocd/prefix/bin/…/share/openocd/scripts
Debug: 21 24 configuration.c:82 find_file(): found bsp/env/freedom-e300-hifive1/openocd.cfg
Debug: 22 84 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 10000
Debug: 23 84 command.c:143 script_debug(): command - adapter_khz ocd_adapter_khz 10000
Debug: 25 84 core.c:1745 jtag_config_khz(): handle jtag khz
Debug: 26 84 core.c:1712 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 27 84 core.c:1712 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 28 84 command.c:544 command_print(): adapter speed: 10000 kHz
Debug: 29 84 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_interface ftdi
Debug: 30 84 command.c:143 script_debug(): command - interface ocd_interface ftdi
Error: 32 84 adapter.c:181 handle_interface_command(): The specified debug interface was not found (ftdi)
User : 33 84 command.c:544 command_print(): The following debug interfaces are available:
Debug: 34 84 command.c:626 run_command(): Command failed with error code -101
User : 35 84 command.c:687 command_run_line():
localhost:3333: Connection timed out.
“monitor” command not supported by this target.
“monitor” command not supported by this target.
You can’t do that when your target is `exec’
“monitor” command not supported by this target.
“monitor” command not supported by this target.
Successfully uploaded ‘hello’ to freedom-e300-hifive1.

-WM

Yes, this looks like an installation problem, it doesn’t seem to find the FTDI interface file. This should exist here, do they?

/home/wdmjun/freedom-e-sdk/work/build/openocd/prefix/bin/../share/openocd/scripts/interfaces/ftdi/

The only item in the bin directory is the openocd executable.

:~$ ls -al ~/freedom-e-sdk/work/build/openocd/prefix/bin
total 10972
drwxr-xr-x 2 wdmjun wdmjun 4096 Oct 17 22:52 .
drwxr-xr-x 4 wdmjun wdmjun 4096 Oct 17 22:52 …
-rwxr-xr-x 1 wdmjun wdmjun 11208952 Oct 17 22:53 openocd

–WM

It would not be in the bin directory, but in bin/../share

Please take another look.

Oops. Not sure what you’re looking for. How’s this?

:~$ ls -la freedom-e-sdk/work/build/openocd/prefix/share/openocd/scripts/
total 84
drwxr-xr-x 11 wdmjun wdmjun 4096 Oct 17 22:53 .
drwxr-xr-x 4 wdmjun wdmjun 4096 Oct 17 22:52 …
-rw-r–r-- 1 wdmjun wdmjun 1601 Oct 17 22:52 bitsbytes.tcl
drwxr-xr-x 2 wdmjun wdmjun 16384 Oct 17 22:52 board
drwxr-xr-x 5 wdmjun wdmjun 4096 Oct 17 22:52 chip
drwxr-xr-x 2 wdmjun wdmjun 4096 Oct 17 22:52 cpld
drwxr-xr-x 3 wdmjun wdmjun 4096 Oct 17 22:53 cpu
drwxr-xr-x 2 wdmjun wdmjun 4096 Oct 17 22:52 fpga
drwxr-xr-x 3 wdmjun wdmjun 4096 Oct 17 22:52 interface
-rw-r–r-- 1 wdmjun wdmjun 787 Oct 17 22:52 mem_helper.tcl
-rw-r–r-- 1 wdmjun wdmjun 4563 Oct 17 22:53 memory.tcl
-rw-r–r-- 1 wdmjun wdmjun 1648 Oct 17 22:52 mmr_helpers.tcl
drwxr-xr-x 2 wdmjun wdmjun 12288 Oct 17 22:53 target
drwxr-xr-x 2 wdmjun wdmjun 4096 Oct 17 22:52 test
drwxr-xr-x 2 wdmjun wdmjun 4096 Oct 17 22:53 tools

–WM

Can you please ls the exact path that I specified above? Including your user name, etc

:~$ ls -la freedom-e-sdk/work/build/openocd/prefix/share/openocd/scripts/interface/
total 144
drwxr-xr-x 3 wdmjun wdmjun 4096 Oct 17 22:52 .
drwxr-xr-x 11 wdmjun wdmjun 4096 Oct 17 22:53 …
-rw-r–r-- 1 wdmjun wdmjun 190 Oct 17 22:52 altera-usb-blaster2.cfg
-rw-r–r-- 1 wdmjun wdmjun 215 Oct 17 22:52 altera-usb-blaster.cfg
-rw-r–r-- 1 wdmjun wdmjun 96 Oct 17 22:52 arm-jtag-ew.cfg
-rw-r–r-- 1 wdmjun wdmjun 102 Oct 17 22:52 at91rm9200.cfg
-rw-r–r-- 1 wdmjun wdmjun 517 Oct 17 22:52 buspirate.cfg
-rw-r–r-- 1 wdmjun wdmjun 195 Oct 17 22:52 calao-usb-a9260.cfg
-rw-r–r-- 1 wdmjun wdmjun 115 Oct 17 22:52 chameleon.cfg
-rw-r–r-- 1 wdmjun wdmjun 218 Oct 17 22:52 cmsis-dap.cfg
-rw-r–r-- 1 wdmjun wdmjun 63 Oct 17 22:52 dummy.cfg
-rw-r–r-- 1 wdmjun wdmjun 75 Oct 17 22:52 estick.cfg
-rw-r–r-- 1 wdmjun wdmjun 331 Oct 17 22:52 flashlink.cfg
drwxr-xr-x 2 wdmjun wdmjun 4096 Oct 17 22:52 ftdi
-rw-r–r-- 1 wdmjun wdmjun 894 Oct 17 22:52 imx-native.cfg
-rw-r–r-- 1 wdmjun wdmjun 268 Oct 17 22:52 jlink.cfg
-rw-r–r-- 1 wdmjun wdmjun 354 Oct 17 22:52 jtag_vpi.cfg
-rw-r–r-- 1 wdmjun wdmjun 360 Oct 17 22:52 kitprog.cfg
-rw-r–r-- 1 wdmjun wdmjun 258 Oct 17 22:52 nds32-aice.cfg
-rw-r–r-- 1 wdmjun wdmjun 84 Oct 17 22:52 opendous.cfg
-rw-r–r-- 1 wdmjun wdmjun 96 Oct 17 22:52 openjtag.cfg
-rw-r–r-- 1 wdmjun wdmjun 114 Oct 17 22:52 osbdm.cfg
-rw-r–r-- 1 wdmjun wdmjun 371 Oct 17 22:52 parport.cfg
-rw-r–r-- 1 wdmjun wdmjun 296 Oct 17 22:52 parport_dlc5.cfg
-rw-r–r-- 1 wdmjun wdmjun 1183 Oct 17 22:52 raspberrypi2-native.cfg
-rw-r–r-- 1 wdmjun wdmjun 991 Oct 17 22:52 raspberrypi-native.cfg
-rw-r–r-- 1 wdmjun wdmjun 155 Oct 17 22:52 rlink.cfg
-rw-r–r-- 1 wdmjun wdmjun 156 Oct 17 22:52 stlink-v1.cfg
-rw-r–r-- 1 wdmjun wdmjun 488 Oct 17 22:52 stlink-v2-1.cfg
-rw-r–r-- 1 wdmjun wdmjun 484 Oct 17 22:52 stlink-v2.cfg
-rw-r–r-- 1 wdmjun wdmjun 554 Oct 17 22:52 sysfsgpio-raspberrypi.cfg
-rw-r–r-- 1 wdmjun wdmjun 349 Oct 17 22:52 ti-icdi.cfg
-rw-r–r-- 1 wdmjun wdmjun 162 Oct 17 22:52 ulink.cfg
-rw-r–r-- 1 wdmjun wdmjun 1600 Oct 17 22:52 usb-jtag.cfg
-rw-r–r-- 1 wdmjun wdmjun 221 Oct 17 22:52 usbprog.cfg
-rw-r–r-- 1 wdmjun wdmjun 82 Oct 17 22:52 vsllink.cfg

:~$ ls -la freedom-e-sdk/work/build/openocd/prefix/share/openocd/scripts/interface/ftdi/
total 288
drwxr-xr-x 2 wdmjun wdmjun 4096 Oct 17 22:52 .
drwxr-xr-x 3 wdmjun wdmjun 4096 Oct 17 22:52 …
-rw-r–r-- 1 wdmjun wdmjun 392 Oct 17 22:52 100ask-openjtag.cfg
-rw-r–r-- 1 wdmjun wdmjun 470 Oct 17 22:52 axm0432.cfg
-rw-r–r-- 1 wdmjun wdmjun 650 Oct 17 22:52 calao-usb-a9260-c01.cfg
-rw-r–r-- 1 wdmjun wdmjun 650 Oct 17 22:52 calao-usb-a9260-c02.cfg
-rw-r–r-- 1 wdmjun wdmjun 255 Oct 17 22:52 cortino.cfg
-rw-r–r-- 1 wdmjun wdmjun 313 Oct 17 22:52 digilent-hs1.cfg
-rw-r–r-- 1 wdmjun wdmjun 211 Oct 17 22:52 digilent-hs2.cfg
-rw-r–r-- 1 wdmjun wdmjun 290 Oct 17 22:52 digilent_jtag_hs3.cfg
-rw-r–r-- 1 wdmjun wdmjun 474 Oct 17 22:52 digilent_jtag_smt2.cfg
-rw-r–r-- 1 wdmjun wdmjun 680 Oct 17 22:52 dlp-usb1232h.cfg
-rw-r–r-- 1 wdmjun wdmjun 636 Oct 17 22:52 dp_busblaster.cfg
-rw-r–r-- 1 wdmjun wdmjun 723 Oct 17 22:52 dp_busblaster_kt-link.cfg
-rw-r–r-- 1 wdmjun wdmjun 955 Oct 17 22:52 flossjtag.cfg
-rw-r–r-- 1 wdmjun wdmjun 837 Oct 17 22:52 flossjtag-noeeprom.cfg
-rw-r–r-- 1 wdmjun wdmjun 320 Oct 17 22:52 flyswatter2.cfg
-rw-r–r-- 1 wdmjun wdmjun 303 Oct 17 22:52 flyswatter.cfg
-rw-r–r-- 1 wdmjun wdmjun 491 Oct 17 22:52 gw16042.cfg
-rw-r–r-- 1 wdmjun wdmjun 524 Oct 17 22:52 hilscher_nxhx10_etm.cfg
-rw-r–r-- 1 wdmjun wdmjun 526 Oct 17 22:52 hilscher_nxhx500_etm.cfg
-rw-r–r-- 1 wdmjun wdmjun 530 Oct 17 22:52 hilscher_nxhx500_re.cfg
-rw-r–r-- 1 wdmjun wdmjun 523 Oct 17 22:52 hilscher_nxhx50_etm.cfg
-rw-r–r-- 1 wdmjun wdmjun 527 Oct 17 22:52 hilscher_nxhx50_re.cfg
-rw-r–r-- 1 wdmjun wdmjun 257 Oct 17 22:52 hitex_lpc1768stick.cfg
-rw-r–r-- 1 wdmjun wdmjun 263 Oct 17 22:52 hitex_str9-comstick.cfg
-rw-r–r-- 1 wdmjun wdmjun 492 Oct 17 22:52 icebear.cfg
-rw-r–r-- 1 wdmjun wdmjun 375 Oct 17 22:52 incircuit-icprog.cfg
-rw-r–r-- 1 wdmjun wdmjun 283 Oct 17 22:52 iotlab-usb.cfg
-rw-r–r-- 1 wdmjun wdmjun 277 Oct 17 22:52 jtagkey2.cfg
-rw-r–r-- 1 wdmjun wdmjun 280 Oct 17 22:52 jtagkey2p.cfg
-rw-r–r-- 1 wdmjun wdmjun 273 Oct 17 22:52 jtagkey.cfg
-rw-r–r-- 1 wdmjun wdmjun 413 Oct 17 22:52 jtag-lock-pick_tiny_2.cfg
-rw-r–r-- 1 wdmjun wdmjun 381 Oct 17 22:52 kt-link.cfg
-rw-r–r-- 1 wdmjun wdmjun 553 Oct 17 22:52 lisa-l.cfg
-rw-r–r-- 1 wdmjun wdmjun 1279 Oct 17 22:52 luminary.cfg
-rw-r–r-- 1 wdmjun wdmjun 934 Oct 17 22:52 luminary-icdi.cfg
-rw-r–r-- 1 wdmjun wdmjun 705 Oct 17 22:52 luminary-lm3s811.cfg
-rw-r–r-- 1 wdmjun wdmjun 275 Oct 17 22:52 m53evk.cfg
-rw-r–r-- 1 wdmjun wdmjun 362 Oct 17 22:52 mbftdi.cfg
-rw-r–r-- 1 wdmjun wdmjun 501 Oct 17 22:52 minimodule.cfg
-rw-r–r-- 1 wdmjun wdmjun 621 Oct 17 22:52 minispartan6.cfg
-rw-r–r-- 1 wdmjun wdmjun 356 Oct 17 22:52 neodb.cfg
-rw-r–r-- 1 wdmjun wdmjun 606 Oct 17 22:52 ngxtech.cfg
-rw-r–r-- 1 wdmjun wdmjun 193 Oct 17 22:52 olimex-arm-jtag-swd.cfg
-rw-r–r-- 1 wdmjun wdmjun 308 Oct 17 22:52 olimex-arm-usb-ocd.cfg
-rw-r–r-- 1 wdmjun wdmjun 314 Oct 17 22:52 olimex-arm-usb-ocd-h.cfg
-rw-r–r-- 1 wdmjun wdmjun 328 Oct 17 22:52 olimex-arm-usb-tiny-h.cfg
-rw-r–r-- 1 wdmjun wdmjun 314 Oct 17 22:52 olimex-jtag-tiny.cfg
-rw-r–r-- 1 wdmjun wdmjun 598 Oct 17 22:52 oocdlink.cfg
-rw-r–r-- 1 wdmjun wdmjun 403 Oct 17 22:52 opendous_ftdi.cfg
-rw-r–r-- 1 wdmjun wdmjun 302 Oct 17 22:52 openocd-usb.cfg
-rw-r–r-- 1 wdmjun wdmjun 339 Oct 17 22:52 openocd-usb-hs.cfg
-rw-r–r-- 1 wdmjun wdmjun 550 Oct 17 22:52 openrd.cfg
-rw-r–r-- 1 wdmjun wdmjun 489 Oct 17 22:52 pipistrello.cfg
-rw-r–r-- 1 wdmjun wdmjun 606 Oct 17 22:52 redbee-econotag.cfg
-rw-r–r-- 1 wdmjun wdmjun 598 Oct 17 22:52 redbee-usb.cfg
-rw-r–r-- 1 wdmjun wdmjun 270 Oct 17 22:52 rowley-cc-arm-swd.cfg
-rw-r–r-- 1 wdmjun wdmjun 343 Oct 17 22:52 sheevaplug.cfg
-rw-r–r-- 1 wdmjun wdmjun 510 Oct 17 22:52 signalyzer.cfg
-rw-r–r-- 1 wdmjun wdmjun 518 Oct 17 22:52 signalyzer-lite.cfg
-rw-r–r-- 1 wdmjun wdmjun 281 Oct 17 22:52 stm32-stick.cfg
-rw-r–r-- 1 wdmjun wdmjun 855 Oct 17 22:52 swd-resistor-hack.cfg
-rw-r–r-- 1 wdmjun wdmjun 400 Oct 17 22:52 ti-icdi.cfg
-rw-r–r-- 1 wdmjun wdmjun 326 Oct 17 22:52 tumpa.cfg
-rw-r–r-- 1 wdmjun wdmjun 315 Oct 17 22:52 tumpa-lite.cfg
-rw-r–r-- 1 wdmjun wdmjun 557 Oct 17 22:52 turtelizer2-revB.cfg
-rw-r–r-- 1 wdmjun wdmjun 346 Oct 17 22:52 turtelizer2-revC.cfg
-rw-r–r-- 1 wdmjun wdmjun 1030 Oct 17 22:52 um232h.cfg
-rw-r–r-- 1 wdmjun wdmjun 562 Oct 17 22:52 vpaclink.cfg
-rw-r–r-- 1 wdmjun wdmjun 1759 Oct 17 22:52 xds100v2.cfg
-rw-r–r-- 1 wdmjun wdmjun 254 Oct 17 22:52 xds100v3.cfg

–WM

Also, you might try the precompiled binaries from https://www.sifive.com/products/tools/, this feels like this is something that didn’t get included in your OpenOCD build perhaps due to packages missing from your system when you compiled the toolchain.

Any easy way to track down those missing packages? All of the recommended packages are installed.
–WM

Damn. After double checking my installed packages, libusb-1.0-0-dev is not installed.
I will install the package and recompile.

–WM

1 Like

Installed the missing package and recompiled. All is well.
Thanks all for help in finding my error.
–WM