After doing more digging, this may be an openocd problem. I have tried this with two different pandaboards, ES revision B1 and B2. I have tried using both the ti_pandaboard.cfg and ti_pandaboard_es.cfg files. However, the omap4460.cfg file has a bug in it:
Runtime Error: embedded:startup.tcl:20: Unknown target type cortex_a, try one of arm7tdmi, arm9tdmi, arm920t, arm720t, arm966e, arm946e, arm926ejs, fa526, feroceon, dragonite, xscale, cortex_m, cortex_a8, cortex_r4, arm11, mips_m4k, avr, dsp563xx, dsp5680xx, testee, avr32_ap7k, or hla_target
This bug has been prevalent in many such config files and people have just gone in an set it to cortex_a8. However, the OMAP 4460, used by the pandaboard es models, is a cortex_a9 processors, not a cortex_a8. If this is the case, the omap4460.cfg file is useless as it doesn't contain the correct values, which would definitely explain the problems I am having.
I have now tried two bus blaster boards, three different machines, and eight different sets of "setup" instructions, and I still can't get this to work. I am making one last attempt with a Windows XP VM. If that doesn't work, tincantools it is.
No difference. I tried compiling the code with those configuration settings, as well as with libftd2xx. Both have resulted in the exact same behavior. I will try out these instructions tomorrow and see what happens.
You are correct; I had forgotten to install libftdi1 on my machine. However, I am now back to the exact same problem I had before, only now on a second computer.
I actually started over and tried setting this up on a new machine (my original was an offline machine with a somewhat old ubuntu repository) and I'm much further along now, but I'm still running into errors. When I run my openocd command now, here's what I get:
Open On-Chip Debugger 0.8.0-dev-00361-gbc1340c (2014-01-10-15:25) Licensed under GNU GPL v2 Info : only one transport option; autoselect 'jtag' RCLK - adaptive Using dpgbase = 0x80000000 force hard breakpoints trst_only separate trst_push_pull Warn : Unable to open FTDI Device tried: 'Dual RS232-HS' and 'Dual RS232-HS A' Error: unable to open ftdi device: device not opened Error: ListDevices: 2 Error: 0: "Dual RS232-HS A" Error: 1: "Dual RS232-HS B" in procedure 'init'
I checked dmesg again as saw that it still shows 'Detected FT2232H", so I tried changing my cfg file to 'interface ft2232h' just to see what would happen. When it did that, it showed an error but printed the available interfaces. It states:
I'm attempting to include some additional information, but the website says my "post looks too spumy for a new user, please remove off-site URLs", even though I have no URLs in my reply. So I'll leave this post like this and add a few more comments with the remaining information.
I'm running Ubuntu 12.04 and am attempting to connect to a pandaboard via the BusBlaster v3c and am having no luck at all. I installed the libftdi1 driver on my system and I can confirm that the devices is showing up. 'lsusb' shows the device, and running 'dmesg' shows the OS picking up the new board. However, when I attempt to run openocd, I'm getting the following error:
Error: The specified debug interface was not found (ft2232) The following debug interfaces are available: Runtime error: tcl/interface/busblaster.cfg:11 in procedure 'script' at file "embedded:startup.tcl", line 58 in procedure 'interface' called at file "tcl/inteface/busblaster.cfg", line 11
I am invoking the application with the following command (from inside the openocd source directory): openocd -f tcl/interface/busblaster.cfg -f tcl/board/ti_pandaboard.cfg
I first install openocd via apt-get and tried that with the same error. I also tried compiling it from source and got the same error. Running lsusb displays the following:
usb 2-1.2: new high-speed USB device number 5 using ehci_hcd usb 2-1.2: New USB device found, idVendor=0403, idProduct=6010 usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 2-1.2: Product: Dual RS232-HS usb 2-1.2: Manufacturer: FTDI ftdi_sio 2-1.2:1.0: FTDI USB Serial Device converted detected usb 2-1.2: Detected FT2232H