Hi,
I made an attempt to run OpenOCD under Linux to use
it for my STM32 Primer.
After downloading some packages (automake, libusbdev, etc.)
I successfully configured and compiled it:

I configured it with:
./configure --enable-ft2232_ftd2xx 
--with-ftd2xx-linux-tardir=/home/joerg/libftd2xx0.4.16 --enable-rlink


And runned it with:
openocd -f interface/rlink.cfg -f board/stm32f10x128k_eval.cfg

This is what I get:

Open On-Chip Debugger 1.0 (2009-01-11-00:18) svn:1312


BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS


$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
500 kHz
Error: usb_claim_interface: could not claim interface 0: Operation not 
permitted
Error: detach kernel driver: could not detach kernel driver from 
interface 0: Operation not permitted
Error: usb_claim_interface: could not claim interface 0: Operation not 
permitted
Error: detach kernel driver: could not detach kernel driver from 
interface 0: Operation not permitted
Error: usb_claim_interface: could not claim interface 0: Operation not 
permitted
Error: detach kernel driver: could not detach kernel driver from 
interface 0: Operation not permitted
Error: Initialisation failed.

lsusb gives me:
Bus 005 Device 008: ID 138e:9000 
Bus 005 Device 005: ID 0dda:6010 Integrated Circuit Solution, Inc.
Bus 005 Device 004: ID 0c4b:0100 Reiner SCT Kartensysteme GmbH cyberJack 
e-com/pinpad
Bus 005 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 005 Device 001: ID 0000:0000 
Bus 004 Device 001: ID 0000:0000 
Bus 003 Device 001: ID 0000:0000 
Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth 
Dongle (HCI mode)
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 001: ID 0000:0000

It must be 138e:9000 but I could swear there was a string with ST 
Microelectronics ....

Surely I forgot something stupid?




_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to