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

 
 

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

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

Submitted by:  None
Submitted on:  Tue 03 Dec 2013 09:06:44 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: Cor
Originator Email: -unavailable-Open/Closed: Closed

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

 

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 (Updated the item)
  • -unavailable- added by maxpower (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 12 Mar 2014 09:08:11 PM UTCjoerg_wunschStatusNone=>Fixed
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup