From d40fd9e0f42c32d180a580962d76d55e73be8232 Mon Sep 17 00:00:00 2001 From: ntfreak Date: Thu, 6 Aug 2009 23:34:34 +0000 Subject: Gary Carlson [gcarlson@carlson-minot.com]: - revert patch from rev1507 as it was causing reset issues with arm9 cores git-svn-id: svn://svn.berlios.de/openocd/trunk@2574 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/jtag/jlink.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c index d8bfb0f3..1ec73b2d 100644 --- a/src/jtag/jlink.c +++ b/src/jtag/jlink.c @@ -499,12 +499,10 @@ static void jlink_reset(int trst, int srst) { jlink_simple_command(EMU_CMD_HW_TRST0); } + if (trst == 0) { jlink_simple_command(EMU_CMD_HW_TRST1); - jtag_sleep(5000); - jlink_end_state(TAP_RESET); - jlink_state_move(); } } -- cgit v1.2.3