Olimex Support Forum

ARM => JTAG => Topic started by: mikl on August 18, 2015, 03:56:09 PM

Title: Arm-usb-tiny swd windows 8.1 x64 and probably nrf51 problems
Post by: mikl on August 18, 2015, 03:56:09 PM
Hi!
I have Arm-usb-tiny and arm-jtag-swd. I need to debug/flash nrf51822 chip using SWD. I'm using openocd 0.9.0, windows 8.1 x64. I tried WinUsb driver from zadig. SWD did not work. I tried different d2xx drivers and ftdi profile and I received LIBUSB_ERROR_NOT_FOUND. So which drivers do I need to use with openocd 0.9.0 and SWD?

Thanks
Title: Re: Arm-usb-tiny swd windows 8.1 x64 and probably nrf51 problems
Post by: JohnS on August 18, 2015, 05:24:38 PM
Stay away from d2 stuff and only use recent ftdi (if any), not older ft stuff.

Other than that, if no luck post details on oocd ML.

John
Title: Re: Arm-usb-tiny swd windows 8.1 x64 and probably nrf51 problems
Post by: mikl on August 18, 2015, 05:58:32 PM
Quote from: JohnS on August 18, 2015, 05:24:38 PM
Stay away from d2 stuff and only use recent ftdi (if any), not older ft stuff.

So do I need to use VCP driver from FTDI?
Title: Re: Arm-usb-tiny swd windows 8.1 x64 and probably nrf51 problems
Post by: JohnS on August 18, 2015, 09:24:38 PM
I don't think so.

oocd goes via USB packets.  You "just" have to keep Windoze out of the way (I'm on Linux, much simpler).

John
Title: Re: Arm-usb-tiny swd windows 8.1 x64 and probably nrf51 problems
Post by: mikl on August 19, 2015, 11:06:47 AM
The problem is solved. I used Zadig WinUsb drivers and ftdi driver in openocd. The problem was in lenovo 3g modem (ericson f3507g) that conflicts with libusb. The same problems I had with st-link v2. I'v just disabled modem in device manager. That's a dirty workaround, I don't know what to do if I need 3g internet the same time.