avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [patch #9110] Let reserved fuse bits to be read as *don't


From: Martino Facchin
Subject: [avrdude-dev] [patch #9110] Let reserved fuse bits to be read as *don't care*
Date: Wed, 7 Sep 2016 14:46:58 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

URL:
  <http://savannah.nongnu.org/patch/?9110>

                 Summary: Let reserved fuse bits to be read as *don't care*
                 Project: AVR Downloader/UploaDEr
            Submitted by: facchinm
            Submitted on: Wed 07 Sep 2016 02:46:56 PM GMT
                Category: None
                Priority: 7 - High
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Reserved fuse bits have been checked in many different ways throughout avrdude
history.

Commonly used 6.0.1 treats them as "zeroes" when reading, so all safety checks
needed the fuses to be filled with zeroes.

Newer avrdude reads them as "ones" (correctly) but still ignores them when
writing.

At Arduino we need to ship a newer version of avrdude with both the
behaviours, to avoid breaking outdated cores or older installations with
updated cores.

The patch replaces the bytewise check with a bitwise one and, if the only
difference is in the unused bits, it emits a "deprecation" warning 

See https://github.com/arduino/avrdude-build-script/issues/2



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 07 Sep 2016 02:46:56 PM GMT  Name:
80-Avoid-failing-fuse-check-if-different-bits-are-reserved.patch  Size: 4kB  
By: facchinm

<http://savannah.nongnu.org/patch/download.php?file_id=38440>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9110>

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




reply via email to

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