Commit 20f505f6 authored by oharboe's avatar oharboe
Browse files

halting srst_pulls_trst targets is now snappier and has explicit warning.

git-svn-id: svn://svn.berlios.de/openocd/trunk@889 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 18293612
......@@ -835,9 +835,21 @@ int arm7_9_deassert_reset(target_t *target)
if ((jtag_reset_config & RESET_SRST_PULLS_TRST)!=0)
{
LOG_WARNING("srst pulls trst - can not reset into halted mode. Issuing halt after reset.");
/* set up embedded ice registers again */
if ((retval=target->type->examine(target))!=ERROR_OK)
return retval;
if ((retval=target_poll(target))!=ERROR_OK)
{
return retval;
}
if ((retval=target_halt(target))!=ERROR_OK)
{
return retval;
}
}
return retval;
}
......
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