bugAVR Downloader/UploaDEr - Bugs: bug #19234, avrdude-5.3.1 segfaults when...

 
 

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

bug #19234: avrdude-5.3.1 segfaults when stk500v1 tries to program an ATtiny15

Submitter:  None
Submitted:  Thu 08 Mar 2007 06:49:10 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  Erik Christiansen
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  None Programmer hardware: 
Device type: 

Mon 29 Oct 2007 10:01:07 PM UTC, comment #2: 

Timed out getting feedback, assumed the fix was successful.

Joerg Wunsch <joerg_wunsch>
Group administrator
Wed 16 May 2007 08:16:51 PM UTC, comment #1: 

I (hopefully) fixed this by not calling the paged_load and
paged_write backend functions if the memory area in question
has a page_size of 0.

Please verify this is the actual fix, so I can close the bug
report.

Joerg Wunsch <joerg_wunsch>
Group administrator
Thu 08 Mar 2007 06:49:10 AM UTC, original submission:  

To reproduce with greatest diagnostic detail at your fingertips, run avrdude under gdb:

Note: It's also incorrect for avrdude to ask for PAGEL and BS2 signals for the ATtiny15, which does not support parallel programming.

$ gdb avrdude

(gdb) run  -c stk500v1 -p t15 -e -U flash:w:obj/flash.srec
Starting program: /usr/local/bin/avrdude -c stk500v1 -p t15 -e -U flash:w:obj/flash.srec

avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny15
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9006
avrdude: erasing chip
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny15
avrdude: reading input file "obj/flash.srec"
avrdude: input file obj/flash.srec auto detected as Motorola S-Record
avrdude: writing flash (126 bytes):

Writing |                                                    | 0% 0.00s
Program received signal SIGSEGV, Segmentation fault.
0x08060cf9 in stk500_paged_write (pgm=0x8089b18, p=0x81bb2c0, m=0x81bc638, page_size=128,
n_bytes=Variable "n_bytes" is not available.
) at stk500.c:749
749         buf[i++] = Sync_CRC_EOP;

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-10-29 joerg_wunsch Open/ClosedOpen Closed
    2007-05-16 joerg_wunsch StatusNone Fixed
        Assigned toNone joerg_wunsch

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code