From 028d9aa9ed5cc7fad3ce98e4da97e14d4a16f8f1 Mon Sep 17 00:00:00 2001 From: Simon Barner Date: Fri, 16 Sep 2011 21:13:39 +0200 Subject: [PATCH] arm-jtag-ew: In armjtagew_init(), set initial JTAG speed to 32 kHz (before TAP initialization). This prevents rare communication errors during startup. --- src/jtag/drivers/arm-jtag-ew.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jtag/drivers/arm-jtag-ew.c b/src/jtag/drivers/arm-jtag-ew.c index 7712a9e2..d42756c4 100644 --- a/src/jtag/drivers/arm-jtag-ew.c +++ b/src/jtag/drivers/arm-jtag-ew.c @@ -256,6 +256,9 @@ static int armjtagew_init(void) LOG_INFO("ARM-JTAG-EW initial read failed, don't worry"); } + // Initial JTAG speed (for reset and initialization): 32 kHz + armjtagew_speed(32); + LOG_INFO("ARM-JTAG-EW JTAG Interface ready"); armjtagew_reset(0, 0); -- 2.39.5