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

Submitted by:  None
Submitted on:  Thu 08 Mar 2007 06:49:10 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: Erik Christiansen
Originator Email: -unavailable-Open/Closed: Closed
Release: NoneProgrammer 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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by joerg_wunsch (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 29 Oct 2007 10:01:07 PM UTCjoerg_wunschOpen/ClosedOpen=>Closed
    Wed 16 May 2007 08:16:51 PM UTCjoerg_wunschStatusNone=>Fixed
      Assigned toNone=>joerg_wunsch

    Back to the top


    Powered by Savane 3.1-cleanup1