projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1c7474
)
arm-jtag-ew: In armjtagew_init(), set initial JTAG speed to 32 kHz (before TAP initia...
author
Simon Barner
<barner@gmx.de>
Fri, 16 Sep 2011 19:13:39 +0000
(21:13 +0200)
committer
Andreas Fritiofson
<andreas.fritiofson@gmail.com>
Sat, 8 Oct 2011 21:09:42 +0000
(23:09 +0200)
This prevents rare communication errors during startup.
src/jtag/drivers/arm-jtag-ew.c
patch
|
blob
|
history
diff --git
a/src/jtag/drivers/arm-jtag-ew.c
b/src/jtag/drivers/arm-jtag-ew.c
index 7712a9e2009e31795c3d15b034fa5432a72ccabe..d42756c45b4f84d2f95061ec05007602a231aa1b 100644
(file)
--- 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);