bugAVR Downloader/UploaDEr - Bugs: bug #59525, Bogus error message because...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #59525: Bogus error message because Copy/Paste typo in stk500.c

Submitter:  None
Submitted:  Mon 23 Nov 2020 11:50:11 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  gerardoallende
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  SVN snapshot Programmer hardware:  arduino
Device type: 

Sun 27 Jun 2021 08:42:38 PM UTC, comment #1: 

fixed in r1453, thanks!

Joerg Wunsch <joerg_wunsch>
Group administrator
Mon 23 Nov 2020 11:50:11 PM UTC, original submission:  

Avrdude checks for Resp_STK_OK but on error says it was expecting for Resp_STK_INSYNC.

--- /trunk/avrdude/stk500.c
+++ /trunk/avrdude/stk500_fixed.c
@@ -1118,7 +1118,7 @@
   else if (buf[0] != Resp_STK_OK) {
     avrdude_message(MSG_INFO, "\n%s: stk500_getparm(): (a) protocol error, "
                     "expect=0x%02x, resp=0x%02x\n",
-                    progname, Resp_STK_INSYNC, buf[0]);
+                    progname, Resp_STK_OK, buf[0]);
     return -3;
   }

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-27 joerg_wunsch StatusNone Fixed
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code