From: Spencer O. <sp...@sp...> - 2013-12-23 10:35:56
|
On 23 December 2013 10:07, Chris Fryer <chr...@gm...> wrote: > I'm having problems getting the latest development version of oocd with > cmsis-dap support to find the HIDAPI library files. > > I've built and installed HIDAPI and can see the following files in > /usr/local/lib: > libhidapi-hidraw.a libhidapi-libusb.la > libhidapi-hidraw.la libhidapi-libusb.so > libhidapi-hidraw.so libhidapi-libusb.so.0 > libhidapi-hidraw.so.0 libhidapi-libusb.so.0.0.0 > libhidapi-hidraw.so.0.0.0 libopenocd.a > libhidapi-libusb.a libopenocd.la > > When I run ./bootstrap && ./configure on commit > 8994597a08eb43ae86649d3ef200b47da4d7075e Author: Spencer Oliver > <sp...@sp...> Date: Thu Dec 19 21:33:19 2013 +0000 > I see: > checking for LIBUSB1... yes > configure: libusb-1.0 header bug workaround: LIBUSB1_CFLAGS changed to > "-isystem /usr/include/libusb-1.0" > checking for LIBUSB0... no > checking for HIDAPI... no > checking for HIDAPI... yes > > then: > > OpenOCD configuration summary > -------------------------------------------------- > MPSSE mode of FTDI based devices yes (auto) > ST-Link JTAG Programmer yes (auto) > TI ICDI JTAG Programmer yes (auto) > Keil ULINK JTAG Programmer yes (auto) > Segger J-Link JTAG Programmer yes (auto) > OSBDM (JTAG only) Programmer yes (auto) > eStick/opendous JTAG Programmer yes (auto) > Andes JTAG Programmer yes (auto) > Versaloon-Link JTAG Programmer no > USBProg JTAG Programmer no > Raisonance RLink JTAG Programmer no > Olimex ARM-JTAG-EW Programmer no > CMSIS-DAP Compliant Debugger yes (auto) > > > but after make && sudo make install, oocd can't see the device: > > Error: unable to open CMSIS-DAP device > Error: unable to init CMSIS-DAP driver > > What have I done wrong? > Just a thought did you run ldconfig after installing hidapi ? Cheers Spen |