Update version check error message from 0.14 to 1.0. (#588)
This commit is contained in:
parent
ca49f403ef
commit
28724d996a
|
@ -695,7 +695,7 @@ int dmstatus_read_timeout(struct target *target, uint32_t *dmstatus,
|
||||||
return result;
|
return result;
|
||||||
int dmstatus_version = get_field(*dmstatus, DM_DMSTATUS_VERSION);
|
int dmstatus_version = get_field(*dmstatus, DM_DMSTATUS_VERSION);
|
||||||
if (dmstatus_version != 2 && dmstatus_version != 3) {
|
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 "
|
"%d (dmstatus=0x%x). This error might be caused by a JTAG "
|
||||||
"signal issue. Try reducing the JTAG clock speed.",
|
"signal issue. Try reducing the JTAG clock speed.",
|
||||||
get_field(*dmstatus, DM_DMSTATUS_VERSION), *dmstatus);
|
get_field(*dmstatus, DM_DMSTATUS_VERSION), *dmstatus);
|
||||||
|
|
Loading…
Reference in New Issue