bugAVR Downloader/UploaDEr - Bugs: bug #24710, avrdude does not program all of...

 
 

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

bug #24710: avrdude does not program all of the input file

Submitted by:  None
Submitted on:  Fri 31 Oct 2008 03:04:02 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: Jan de Rie
Originator Email: -unavailable-Open/Closed: Closed
Release: NoneProgrammer hardware: 
Device type: 

Thu 15 Sep 2011 04:07:06 PM UTC, comment #1:

> There seems to be an assumption that there cannot be
> a block of 0xff data in the flash.


Well, as erase memory is already at 0xff, it should never
be needed to write 0xff bytes again.

Anyway, the root of this problem is now fixed with the recent
introduction of memory region tagging: only those memory regions where
actual content has been read for from a file are written to anymore.

You're welcome to try this new feature, but you'll have to use the SVN
trunk by now.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Fri 31 Oct 2008 03:04:02 AM UTC, original submission:

When avrdude is offered an input file for programming that contains a block of 0xff bytes (as in the attached sample file, which contains a flash based data table, all 0xff bytes), it only send that flash memory up to the 0xff data to the programmer.

There seems to be an assumption that there cannot be a block of 0xff data in the flash.

In general, avrdude seems to map input data into a flat memory space, losing information of which blocks were in the input file and which were not. This make proper verification also kind of impossible.

JdR

Anonymous

 

Attached Files
file #16763:  test.hex added by None (3KiB - application/octet-stream - contains a 128 byte block of 0xff data.)

 

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)
  • -unavailable- added by None (Submitted the item)
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 15 Sep 2011 04:07:06 PM UTCjoerg_wunschStatusNone=>Fixed
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed
    Fri 31 Oct 2008 03:04:02 AM UTCNoneAttached File-=>Added test.hex, #16763

    Back to the top


    Powered by Savane 3.1-cleanup1