From 28724d996a9b68e490f6bd90b5537c71631c753d Mon Sep 17 00:00:00 2001 From: Ernie Edgar <43148441+ernie-sifive@users.noreply.github.com> Date: Fri, 2 Apr 2021 12:51:01 -0600 Subject: [PATCH] Update version check error message from 0.14 to 1.0. (#588) --- src/target/riscv/riscv-013.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 3fa9fffcc..0c1c04952 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -695,7 +695,7 @@ int dmstatus_read_timeout(struct target *target, uint32_t *dmstatus, return result; int dmstatus_version = get_field(*dmstatus, DM_DMSTATUS_VERSION); if (dmstatus_version != 2 && dmstatus_version != 3) { - LOG_ERROR("OpenOCD only supports Debug Module version 2 (0.13) and 3 (0.14), not " + LOG_ERROR("OpenOCD only supports Debug Module version 2 (0.13) and 3 (1.0), not " "%d (dmstatus=0x%x). This error might be caused by a JTAG " "signal issue. Try reducing the JTAG clock speed.", get_field(*dmstatus, DM_DMSTATUS_VERSION), *dmstatus);