From: oharboe Date: Wed, 22 Apr 2009 10:59:23 +0000 (+0000) Subject: Zach Welch fix jlink reset X-Git-Tag: v0.2.0~996 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7395ca92d48becfe064e14b3ca0abbbb6bbf8fb5;p=openocd Zach Welch fix jlink reset git-svn-id: svn://svn.berlios.de/openocd/trunk@1507 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c index 9886c3b3..44a1ad6d 100644 --- a/src/jtag/jlink.c +++ b/src/jtag/jlink.c @@ -463,6 +463,8 @@ static void jlink_reset(int trst, int srst) 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 @@ static void jlink_reset(int trst, int srst) if (trst == 0) { jlink_simple_command(EMU_CMD_HW_TRST1); + jlink_end_state(TAP_RESET); + jlink_state_move(); } else if (trst == 1) {