From: R. D. <rdi...@ya...> - 2013-02-25 15:28:43
|
Hi all: I bought a few months ago a cheap USB-Blaster clone, and now I have an Arduino Due I want to test it with. I am building OpenOCD like this: git clone git://openocd.git.sourceforge.net/gitroot/openocd/openocd cd openocd ./bootstrap ./configure --enable-maintainer-mode --enable-usb_blaster_libftdi --prefix=$HOME/rdiez/arduino/openocd/openocd-bin make -j 5 make install Then I tried to run it like this: ~/rdiez/arduino/openocd/openocd-bin/bin/openocd -f interface/altera-usb-blaster.cfg -d 3 I am getting this error: Error: 66 6 usb_blaster.c:451 usb_blaster_init(): unable to get latency timer Please see the full log below. I am running Ubuntu 12.04. I tried searching the Internet for answers, and I came across this message: http://www.mail-archive.com/ope...@li.../msg17192.html However, I couldn't make out the status of that patch. The other information I have found was either not applicable (lib ftd2xx instead of libftdi) or got me confused. Can anybody help? Please copy me on the answers, as I am not subscribed to this list. By the way, it's a little frustrating trying to ask something here. There is no warning that you must be subscribed in order to post to the mailing list, so my message bounced back. And, in order to ask a question, I wouldn't make my users go through the hassle of having to subscribe and receive other unrelated e-mails. There's also the forum, but you need to remember yet another login and password for it too. Thanks in advance, rdiez Full log follows: Open On-Chip Debugger 0.7.0-dev-00079-g08ddb19 (2013-02-25-14:58) Licensed under GNU GPL v2 For bug reports, read http://openocd.sourceforge.net/doc/doxygen/bugs.html User : 11 3 command.c:549 command_print(): debug_level: 3 Debug: 12 3 configuration.c:45 add_script_search_dir(): adding /home/rdiez/.openocd Debug: 13 3 configuration.c:45 add_script_search_dir(): adding /home/rdiez/rdiez/arduino/openocd/openocd-bin/share/openocd/site Debug: 14 3 configuration.c:45 add_script_search_dir(): adding /home/rdiez/rdiez/arduino/openocd/openocd-bin/share/openocd/scripts Debug: 15 3 configuration.c:86 find_file(): found /home/rdiez/rdiez/arduino/openocd/openocd-bin/share/openocd/scripts/interface/altera-usb-blaster.cfg Debug: 16 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface usb_blaster Debug: 17 3 command.c:145 script_debug(): command - interface ocd_interface usb_blaster Debug: 19 3 command.c:369 register_command_handler(): registering 'ocd_usb_blaster_device_desc'... Debug: 20 3 command.c:369 register_command_handler(): registering 'ocd_usb_blaster_vid_pid'... Debug: 21 3 command.c:369 register_command_handler(): registering 'ocd_usb_blaster'... Warn : 22 3 adapter.c:161 handle_interface_command(): Adapter driver 'usb_blaster' did not declare which transports it allows; assuming legacy JTAG-only Info : 23 3 transport.c:118 allow_transports(): only one transport option; autoselect 'jtag' Debug: 24 4 command.c:369 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'... Debug: 25 4 command.c:369 register_command_handler(): registering 'ocd_jtag_rclk'... Debug: 26 4 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_delay'... Debug: 27 4 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'... Debug: 28 4 command.c:369 register_command_handler(): registering 'ocd_scan_chain'... Debug: 29 4 command.c:369 register_command_handler(): registering 'ocd_jtag_reset'... Debug: 30 4 command.c:369 register_command_handler(): registering 'ocd_runtest'... Debug: 31 4 command.c:369 register_command_handler(): registering 'ocd_irscan'... Debug: 32 4 command.c:369 register_command_handler(): registering 'ocd_verify_ircapture'... Debug: 33 4 command.c:369 register_command_handler(): registering 'ocd_verify_jtag'... Debug: 34 4 command.c:369 register_command_handler(): registering 'ocd_tms_sequence'... Debug: 35 4 command.c:369 register_command_handler(): registering 'ocd_wait_srst_deassert'... Debug: 36 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 37 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 38 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 39 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 40 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 41 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 42 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 43 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 44 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 45 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 46 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 47 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 48 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 49 4 command.c:369 register_command_handler(): registering 'ocd_svf'... Debug: 50 4 command.c:369 register_command_handler(): registering 'ocd_xsvf'... Debug: 51 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 3000 Debug: 52 4 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 3000 Debug: 54 4 core.c:1625 jtag_config_khz(): handle jtag khz Debug: 55 4 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 56 4 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value User : 57 4 command.c:549 command_print(): adapter speed: 3000 kHz Debug: 58 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init Debug: 59 5 command.c:145 script_debug(): command - init ocd_init Debug: 61 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init Debug: 62 5 command.c:145 script_debug(): command - ocd_target ocd_target init Debug: 64 5 target.c:1194 handle_target_init_command(): Initializing targets... Debug: 65 5 usb_blaster.c:354 usb_blaster_init(): 'usb_blaster' interface using libftdi Error: 66 6 usb_blaster.c:451 usb_blaster_init(): unable to get latency timer Debug: 67 6 command.c:631 run_command(): Command failed with error code -100 User : 68 6 command.c:669 command_run_line(): in procedure 'init' |