> Debug: 165 52 stlink_usb.c:1068 stlink_usb_open(): transport: 1 vid: 0483 
> pid: 3744
> Debug: 166 53 stlink_usb.c:1078 stlink_usb_open(): claim interface failed
> Debug: 167 53 stlink_layout.c:50 stlink_layout_open(): failed
> Debug: 168 53 command.c:630 run_command(): Command failed with error code -4
> User : 169 54 command.c:668 command_run_line(): in procedure 'transport'
> Debug: 170 54 command.c:630 run_command(): Command failed with error code -4
> User : 171 54 command.c:668 command_run_line(): in procedure 'init'
> Debug: 172 54 stlink_interface.c:100 stlink_interface_quit(): 
> stlink_interface_quit
> dos@DoS-Aspire-7740:/mount/10.10/dos/INF/Projects/ARM/openocd6/openocd/tcl$


Please reconnect you hardware and check the log messages from the dmesg command:

usb 1-1.1: USB disconnect, device number 50
usb 1-1.1: new full speed USB device number 53 using ehci_hcd
usb 1-1.1: New USB device found, idVendor=0483, idProduct=3744
usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.1: Product: STM32 STLink
usb 1-1.1: Manufacturer: STMicroelectronics
usb 1-1.1: SerialNumber: 7
usb-storage 1-1.1:1.0: device ignored

The last line is very important. Anyway i think there is no problem if you send 
your log messages to
this list.


Regards,

Mathias

On 09.03.2012 19:46, Jacek Drewniak wrote:
> Hi everyone,
> 
> I have some problem with openocd and stlink under linux. I have tried solve 
> it with forum, but noone
> could help my beacouse there are not a lot linux users.
> 
> I know that this kind of problem was under windows and depends of drivers.
> 
> Ok, there is a problem:
> 
> I cant connect openocd with my stlinkv1. I'm using openocd 0.6 from git 
> ripository. I added udev
> rules I found in contrib dir, but this is only i get:
> 
> http://snipt.org/uffQ1#expand  <http://snipt.org/uffQ1#expand>
> I added a target line to stm32f1x_stlink.cfg:
> http://snipt.org/uffR5#expand
> 
> I need tu run it with gdb to start my jurney with ARM.
> 
> Thanks for any help.
> 
> Regards
> 
> Jacek Drewniak 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> 
> 
> 
> _______________________________________________
> OpenOCD-devel mailing list
> OpenOCD-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openocd-devel


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to