avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #38659] AVRFTDI not working anymore since svn1098 and


From: Joerg Wunsch
Subject: [avrdude-dev] [bug #38659] AVRFTDI not working anymore since svn1098 and destroys flash-contents
Date: Wed, 10 Apr 2013 10:58:07 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0

Follow-up Comment #8, bug #38659 (project avrdude):

As “programming” 0xff into flash is effectively a no-op,
what reason should exist to store these bytes in any file?
(Sure, in a binary file, intermediate 0xff bytes cannot be
omitted; in a hex or s-record file, even that would be
possible, but it's currently only done for trailing bytes.)

For EEPROM, things are different, because the assumption
is that EEPROM cells will always be erased on a per-cell
base right before programming.  (Not all programmers and
programming methods actually [can] do this though.)

But for flash, the only way to revert it to 0xff is to chip
erase or page erase it (the latter only being supported by
programmers for Xmega devices, or by the SPM instruction).

Please discuss this outside of this bug report if you are
unhappy with it.  It's not a bug but has been implemented
that way deliberately, so if there are fundamental objections,
this should be discussed separately on the mailinglist.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

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