Burn fuse for external crystal at 16K CK and 65ms

This commit is contained in:
2024-10-01 00:16:20 +02:00
parent 23765aae8a
commit bc14a5653c
3 changed files with 17 additions and 4 deletions

View File

@@ -57,6 +57,16 @@ static int Init(void)
Info("Initializing...");
// FIXME: Something is wrong here:
// - AVRDUDE sometimes fails to verify flash.
// - UART sometimes stops working.
// - External crystal problems?
// - Power supply problems?
// - Wrong fuses? Unlikely.
// - Bootloader problems?
return 0;
// The watchdog timer is clocked from a separate
// on-chip oscillator which runs at 1 MHz. Eight
// different clock cycle periods can be selected
@@ -232,10 +242,13 @@ int main(void)
for (;;) {
WDT_Reset();
Update();
Info("UPDATE");
continue;
// Update();
WDT_Reset();
Sleep(1000);
}
UNUSED(Update);
return 0;
}