This is an automated email from Gerrit. Ed Beroset ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2573
-- gerrit commit 21628ebb2f0a2557c2c80e8f0cd5416c53def176 Author: Ed Beroset <[email protected]> Date: Tue Mar 3 15:01:38 2015 -0500 Fixed measure_clk to return kHz instead of MHz. Change-Id: Iba4c4961fe3973e7ccfa6dfa11d606a966ceb50c Signed-off-by: Ed Beroset <[email protected]> diff --git a/src/jtag/startup.tcl b/src/jtag/startup.tcl index 6f9c000..44292bb 100644 --- a/src/jtag/startup.tcl +++ b/src/jtag/startup.tcl @@ -81,8 +81,9 @@ proc srst_asserted {} { # measure actual JTAG clock proc measure_clk {} { set start_time [ms]; - runtest 10000000; - echo "Running at more than [expr 10000.0 / ([ms]-$start_time)] kHz"; + set iterations 10000000; + runtest $iterations; + echo "Running at more than [expr $iterations.0 / ([ms]-$start_time)] kHz"; } add_help_text measure_clk "Runs a test to measure the JTAG clk. Useful with RCLK / RTCK." -- ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
