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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Joerg Wunsch-6
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/


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