I am trying to set up openocd connecting to the EKC-LM3S9B92 TI dev board.
This is what I did:
downloaded OpenOCD 0.5.0 from Sourceforge.
downloaded and installed libftdi-0.19.tar.gz. Copied ftdi.h to /usr/lib.
All the tutorials that I found talk about a ./bootstrap that in my download of openocd does not exist: skipped this point.
Then (in openocd directory):
./configure --enable-maintainer-mode --enable-ft2232_libftdi
make
sudo make install
sudo openocd -f tcl/interface/luminary-icdi.cfg -f tcl/target/stellaris.cfg
gives:
Error: unable to open ftdi device: device not found
I spent one day being sure that the vid and pid match with lsusb (they do, I had to change the pid).
The luminary-icdi.cfg listing is:
interface ft2232
ft2232_layout luminary_icdi
ft2232_vid_pid 0x0403 0x6010
ft2232_device_desc "Luminary Micro ICDI Board"
Then I suddenly found a strange thing: if I change the fourth line to:
ft2232_device_desc "Dual RS232"
then I get:
Info : only one transport option; autoselect 'jtag'
500 kHz
Info : clock speed 500 kHz
Info : JTAG tap: lm3s.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)
Info : lm3s.cpu: hardware has 6 breakpoints, 4 watchpoints
and I can telnet 4444, that means it’s working.
Do you have an idea of why this happens? ft2232_device_desc is wrong on the default config?