I have committed all but 01_openocd_beagle.patch to hopefully get things
moving along....
01_openocd_beagle.patch is problematic because it modifies the behavior
for *all* targets.
Thoughts?
--
Øyvind Harboe
Embedded software and hardware consulting services
http://www.zylin.com
Appended is the TCK patch I'm using. Without it ... nothing
detected on Beagle, even after resetting. With it ... nothing detected
on "openocd" startup, but after "reset" command it came up with the
expected JTAG id.
I don't consider this patch worth merging. What merges should work
right from server startup.
- Dave
---
src/jtag/core.c | 4 ++++
1 file changed, 4 insertions(+)
Index: trunk_2604/src/jtag/core.c
===================================================================
--- trunk_2604.orig/src/jtag/core.c
+++ trunk_2604/src/jtag/core.c
@@ -469,6 +469,10 @@ void jtag_add_tlr(void)
{
jtag_prelude(TAP_RESET);
jtag_set_error(interface_jtag_add_tlr());
+ /* Add a bunch of clocks after TLR entry to be sure ICEpick
+ * power domain switches on.
+ */
+ jtag_set_error(interface_jtag_add_runtest(100, TAP_RESET));
jtag_call_event_callbacks(JTAG_TRST_ASSERTED);
}
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development