bugAVR Downloader/UploaDEr - Bugs: bug #19644, Avrdude >= 5.2 does not work...

 
 

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

bug #19644: Avrdude >= 5.2 does not work with STK500v1

Submitter:  None
Submitted:  Fri 20 Apr 2007 05:15:06 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  Davor Ocelic
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  None Programmer hardware: 
Device type: 

Fri 20 Apr 2007 07:54:09 PM UTC, comment #1: 

Duplicate for bug #19570.

Please use the -u option for the time being.

Joerg Wunsch <joerg_wunsch>
Group administrator
Fri 20 Apr 2007 05:15:06 PM UTC, original submission:  


Folks,

In Avrdude 5.1, where there is only stk500 option (no difference between firmware version 1 or 2), avrdude works fine with my STK500v1 board.

From version 5.2 and onwards, where separate stk500v1 and stk500v2 drivers have been made, the v1 code apparently got messed up.

The chip signature is read properly, and then avrdude exits on fuse bits. Here's session transcript, using chip at90s8515 in a smartcard (manually taking out board signals from ISP6 header and XTAL1 - but that doesn't matter):

avrdude: device signature = 0x1e9301
avrdude: safemode: Verify error - unable to read fuse properly. Programmer may not be reliable.
avrdude: safemode: To protect your AVR the programming will be aborted


When I use -u to ignore fuse bits, the program segfaults:

avrdude: writing eeprom (170 bytes):
Writing |         | 0% 0.00s
Segmentation fault



I then tried using the normal 8535 chip inserted on board and
fuse bit reading worked, but the program segfaulted nevertheless.

Then I tried uisp, and it worked on both 8535 and smartcard 8515.

I don't have to mention all the problems this bug has caused me,
since I thought it was a mistake on my part.

Anyway, I'm available for more info - if you can't figure out what changed from 5.1 to 5.2 by looking at the code, I can give you verbose output or gdb the issue. I will also test the patch to make sure this is fixed.

Take care,
-doc

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)
  •  

    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
    2007-04-20 joerg_wunsch StatusNone Duplicate
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code