Here is a patch of suggested modification, no longer
take current reset_config state into account.
--
Øyvind Harboe
Embedded software and hardware consulting services
http://www.zylin.com
### Eclipse Workspace Patch 1.0
#P openocd
Index: src/jtag/tcl.c
===================================================================
--- src/jtag/tcl.c (revision 2491)
+++ src/jtag/tcl.c (working copy)
@@ -896,7 +896,7 @@
}
/* clear previous values of those bits, save new values */
- enum reset_types old_cfg = jtag_get_reset_config();
+ enum reset_types old_cfg = RESET_NONE;
old_cfg &= ~mask;
new_cfg |= old_cfg;
jtag_set_reset_config(new_cfg);
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development