On Apr 10, 2011, at 2:47 PM, Xiaofan Chen wrote:

> On Sun, Apr 10, 2011 at 7:24 PM, Damjan Marion <[email protected]> 
> wrote:
>> I'm trying to use j-link adapter with latest openocd code from git master
>> branch on STM32F103 device and it fails with usb_bulk_read failed.
>> On the same machine when I use original segger tools in vmware WinXP,
>> it works ok.
>> 
>> Any idea how to fix this?

<snip>

> 
> I do not have an STM32 target with me. But I just tried to use
> J-Link V3 and V7 under Windows 7 32bit and it works with
> the Olimex LPC-P2148 target (using libusb-win32 filter
> driver and the original Segger driver).
> 
> I've seen this before but I thought the issue has been solved
> long before.
> 
> What is the Linux distro you are using (assuming that you
> are using Linux). Are you using libusb-0.1 or libusb-1.0 plus
> libusb-compat-0.1? Debian/Ubuntu seem to use libusb-0.1
> and some other distros use libusb-1.0 plus libusb-compat-0.1.

It is Mac OS X. It is linked against:

  libusb @1.0.8_0 (active)
  libusb-compat @0.1.3_0 (active)


BTW Seems that my j-link died right now. It doesn't power up and I can see USB 
stall in dmesg.
Wonder if there is a way to reflash it.

Thanks,

Damjan


_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to