Hi, The jtag_rclk command should fallback to a fixed frequency for interfaces without support for RCLK. This is not the present behavior when the command is called in the configuration stage (running board config files). The reason is that the interface can not be checked for RCLK support before it is initialized. The kHz to speed value calculation is also done before the interface is initialized. This will result in the wrong speed setting when the calculation is dependent on data initialized by the init function of the interface. Example: ft2232_max_tck for FT2232H and FT4232H based interfaces.
The attached patch contains an attempt to fix these issues by placing the config state speed setting after the initialization of the interface. Best regards Jonas Hörberg
rclk.patch
Description: Binary data
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development