On 26/04/2011 23.08, Øyvind Harboe wrote:
The problem is that the ft2232_init() fn will invoke
jtag_xxx() fn's.

However, until ft2232_init() returns, the interface is
not set up and that part of the API is not "open for business",
causing strange effects.

ft2232_init() sets up a "default speed". We have been talking
about making JTAG speed something that the user *has to*
set up for JTAG chain validation to work and do away with the
entire concept of a "default speed".

Perhaps make 100kHz the default speed(invoked
after interface init is completed) and delete code
from driver _init() code to try to set up JTAG speed?

--
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer


Hi Øyvind,
thanks for the explanation.
So, what is the suggested usage? Maybe using jtag_khz or adapter_khz in configuration files?
regards
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to