**** BEGIN LOGGING AT Sun Dec 28 02:59:57 2008 Dec 28 19:10:21 Hello Dec 28 19:10:59 i need support for OpenOCD USB, OS: Linux ? Dec 28 19:11:56 is there someone who can help installing drivers for ftdi2232??? Dec 28 19:12:08 Hello, Schorch1985 Dec 28 19:12:24 I'll do my best to help you out, though I'm new to OpenOCD myself ;) Dec 28 19:12:35 What seems to be the problem? Dec 28 19:13:43 i don't get the driver ftdi2232 installed Dec 28 19:13:57 Are you using the driver from FTDICIP? Dec 28 19:16:32 http://www.ftdichip.com/Drivers/D2XX.htm Dec 28 19:16:58 Alright, well, the way I got that sucker going was to extract the TAR from FTDICHIP. Dec 28 19:16:59 i'am trying to use the driver from the site Dec 28 19:17:34 I copied the header files ftd2xx.h and WinTypes.h to /usr/local/include and then sym-linked them into /usr/include Dec 28 19:18:10 I also copied the librtd2xx.so.0.4.16 (or some such) into /usr/local/lib Dec 28 19:18:27 Again, I made a symbolic link in /usr/lib to the library in /usr/local/lib. Dec 28 19:18:29 there is a file name "readme.dat" Dec 28 19:18:37 is describes howto install the driver Dec 28 19:19:03 I also made another link for it as libftd2xx.so and libftd2xx.so.0 Dec 28 19:19:20 Yeah, there is a description for the driver, but OpenOCD needs the header files too. Dec 28 19:19:54 The header files need to be placed in the generic area that GCC searches so that the header can be found at compile time. Dec 28 19:20:10 /usr/include is one such place Dec 28 19:21:06 I also thought I read some where that the .so.0 extension should be available for ld or some such at run time, so I did that link for safety. Dec 28 19:31:45 I'm very new to the unix word so it will take while until i figure if its work that way Dec 28 19:33:06 :-) Dec 28 19:33:24 The way I verified that it worked was when I tried to configure the OpenOCD build with --enable_ftdi2232-ftd2xx and set the library option to shared for the ftd2xx (both of these are arguments to the ./configure script). Dec 28 19:33:36 If the tests pass, I assume the library is working. Dec 28 19:33:50 By tests I mean the configure script runs without failing. Dec 28 19:48:02 do you change something in the file /etc/fstab? Dec 28 20:09:22 the configure script is still failing Dec 28 20:09:25 configure: WARNING: The (linux) FTDICHIP.COM files ftd2xx.h and libftd2xx.so are assumed to be in a proper place Dec 28 20:09:25 checking Test: Build & Link with ftd2xx... configure: error: Cannot build & run test program using ftd2xx.lib Dec 28 20:11:02 what is the source of sym-link from libftd2xx.so and libftd2xx.so.0?? Dec 28 20:11:05 librtd2xx.so.0.4.16??? Dec 28 20:11:16 Yes. Dec 28 20:11:32 Well, I may have missed typed if that is from above. Dec 28 20:11:42 *miss typed Dec 28 20:13:56 in which directory do this sym-links belong?? Dec 28 20:14:24 Try writing a quick test.c file that with #include and see if you can compile it with gcc. Dec 28 20:14:39 The sym-links should be made in /usr/include and /usr/lib Dec 28 20:15:45 this could be the failure, i just had them in /usr/include Dec 28 20:16:28 ex: Dec 28 20:16:28 ln -s /usr/local/lib/libftd2xx.so.0.4.16 /usr/lib/libftd2xx.so Dec 28 20:16:28 ln -s /usr/lib/libftd2xx.so /usr/lib/libftd2xx.so.0 Dec 28 20:16:28 ln -s /usr/local/include/ftd2xx.h /usr/include/ftd2xx.h Dec 28 20:16:28 ln -s /usr/local/include/WinTypes.h /usr/include/WinTypes.h Dec 28 20:17:11 I'm assuming you placed the header files and the shared object in /usr/local Dec 28 20:27:25 now the configure script is running without failing Dec 28 20:27:41 :-) thanks a lot **** ENDING LOGGING AT Mon Dec 29 02:59:56 2008