Hello, I am trying to install the new Olimex ARM-USB-OCD that I have bought but for some reason its giving me errors. I got the FTDI drivers and installed them:
cd libftd2xx0.4.16
./configure
make
sudo make install
Then I installed OpenOCD:
cd openocd-0.1.0/
./configure --enable-rlink --enable-ft2232_ftd2xx --with-ftd2xx-linux-tardir=../libftd2xx0.4.16/
make
sudo make install
Then I made a udev file since it was what one of the webpages suggested:
sudo nano /etc/udev/rules.d/45-ft2232.rules
With the content:
BUS!=“usb”, ACTION!=“add”, SUBSYSTEM!==“usb_device”, GOTO=“kcontrol_rules_end”
SYSFS{idProduct}="0003", SYSFS{idVendor}=“15ba”, MODE=“664”, GROUP=“plugdev”
LABEL=“kcontrol_rules_end”
/etc/init.d/udev reload
Then I tried to run it:
sudo openocd -f /usr/local/lib/openocd/interface/olimex-arm-usb-ocd.cfg -f /usr/local/lib/openocd/board/stm32f10x_128k_eval.cfg
And I am getting :
Open On-Chip Debugger 0.1.0 (2011-08-02-12:30) Release
BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
$URL: https://[email protected]/svnroot/repos/openocd/tags/openocd-0.1.0/src/openocd.c $
500 kHz
Info : JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (Manufacturer: 0x23b, Part: 0xba00, Version: 0x3)
Info : JTAG Tap/device matched
Info : JTAG tap: stm32.bs tap/device found: 0x16410041 (Manufacturer: 0x020, Part: 0x6410, Version: 0x1)
Info : JTAG Tap/device matched
Warn : no telnet port specified, using default port 4444
Error: couldn't bind to socket: Address already in use
How do I solve this? Have I done something wrong? I am quite new with this so any help is welcome! Thanks!
cd libftd2xx0.4.16
./configure
make
sudo make install
Then I installed OpenOCD:
cd openocd-0.1.0/
./configure --enable-rlink --enable-ft2232_ftd2xx --with-ftd2xx-linux-tardir=../libftd2xx0.4.16/
make
sudo make install
Then I made a udev file since it was what one of the webpages suggested:
sudo nano /etc/udev/rules.d/45-ft2232.rules
With the content:
BUS!=“usb”, ACTION!=“add”, SUBSYSTEM!==“usb_device”, GOTO=“kcontrol_rules_end”
SYSFS{idProduct}="0003", SYSFS{idVendor}=“15ba”, MODE=“664”, GROUP=“plugdev”
LABEL=“kcontrol_rules_end”
/etc/init.d/udev reload
Then I tried to run it:
sudo openocd -f /usr/local/lib/openocd/interface/olimex-arm-usb-ocd.cfg -f /usr/local/lib/openocd/board/stm32f10x_128k_eval.cfg
And I am getting :
Open On-Chip Debugger 0.1.0 (2011-08-02-12:30) Release
BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
$URL: https://[email protected]/svnroot/repos/openocd/tags/openocd-0.1.0/src/openocd.c $
500 kHz
Info : JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (Manufacturer: 0x23b, Part: 0xba00, Version: 0x3)
Info : JTAG Tap/device matched
Info : JTAG tap: stm32.bs tap/device found: 0x16410041 (Manufacturer: 0x020, Part: 0x6410, Version: 0x1)
Info : JTAG Tap/device matched
Warn : no telnet port specified, using default port 4444
Error: couldn't bind to socket: Address already in use
How do I solve this? Have I done something wrong? I am quite new with this so any help is welcome! Thanks!