From 26af316c2c6d993e9639d089c7d7240793699cc9 Mon Sep 17 00:00:00 2001 From: Stuart Longland Date: Tue, 25 Jul 2017 18:40:52 +1000 Subject: [PATCH] attiny861 port: Tweak BOD settings. Setting the BOD level to 2.7V helps prevent a condition where the MCU partially fires up during connection of power. --- ports/attiny861/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/attiny861/Makefile b/ports/attiny861/Makefile index d63ba28..d9fc8c5 100644 --- a/ports/attiny861/Makefile +++ b/ports/attiny861/Makefile @@ -23,8 +23,8 @@ LFUSE=0xc1 # SPIEN=0 : 0x00 : Enable SPI programming # WDTON=1 : 0x10 : Disable watchdog # EESAVE=1 : 0x08 : EEPROM not preserved during erase -# BODLEVEL=7 : 0x07 : Brown-out detection disabled -HFUSE=0xdf +# BODLEVEL=4 : 0x06 : Brown-out detection 2.5-2.9V +HFUSE=0xdd # Extended fuse: # SELFPRGEN=unprogrammed : Disable self programming EFUSE=0xff