diff --git a/src/jtag3.c b/src/jtag3.c index 047efdee..d61f2417 100644 --- a/src/jtag3.c +++ b/src/jtag3.c @@ -2326,9 +2326,8 @@ static int jtag3_set_vtarget(PROGRAMMER * pgm, double v) utarg = (unsigned)(v * 1000); if (jtag3_getparm(pgm, SCOPE_GENERAL, 1, PARM3_VTARGET, buf, 2) < 0) { - avrdude_message(MSG_INFO, "%s: jtag3_set_vtarget(): cannot obtain V[aref]\n", + avrdude_message(MSG_INFO, "%s: jtag3_set_vtarget(): cannot obtain V[target]\n", progname); - return -1; } uaref = b2_to_u16(buf); @@ -2337,8 +2336,11 @@ static int jtag3_set_vtarget(PROGRAMMER * pgm, double v) avrdude_message(MSG_INFO, "%s: jtag3_set_vtarget(): changing V[target] from %.1f to %.1f\n", progname, uaref / 1000.0, v); - if (jtag3_setparm(pgm, SCOPE_GENERAL, 1, PARM3_VADJUST, buf, sizeof(buf)) < 0) + if (jtag3_setparm(pgm, SCOPE_GENERAL, 1, PARM3_VADJUST, buf, sizeof(buf)) < 0) { + avrdude_message(MSG_INFO, "%s: jtag3_set_vtarget(): cannot confirm new V[target] value\n", + progname); return -1; + } return 0; } diff --git a/src/term.c b/src/term.c index 5c91931c..d3d835cc 100644 --- a/src/term.c +++ b/src/term.c @@ -97,8 +97,8 @@ struct command cmd[] = { { "sig", cmd_sig, "display device signature bytes" }, { "part", cmd_part, "display the current part information" }, { "send", cmd_send, "send a raw command : %s " }, - { "parms", cmd_parms, "display adjustable parameters (STK500 only)" }, - { "vtarg", cmd_vtarg, "set (STK500 only)" }, + { "parms", cmd_parms, "display adjustable parameters (STK500 and Curiosity Nano only)" }, + { "vtarg", cmd_vtarg, "set (STK500 and Curiosity Nano only)" }, { "varef", cmd_varef, "set (STK500 only)" }, { "fosc", cmd_fosc, "set (STK500 only)" }, { "sck", cmd_sck, "set (STK500 only)" },