SpenceKonde / ATTinyCore

Arduino core for ATtiny 1634, 828, x313, x4, x41, x5, x61, x7 and x8
Other
1.53k stars 302 forks source link

Don't set fuses #761

Closed drsubs closed 1 year ago

drsubs commented 1 year ago

When I program (ATTiny84) it don't set high and low byte fuse, only when a do a bootloader up load(even though it´s a no bootloader project).

hmeijdam commented 1 year ago

https://github.com/SpenceKonde/ATTinyCore#when-using-an-individual-chip-for-the-first-time-or-after-changing-the-clock-speed-eesave-or-bod-settings-you-must-do-burn-bootloader-to-set-the-fuses-even-if-you-are-not-using-the-chip-with-a-bootloader

SpenceKonde commented 1 year ago

This is correct and intended behavior. Unlike modern avrs where we do set fuses on normal upload (for iirc 6/8ths of fuses that can't make the part difficult to reprogram without special tools), on classic avrs, 0/3rds of the fuses can be misconfigured without potentially leaving the part bricked without special tools (hv programming, which for many parts ATTC supports means hvpp, with 20 wires to connect correctly). Therefore we follow the example set by the official arduino core and virtually every third party core and only set fuses on burn bootloader here.


Spence Konde Azzy’S Electronics

New products! Check them out at tindie.com/stores/DrAzzy GitHub: github.com/SpenceKonde ATTinyCore: Arduino support for almost every ATTiny microcontroller Contact: @.***

On Sun, Apr 30, 2023, 08:56 drsubs @.***> wrote:

When I program (ATTiny84) it don't set high and low byte fuse, only when a do a bootloader up load(even though it´s a no bootloader project).

— Reply to this email directly, view it on GitHub https://github.com/SpenceKonde/ATTinyCore/issues/761, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTXEWZFSSREPEZB6DN4L4TXDZOQDANCNFSM6AAAAAAXQ5CJBM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

drsubs commented 1 year ago

Thnx