Commit 7395ca92 authored by oharboe's avatar oharboe
Browse files

Zach Welch <zw@superlucidity.net> fix jlink reset

git-svn-id: svn://svn.berlios.de/openocd/trunk@1507 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent efa79144
...@@ -463,6 +463,8 @@ static void jlink_reset(int trst, int srst) ...@@ -463,6 +463,8 @@ static void jlink_reset(int trst, int srst)
if (srst == 0) if (srst == 0)
{ {
jlink_simple_command(EMU_CMD_HW_RESET1); jlink_simple_command(EMU_CMD_HW_RESET1);
jlink_end_state(TAP_RESET);
jlink_state_move();
} }
else if (srst == 1) else if (srst == 1)
{ {
...@@ -472,6 +474,8 @@ static void jlink_reset(int trst, int srst) ...@@ -472,6 +474,8 @@ static void jlink_reset(int trst, int srst)
if (trst == 0) if (trst == 0)
{ {
jlink_simple_command(EMU_CMD_HW_TRST1); jlink_simple_command(EMU_CMD_HW_TRST1);
jlink_end_state(TAP_RESET);
jlink_state_move();
} }
else if (trst == 1) else if (trst == 1)
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment