Skip to content
Snippets Groups Projects
Commit 0ca47346 authored by Øyvind Harboe's avatar Øyvind Harboe
Browse files

Propagate wDTR/rDTR failure immediately, otherwise it's followed up by timeout errors.

parent 165e3a14
Branches
No related tags found
No related merge requests found
...@@ -610,6 +610,7 @@ int arm11_leave_debug_state(arm11_common_t * arm11) ...@@ -610,6 +610,7 @@ int arm11_leave_debug_state(arm11_common_t * arm11)
if (DSCR & (ARM11_DSCR_RDTR_FULL | ARM11_DSCR_WDTR_FULL)) if (DSCR & (ARM11_DSCR_RDTR_FULL | ARM11_DSCR_WDTR_FULL))
{ {
LOG_ERROR("wDTR/rDTR inconsistent (DSCR %08" PRIx32 ")", DSCR); LOG_ERROR("wDTR/rDTR inconsistent (DSCR %08" PRIx32 ")", DSCR);
return ERROR_FAIL;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment