Turn off autoexec after read_memory()
parent
98420e377a
commit
5f9cc2ce5f
|
@ -1888,6 +1888,7 @@ static int read_memory(struct target *target, uint32_t address,
|
||||||
return ERROR_FAIL;
|
return ERROR_FAIL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
dmi_write(target, DMI_ABSTRACTAUTO, 0);
|
||||||
dmi_write(target, DMI_ABSTRACTCS, DMI_ABSTRACTCS_CMDERR);
|
dmi_write(target, DMI_ABSTRACTCS, DMI_ABSTRACTCS_CMDERR);
|
||||||
abstractcs = dmi_read(target, DMI_ABSTRACTCS);
|
abstractcs = dmi_read(target, DMI_ABSTRACTCS);
|
||||||
if (get_field(abstractcs, DMI_ABSTRACTCS_CMDERR)) {
|
if (get_field(abstractcs, DMI_ABSTRACTCS_CMDERR)) {
|
||||||
|
|
Loading…
Reference in New Issue