Re: [Openocd-development] FT2232H based dongle with adaptive clocking support

2009-06-07 Thread Ben Dooks
On Sun, Jun 07, 2009 at 12:49:49AM +0200, Patrick Wieland wrote: > This is my first posting to this mailing list, so I friendly say 'hello' to > everyone :-) > I am working on a OpenOCD dongle based on the FT2232H. I want to support > adaptive clocking, but I don't know how to accomplish this tas

Re: [Openocd-development] FT2232H based dongle with adaptive clocking support

2009-06-07 Thread Joern Kaipf
Patrick Wieland wrote: >> The ftdi-2232-H monitors the RTCK signal on GPIOL4 If you find this pin, its okay. On design I use GPIOL3 ;) The PCB of the OOCDLink with RTCK support is laying in front of me, but I ran out of FT2232Hs to assemble it, so I have to wait until I get the ic from the dis

Re: [Openocd-development] FT2232H based dongle with adaptive clocking support

2009-06-06 Thread Patrick Wieland
On Sunday 07 June 2009 04:05:53 Duane Ellis wrote: > I think you are *buried* in the details. That is obviously true.. but you really helped to make things more clear. > This is handled *automagically* by the FT2232H > chip, you only need to enable it. > > The ftdi-2232-H monitors the RTCK signal

Re: [Openocd-development] FT2232H based dongle with adaptive clocking support

2009-06-06 Thread Duane Ellis
Patrick Wieland wrote: > So the JTAG-debugger needs an input pin attached to RTCK. OpenOCD has to > monitor the state of this pin an wait for a falling edge. When this has been > detected, OpenOCD can generate the next clock tick, resp. rising edge on > TCK.. > right? Is this that what the Amon

Re: [Openocd-development] FT2232H based dongle with adaptive clocking support

2009-06-06 Thread Patrick Wieland
On Sunday 07 June 2009 01:51:21 Duane Ellis wrote: > In the ARM diagram, Look at the TCK synchronizer and the RTCK signal to > the TAP in the block diagram on the ARM site. So the JTAG-debugger needs an input pin attached to RTCK. OpenOCD has to monitor the state of this pin an wait for a falling

Re: [Openocd-development] FT2232H based dongle with adaptive clocking support

2009-06-06 Thread Patrick Wieland
On Sunday 07 June 2009 01:51:21 Duane Ellis wrote: > Patrick Wieland wrote: > >> (I added some ultra high speed level shifters > > FYI - the XVERVE -signalyzer has this "built in", as does many of the > SEGGER dongles, do check, you can screw up a target board easily enough. > > http://www.sig

Re: [Openocd-development] FT2232H based dongle with adaptive clocking support

2009-06-06 Thread Patrick Wieland
Thank you Duane for your super fast reply! My dongle is pin compatible to openocd by now (I just added high speed level shifters to support targets from 1.2V to 3.3V with TCK speed greater than 30MHz). You said I'd have to set jtag clock speed to zero to enable adaptive clocking, ok, but as I am

Re: [Openocd-development] FT2232H based dongle with adaptive clocking support

2009-06-06 Thread Duane Ellis
Patrick Wieland wrote: >> (I added some ultra high speed level shifters FYI - the XVERVE -signalyzer has this "built in", as does many of the SEGGER dongles, do check, you can screw up a target board easily enough. http://www.signalyzer.com/ Warning: the signalyzer *LITE* version - is 3.3

Re: [Openocd-development] FT2232H based dongle with adaptive clocking support

2009-06-06 Thread Patrick Wieland
On Sunday 07 June 2009 01:07:29 Duane Ellis wrote: > Patrick Wieland wrote: > > I am working on a OpenOCD dongle based on the FT2232H. I want to support > > The "FT2232H" is already supported :-) > > See the configure option: > --enable-ftd2xx-highspeed > Enable building

Re: [Openocd-development] FT2232H based dongle with adaptive clocking support

2009-06-06 Thread Duane Ellis
Patrick Wieland wrote: > I am working on a OpenOCD dongle based on the FT2232H. I want to support > The "FT2232H" is already supported :-) See the configure option: --enable-ftd2xx-highspeed Enable building support for FT2232H and FT4232H-

[Openocd-development] FT2232H based dongle with adaptive clocking support

2009-06-06 Thread Patrick Wieland
This is my first posting to this mailing list, so I friendly say 'hello' to everyone :-) I am working on a OpenOCD dongle based on the FT2232H. I want to support adaptive clocking, but I don't know how to accomplish this task. AFAIK there are no FT2232 based designs with this feature available.