URL:
  <http://savannah.nongnu.org/bugs/?40782>

                 Summary: Verify errors for object size > 16 k on x32e5 due to
typo in avrdude.conf
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: Tue 03 Dec 2013 09:06:44 AM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Cor
        Originator Email: [email protected]
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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;
     ;






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?40782>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to