bugAVR Downloader/UploaDEr - Bugs: bug #40782, Verify errors for object size >...

 
 

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

bug #40782: Verify errors for object size > 16 k on x32e5 due to typo in avrdude.conf

Submitter:  None
Submitted:  Tue 03 Dec 2013 09:06:44 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  Cor
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  None Programmer hardware: 
Device type: 

Tue 03 Dec 2013 10:01:13 AM UTC, comment #1: 

Oops. It's copy 'n' paste errors from the xmega16e5 configuration.

Joakim Lubeck <maxpower>
Tue 03 Dec 2013 09:06:44 AM UTC, original submission:  

For object size > 16 kB on x32e5 avrdude reports:

        avrdude -e -c avrisp2 -p x32e5 -P usb -U flash:w:app.hex:i -U eeprom:w:app.eep:i

...
avrdude: writing flash (36782 bytes):
...
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x4000
         0xff != 0x2d
avrdude: verification error; content mismatch

I traced it back to typos in the boot section offsets in avrdude.conf for x32e5 (and propabably also for x8e5).

diff -Naur avrdude-6.0.1.orig/avrdude.conf.in avrdude-6.0.1/avrdude.conf.in
--- avrdude-6.0.1.orig/avrdude.conf.in  2013-09-18 07:59:06.000000000 +0200
+++ avrdude-6.0.1/avrdude.conf.in       2013-12-03 09:34:06.941405935 +0100
@@ -13822,7 +13822,7 @@

     memory "boot"
         size           = 0x800;
-        offset         = 0x00804000;
+        offset         = 0x00802000;
         page_size      = 0x80;
         readsize       = 0x100;
     ;
@@ -13926,7 +13926,7 @@

     memory "boot"
         size           = 0x1000;
-        offset         = 0x00804000;
+        offset         = 0x00808000;
         page_size      = 0x80;
         readsize       = 0x100;
     ;


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 (Updated the item)
  • -email is unavailable- added by maxpower (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
    2014-03-12 joerg_wunsch StatusNone Fixed
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code