I think you are confusing the notion of Interface, Layout and Channel.

The Layout defines how a Channel is used.

The FT2232 C D and FT2232 H provides two Channels, each Channel can be 
opened separately and can receive their own handle (ID).

The selection of the Channel A or Channel B MUST not be defined in the 
layout structure-> you could use the same layout on channel A and B.
Amontec is working on an new Amontec JTAG key using two JTAG interfaces, 
one JTAG interface on Channel A and one JTAG interface on Channel B for 
an internal FPGA configuration!

For the selection of Channel A or Channel B, you have to modify your 
specific Open /. Init functions and NOT the layout definition ;-)
Modifying the Layout definition for Channel selection will make a lot of 
confusions !

Regards,
Laurent Gauch
http://www.amontec.com

 HOT news !

Amontec released new Certified USB Driver for Amontec JTAG key dongles.
Download Amontec JTAG key USB drivers from
http://www.amontec.com/download/amontec-jtagkey-driver-d2xx-20091124.zip
This new JTAG key USB driver is signed by Microsoft Windows WHQL and is 
for :
  Microsoft Windows 2000
  Microsoft Windows XP 32 bits - 64 bits
  Microsoft Windows Server 2003 32 bits - 64bits
  Microsoft Windows Vista 32 bits - 64 bits
  Microsoft Windows 7 32 bits - 64 bits
  Microsoft Windows Server 2008 32 bits - 64 bits

This Driver package is for all Amontec JTAG key dongles
see http://www.amontec.com/jtagkey.shtml
Amontec JTAG key 2nd generation :
USB hi-speed 30Mhz JTAG RTCK 1.4V to 5.5V auto-sense
   Amontec JTAGkey-2P
   Amontec JTAGkey-2
Amontec JTAG key 1st generation :
USB full-speed 6Mhz JTAG no RTCK 1.4V to 5.5V auto-sense
   Amontec JTAGkey (-Tiny 3.3V only)

> Also add the redbee-usb board which is the same as the econotag but
> used INTERFACE_B.
> ---
>  src/jtag/drivers/ft2232.c |   48 +++++++++++++++++++++++---------------------
>  tcl/board/redbee-usb.cfg  |    5 ++++
>  2 files changed, 30 insertions(+), 23 deletions(-)
>  create mode 100644 tcl/board/redbee-usb.cfg
>
> diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c
> index 2d7d415..f608e02 100644
> --- a/src/jtag/drivers/ft2232.c
> +++ b/src/jtag/drivers/ft2232.c
> @@ -145,6 +145,7 @@ struct ft2232_layout {
>       int (*init)(void);
>       void (*reset)(int trst, int srst);
>       void (*blink)(void);
> +     int interface;
>  };
>  
>  /* init procedures for supported layouts */
> @@ -186,26 +187,27 @@ static void ktlink_blink(void);
>  
>  static const struct ft2232_layout  ft2232_layouts[] =
>  {
> -     { "usbjtag",              usbjtag_init,              usbjtag_reset,     
>  NULL                    },
> -     { "jtagkey",              jtagkey_init,              jtagkey_reset,     
>  NULL                    },
> -     { "jtagkey_prototype_v1", jtagkey_init,              jtagkey_reset,     
>  NULL                    },
>   
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to