OpenOCD and building on windows

http://www.flickr.com/photos/wannabefren/3860158811/

http://www.flickr.com/photos/wannabefren/3860158817/

http://www.flickr.com/photos/wannabefren/3860173321/

Above is the 3 pic i have uploaded. It’s the board and Jtag device that i am working on to detect the board.

This Jtag device is the USB_Jtag version that i am working on, not the olimex or amotec type device. Being trying hard to solve the problem, hoping anyone out there could advice. Since the FTDI chip i am using is a dual channel, i have edited the CDM FTDI to manually installed one channel and use the libusb-win32 to install another channel. Vid and Pid are both 0x0403 and 0x6010.

Am i right doing the above steps? OOCD link type, is it advised?

This is the ftdibus.inf i have added in to manually install

[FtdiHw]

%USB\VID_0403&PID_6010&MI_00.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_6010&MI_00

%USB\VID_0403&PID_6010&MI_01.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_6010&MI_01

[FtdiHw.NTamd64]

%USB\VID_0403&PID_6010&MI_00.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_6010&MI_00

%USB\VID_0403&PID_6010&MI_01.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_6010&MI_01

[Strings]

Ftdi=“FTDI”

DESC=“CDM Driver Package”

DriversDisk=“FTDI USB Drivers Disk”

USB\VID_0403&PID_6010&MI_00.DeviceDesc=“OOCDLINK USB Serial Converter A”

USB\VID_0403&PID_6010&MI_01.DeviceDesc=“OOCDLINK USB Serial Converter B”

SvcDesc=“USB Serial Converter Driver”

ClassName=“USB”

ftdiport.inf

[FtdiHw]

%VID_0403&PID_6010.DeviceDesc%=FtdiPort2232.NT,FTDIBUS\COMPORT&VID_0403&PID_6010

[FtdiHw.NTamd64]

%VID_0403&PID_6010.DeviceDesc%=FtdiPort2232.NTamd64,FTDIBUS\COMPORT&VID_0403&PID_6010

[Strings]

FTDI=“FTDI”

DESC=“CDM Driver Package”

DriversDisk=“FTDI USB Drivers Disk”

PortsClassName = “Ports (COM & LPT)”

VID_0403&PID_6010.DeviceDesc=“USB Serial Port”

SvcDesc=“USB Serial Port Driver”

SerEnum.SvcDesc=“Serenum Filter Driver”

for libusb-win32.inf

[Devices]

“Channel B”=LIBUSB_DEV, USB\VID_0403&PID_6010&MI_01

[Devices.NT]

“Channel B”=LIBUSB_DEV, USB\VID_0403&PID_6010&MI_01

I have added on channel B of the Jtag to libusb and Channel A to FTDI CDM. Still i cant get the device found. Trying to work on window platform instead of Linux environment.

I have seen alot of forum using cygwin and i am using yargato GNU arm, will it work out to be fine?

Sorry to trouble you all, and thx for advice too from chopin and dougm84

in FT2232C, -D and -L only Channel A can be used for JTAG.

Since you have no serial port device, use only the libusb-win32 drivers - those should have entries for both channels (MI_00 and MI_01)

cygwin or yagarto have nothing to say here, as OpenOCD uses neither. Cygwin is a unix environment for windows, yagarto is a compiler toolchain.

4/3!!