Olimex Support Forum

ARM => JTAG => Topic started by: edmob on December 11, 2013, 04:54:45 AM

Title: ARM-USB-OCD-H driver install on Win XP 32-bit
Post by: edmob on December 11, 2013, 04:54:45 AM
Hello,
anyone know how to install FTDI driver for ARM-USB-OCD-H on windows XP?

I'm trying to install FTDI drivers for ARM-USB-OCD-H on a Windows XP host

I'm getting the FTDI driver from
https://www.olimex.com/Products/ARM/JTAG/_resources/OpenOCD_OnlinePackage_v1.1.zip
(path OpenOCD_OnlinePackage_v1.1\DRIVERS\CDM20808 in the zip file)

I've installed the same driver on a windows 7 host and is working:
a.   "Update driver"
b.   "Browse my computer for driver"
c.   "Let me pick from a list of device"
d.   "show all devices"
e.   (select the path to FTDI driver)
f.   (select "USB Serial Converter B" to install)
g.   "installing the driver is not recommended because..." -> click "Yes"
h.   Driver installed

but on Windows XP I'm stuck at step (e). When I select the folder that contains driver, the system only tells me
"The specified location does not contain information about your hardware."

Note: this only happens when I want to install driver for channel A ("Olimex OpenOCD JTAG ARM-USB-OCD-H A"). otherwise Windows XP can find the driver and install it for channel B ("Olimex OpenOCD JTAG ARM-USB-OCD-H B")
Title: Re: ARM-USB-OCD-H driver install on Win XP 32-bit
Post by: LubOlimex on December 11, 2013, 02:59:43 PM
Hi edmob,

Can you specify if you trying to install the LibUSB drivers (OpenOCD) or FTDI drivers (Crossworks, CooCox IDE), e.g. which IDE/tools you are working with?

Best regards,
Lub/OLIMEX
Title: Re: ARM-USB-OCD-H driver install on Win XP 32-bit
Post by: edmob on December 11, 2013, 08:30:18 PM
Hello Lub
I'm trying to install FTDI drivers.
I'm going to use the device with my own program, which talks to FTDI APIs.
Title: Re: ARM-USB-OCD-H driver install on Win XP 32-bit
Post by: LubOlimex on December 12, 2013, 10:13:50 AM
Hi again,

Then please try with these drivers: https://www.olimex.com/Products/ARM/JTAG/_resources/driver-ftd2xx.zip (https://www.olimex.com/Products/ARM/JTAG/_resources/driver-ftd2xx.zip)

Let me know if they do the job.

Best regards,
Lub/OLIMEX
Title: Re: ARM-USB-OCD-H driver install on Win XP 32-bit
Post by: kahlenberg on March 08, 2014, 01:13:19 PM
Hi,
I have similar problem. I have installed FTDI drivers (driver-ftd2xx) for Olimex ARM-USB-TINY on Win7 (32-bit) and it shows "USB Serial Converter A" and "USB Serial Converter B" in the device manager. However I can not connect to interface. If I run openOCD from command line, it cannot find the jtag adapter (Error: unable to open ftdi device: device not found in procedure 'init'). I am running it with the following command:


C:\STM32_development\openocd-0.7.0\bin>openocd-0.7.0.exe -f ..\scripts\interface\olimex-jtag-tiny.cfg -f ..\scripts\board\olimex_stm32_h103.cfg


And the content of the config file olimex-jtag-tiny.cfg is:


interface ft2232
ft2232_device_desc "Olimex OpenOCD JTAG TINY"
ft2232_layout olimex-jtag
ft2232_vid_pid 0x15ba 0x0004


I checked the VID and PID, they are correct but the device description (ft2232_device_desc "Olimex OpenOCD JTAG TINY") is not correct, my device manager shows it as "USB Serial Converter A" and ".. B" which don't match. I changed ft2232_device_desc line to "USB Serial Converter A" and later "..B" but it is not working. It is still not finding the ftdi device.

What can I do? Exactly which driver shall I use?

Thanks.
Title: Re: ARM-USB-OCD-H driver install on Win XP 32-bit
Post by: JohnS on March 08, 2014, 06:16:41 PM
Try the ftdi version (from the ftdi folder)

It avoids the old buggy ft2232 stuff.

(In the source code it's in tcl/interface/ftdi/olimex-jtag-tiny.cfg on Linux)

John