summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jtag/jtag.c8
-rw-r--r--src/target/target/wi-9c.cfg5
2 files changed, 12 insertions, 1 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c
index d093ee26..6a84db40 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -2019,7 +2019,13 @@ int handle_jtag_khz_command(struct command_context_s *cmd_ctx, char *cmd, char *
return retval;
}
- command_print(cmd_ctx, "jtag_khz: %d", speed_khz);
+ if (speed_khz==0)
+ {
+ command_print(cmd_ctx, "RCLK - adaptive");
+ } else
+ {
+ command_print(cmd_ctx, "%d kHz", speed_khz);
+ }
return retval;
}
diff --git a/src/target/target/wi-9c.cfg b/src/target/target/wi-9c.cfg
index 58c8fabd..a966f54c 100644
--- a/src/target/target/wi-9c.cfg
+++ b/src/target/target/wi-9c.cfg
@@ -4,12 +4,17 @@
reset_config trst_and_srst
+# What's a good fallback frequency for this board if RCLK is
+# not available??
+jtag_rclk 1000
+
#jtag_device <IR length> <IR capture> <IR mask> <IDCODE instruction>
jtag_device 4 0x1 0xf 0xe
jtag_nsrst_delay 200
jtag_ntrst_delay 0
+
######################
# Target configuration
######################