On 28/06/2012 18:03, Vivien Giraud wrote:
On 28/06/2012 17:17, Spencer Oliver wrote:
On 28 June 2012 16:06, Vivien Giraud<[email protected]>   wrote:
On 28/06/2012 16:59, Spencer Oliver wrote:
On 28 June 2012 15:50, Vivien Giraud<[email protected]>     wrote:
Oups I haven't tell you, I'm on Debian.
download the latest driver from ftdi, to make sure the correct dir
structure is met.
then configure --with-ftd2xx-lib=static --with-ftd2xx-linux-tardir=..

Spen

This configure setting is for the proprietary ftdi lib (ftd2xx)
I need libftdi :)
Sorry I missed this, I think now you know all.
to get static build with libftdi you will have to rebuild the ftdi lib yourself.
--ftd2xx-lib is only for ftdi's driver package.

Spen

I do this :
./configure --enable-maintainer-mode --with-ftd2xx-lib=static
--with-ftd2xx-linux-tardir=/home/vivien/Downloads/

And nothing change.
Hi all,
I have put libftdi and libusb in libopenocd.a
It's look like it work, but I can't connect to my target, here is the debug log :

   User : 9 241 command.c:547 command_print(): debug_level: 3
   Debug: 10 241 configuration.c:45 add_script_search_dir(): adding
   /home/vivien/
   Debug: 11 241 configuration.c:86 find_file(): found openocd.cfg
   Debug: 12 242 command.c:145 script_debug(): command - ocd_command
   ocd_command type ocd_telnet_port 4444
   Debug: 13 242 command.c:145 script_debug(): command - telnet_port
   ocd_telnet_port 4444
   Debug: 15 242 command.c:145 script_debug(): command - ocd_command
   ocd_command type ocd_gdb_port 3333
   Debug: 16 242 command.c:145 script_debug(): command - gdb_port
   ocd_gdb_port 3333
   Debug: 18 242 command.c:145 script_debug(): command - ocd_command
   ocd_command type ocd_interface ft2232
   Debug: 19 242 command.c:145 script_debug(): command - interface
   ocd_interface ft2232
   Error: 21 242 adapter.c:183 handle_interface_command(): The
   specified debug interface was not found (ft2232)
   User : 22 242 command.c:547 command_print(): The following debug
   interfaces are available:
   Debug: 23 242 command.c:628 run_command(): Command failed with error
   code -101
   User : 24 242 command.c:666 command_run_line(): Runtime Error:
   openocd.cfg:28:
   in procedure 'script'
   at file "embedded:startup.tcl", line 58
   in procedure 'interface' called at file "openocd.cfg", line 28
   Debug: 25 242 command.c:145 script_debug(): command - ocd_command
   ocd_command type ocd_init
   Debug: 26 242 command.c:145 script_debug(): command - init ocd_init
   Debug: 28 242 command.c:145 script_debug(): command - ocd_command
   ocd_command type ocd_target init
   Debug: 29 242 command.c:145 script_debug(): command - ocd_target
   ocd_target init
   Debug: 31 242 target.c:1183 handle_target_init_command():
   Initializing targets...
   Error: 32 242 core.c:1351 adapter_init(): Debug Adapter has to be
   specified, see "interface" command
   Debug: 33 242 command.c:628 run_command(): Command failed with error
   code -101
   User : 34 242 command.c:666 command_run_line(): in procedure 'init'


I try sudo, but it's not that.
I have try different version of libftdi.a (0.20 0.99 1.0) but nothing
Anyone ?

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to