I just want to drop a thank you note here -- I had a problem much like Grant's, I searched the archives for (FT2232) (with parentheses), I re-built OpenOCD 0.7.0 using --enable-FT2232-libftdi, and everything works.
Thanks to all the guys who actually make OpenOCD work -- those of us who use it appreciate your hard work and helpful attitude. On Fri, 2013-04-12 at 21:40 +0000, Grant Edwards wrote: > I'm trying to use an Olimex JTAG TINY with an NXP LPC1830 board. > It's a GIT snapshot from earlier today: > > openocd-code-441914978d1b0debc2c40ef5a660165d53baad27.tar.gz > > The Olimex adapter seems to be OK, but openocd crashes: > > $ lsusb | grep Olimex > Bus 001 Device 018: ID 15ba:0004 Olimex Ltd. OpenOCD JTAG TINY > > $ sudo openocd -f interface/olimex-jtag-tiny.cfg -f > board/lpc1850_spifi_generic.cfg > Open On-Chip Debugger 0.7.0-dev-snapshot (2013-04-12-11:38) > Licensed under GNU GPL v2 > For bug reports, read > http://openocd.sourceforge.net/doc/doxygen/bugs.html > Error: The specified debug interface was not found (ft2232) > The following debug interfaces are available: > Runtime Error: > /usr/local/share/openocd/scripts/interface/olimex-jtag-tiny.cfg:7: > in procedure 'script' > at file "embedded:startup.tcl", line 58 > in procedure 'interface' called at file > "/usr/local/share/openocd/scripts/interface/olimex-jtag-tiny.cfg",line 7 > > I couldn't find any instructions for building from a snapshot, so I > tried followowing the instructions for building from a git repository: > > $ ./bootstrap > + aclocal > + libtoolize --automake --copy > + autoconf > + autoheader > + automake --gnu --add-missing --copy > configure.ac:21: installing './compile' > configure.ac:29: installing './config.guess' > configure.ac:29: installing './config.sub' > configure.ac:8: installing './install-sh' > configure.ac:8: installing './missing' > Makefile.am: installing './INSTALL' > doc/Makefile.am:1: installing 'doc/mdate-sh' > doc/Makefile.am:1: installing 'doc/texinfo.tex' > src/Makefile.am: installing './depcomp' > Setting up submodules > fatal: Not a git repository (or any parent up to mount point /home) > Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). > > $ ./configure > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > > > checking whether to enable verbose USB I/O messages... no > checking whether to enable verbose USB communication messages... no > checking whether to enable malloc free space logging... no > checking whether to enable ZY1000 minidriver... no > checking whether to enable dummy minidriver... no > checking whether standard drivers can be built... yes > configure: error: jimtcl not found, run git submodule init and git > submodule update. > > I've got jimtcl 0.73 already installed, so I tried this: > > $ ./configure --disable-internal-jimtcl > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > ... > config.status: creating doc/Makefile > config.status: creating config.h > config.status: executing depfiles commands > config.status: executing libtool commands > $ > > OK, that seems to have worked, but a "make" fails when it gets to the > docs: > > > $ make > make all-recursive > make[1]: Entering directory > `/home/nxp/openocd/openocd-code-441914978d1b0debc2c40ef5a660165d53baad27' > Making all in src > ... > make[2]: Leaving directory > `/home/nxp/openocd/openocd-code-441914978d1b0debc2c40ef5a660165d53baad27/src' > Making all in doc > make[2]: Entering directory > `/home/nxp/openocd/openocd-code-441914978d1b0debc2c40ef5a660165d53baad27/doc' > restore=: && backupdir=".am$$" && \ > am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \ > rm -rf $backupdir && mkdir $backupdir && \ > if (/bin/sh > /home/nxp/openocd/openocd-code-441914978d1b0debc2c40ef5a660165d53baad27/missing > --run makeinfo --version) >/dev/null 2>&1; then \ > for f in openocd.info openocd.info-[0-9] openocd.info-[0-9][0-9] > openocd.i[0-9] openocd.i[0-9][0-9]; do \ > if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ > done; \ > else :; fi && \ > cd "$am__cwd"; \ > if /bin/sh > /home/nxp/openocd/openocd-code-441914978d1b0debc2c40ef5a660165d53baad27/missing > --run makeinfo -I . \ > -o openocd.info openocd.texi; \ > then \ > rc=0; \ > CDPATH="${ZSH_VERSION+.}:" && cd .; \ > else \ > rc=$?; \ > CDPATH="${ZSH_VERSION+.}:" && cd . && \ > $restore $backupdir/* `echo "./openocd.info" | sed 's|[^/]*$||'`; \ > fi; \ > rm -rf $backupdir; exit $rc > openocd.texi:12: @include `version.texi': No such file or directory. > openocd.texi:37: warning: undefined flag: VERSION. > openocd.texi:38: warning: undefined flag: UPDATED. > openocd.texi:58: warning: undefined flag: VERSION. > openocd.texi:59: warning: undefined flag: UPDATED. > makeinfo: Removing output file `openocd.info' due to errors; use --force to > preserve. > make[2]: *** [openocd.info] Error 1 > make[2]: Leaving directory > `/home/nxp/openocd/openocd-code-441914978d1b0debc2c40ef5a660165d53baad27/doc' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/nxp/openocd/openocd-code-441914978d1b0debc2c40ef5a660165d53baad27' > make: *** [all] Error 2 > > Removing "docs" from SUBDIRS in Makefile makes that error go away: > > $ sed -i 's/SUBDIRS = src doc/SUBDIRS = src/g' Makefile > $ make > > <no errors> > > Then I did a "make install", but I get the Runtime Error shown at the > top of my post. > -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
