Tell user how to increase timeout.

macbuild
Tim Newsome 2017-09-11 12:11:24 -07:00
parent a6ec1a0e68
commit f9b2549e20
1 changed files with 5 additions and 3 deletions

View File

@ -2047,9 +2047,11 @@ void riscv013_clear_abstract_error(struct target *target)
abstractcs = dmi_read(target, DMI_ABSTRACTCS); abstractcs = dmi_read(target, DMI_ABSTRACTCS);
if (time(NULL) - start > riscv_command_timeout_sec) { if (time(NULL) - start > riscv_command_timeout_sec) {
LOG_ERROR("abstractcs.busy is not going low after %d seconds. " LOG_ERROR("abstractcs.busy is not going low after %d seconds "
"The target is either really slow, or broken. " "(abstractcs=0x%x). The target is either really slow or "
"abstractcs=0x%x", riscv_command_timeout_sec, abstractcs); "broken. You could increase the timeout with riscv "
"set_reset_timeout_sec.",
riscv_command_timeout_sec, abstractcs);
break; break;
} }
} }