Hi all,

The attached patch (part of Jeff Williams' work) improves the reset
functionality.  It appears to do no harm when combined with the speed
init and state reordering patches; it does not get us out of the woods.
Please apply.

Cheers,

Zach
Index: src/jtag/jlink.c
===================================================================
--- src/jtag/jlink.c	(revision 1504)
+++ src/jtag/jlink.c	(working copy)
@@ -463,6 +463,8 @@
 	if (srst == 0)
 	{
 		jlink_simple_command(EMU_CMD_HW_RESET1);
+		jlink_end_state(TAP_RESET);
+		jlink_state_move();
 	}
 	else if (srst == 1)
 	{
@@ -472,6 +474,8 @@
 	if (trst == 0)
 	{
 		jlink_simple_command(EMU_CMD_HW_TRST1);
+		jlink_end_state(TAP_RESET);
+		jlink_state_move();
 	}
 	else if (trst == 1)
 	{
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to