[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #37812] STK500V2 not programming "blank" pages when n
From: |
Joerg Wunsch |
Subject: |
[avrdude-dev] [bug #37812] STK500V2 not programming "blank" pages when not erasing flash (-D) |
Date: |
Mon, 26 Nov 2012 07:28:19 +0000 |
User-agent: |
Mozilla/5.0 (X11; FreeBSD i386; rv:13.0) Gecko/20100101 Firefox/13.0 |
Update of bug #37812 (project avrdude):
Status: None => Duplicate
Assigned to: None => joerg_wunsch
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Duplicate of bug #30061, which has been closed as "Invalid".
Flash cells can only be programmed to bit value "0". In order to get
a cell to level "1", it has to be erased rather than programmed.
Consequently, if you bypass the erase step, it is completely normal
that you cannot revert the cells to "1" by just programming over it
again. A logical consequence of that is that trying to program a bit
to "1" is a no-op, and thus, trying to program an entire flash page to
0xFF can always be omitted, as it is not supposed to change anything
in that page.
The current SVN code has been changed to only ever trying to program
any page that has got data from the input file, so the old STK500v2
optimization can now be left out. However, the actual failure is
still in your attempt to program something that isn't in erased state.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?37812>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/