We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6708282 + 4523111 commit c3f1566Copy full SHA for c3f1566
src/target/riscv/riscv-013.c
@@ -1956,6 +1956,11 @@ static int examine(struct target *target)
1956
return ERROR_FAIL;
1957
}
1958
1959
+ if (info->abits == 0) {
1960
+ LOG_TARGET_ERROR(target,
1961
+ "dtmcs.abits is zero. Check JTAG connectivity/board power");
1962
+ return ERROR_FAIL;
1963
+ }
1964
if (info->abits < RISCV013_DTMCS_ABITS_MIN) {
1965
/* The requirement for minimum DMI address width of 7 bits is part of
1966
* the RISC-V Debug spec since Jan-20-2017 (commit 03df6ee7). However,
0 commit comments