add writes to progbuf
This commit is contained in:
parent
f97e4b53e4
commit
e73d82e3d6
|
@ -2225,8 +2225,9 @@ int riscv013_test_compliance(struct target *target) {
|
||||||
riscv_reg_t value;
|
riscv_reg_t value;
|
||||||
|
|
||||||
LOG_INFO("Trying to write zeroes into Debug ROM");
|
LOG_INFO("Trying to write zeroes into Debug ROM");
|
||||||
uint8_t b[100] = {};
|
uint8_t b[256] = {};
|
||||||
write_memory(target, 0x800, 4, 24, b);
|
write_memory(target, 0x800, 4, 24, b);
|
||||||
|
write_memory(target, 0x280, 4, 40, b);
|
||||||
|
|
||||||
dmcontrol = set_field(dmcontrol_orig, hartsel_mask(target), RISCV_MAX_HARTS-1);
|
dmcontrol = set_field(dmcontrol_orig, hartsel_mask(target), RISCV_MAX_HARTS-1);
|
||||||
dmi_write(target, DMI_DMCONTROL, dmcontrol);
|
dmi_write(target, DMI_DMCONTROL, dmcontrol);
|
||||||
|
|
Loading…
Reference in New Issue