From: Simon Barner Date: Fri, 16 Sep 2011 19:13:39 +0000 (+0200) Subject: arm-jtag-ew: In armjtagew_init(), set initial JTAG speed to 32 kHz (before TAP initia... X-Git-Tag: v0.6.0-rc1~557 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=028d9aa9ed5cc7fad3ce98e4da97e14d4a16f8f1;p=openocd arm-jtag-ew: In armjtagew_init(), set initial JTAG speed to 32 kHz (before TAP initialization). This prevents rare communication errors during startup. --- 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);