There is already profile for ARM-USB-OCD in CrossWorks but if you want to use it as "Generic FTD2232" target interface you have to do as follows:
- Right click on a blank space in the targets window and select "New Target Interface > Generic FT2232 Device".
- Right click on the new target interface and select "Properties" - set the following properties:
Connected LED Inversion Mask 0x0000
Connected LED Mask = 0x0800
nSRST Inversion Mask = 0x0200
nSRST Mask = 0x0200
nTRST Inversion Mask = 0x0000
nTRST Mask = 0x0100
Output Pins = 0x0F1B
Output Value = 0x0D08
Running LED Inversion Mask = 0x0000
Running LED Mask = 0x0800
It is recommended to use LibUSB drivers instead of FTDI
In CrossWorks 1.7 there are Target interfaces for Olimex JTAGs, note that RTCK is not used with a FT2232 design so your JTAG clock should not exceed 1/6 of your target MCU clock or the JTAG will lock up, start with JTAG divider 10 and decrease until you are able to debug to find your own value for your target.