avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [bug #37812] STK500V2 not programming "blank" pages when n


From: Simon Sabato
Subject: [avrdude-dev] [bug #37812] STK500V2 not programming "blank" pages when not erasing flash (-D)
Date: Sun, 25 Nov 2012 20:57:47 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0

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

                 Summary: STK500V2 not programming "blank" pages when not
erasing flash (-D) 
                 Project: AVR Downloader/UploaDEr
            Submitted by: simonls
            Submitted on: Sun 25 Nov 2012 08:57:46 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: simonls
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I tried to debug a flash issue by "erasing" the Flash via programming it full
of FF's.  In the Mega2560/stk500v2 world, the "chip erase" is skipped and
pages are erased as they are programmed.  However AVRDUDE appears to skip
programming pages that are full of FFs.  

I think the culprit is the stk500v2_is_page_empty which perhaps should return
0 always if the "-D" flag is given?  Although I can understand wanting the
efficiency of not programming "blank" data, it seems even worse to end up with
a Flash that doesn't match the obj file.  

I imagine this could be a problem for anyone that has a dataset including 256
bytes of FF (which maybe now more likely in the 128/256KB Mega devices) 





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]