From b3c668625f967bef1d34b74bac31184d1cb76ce5 Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 11 Sep 2020 11:20:25 -0500 Subject: [PATCH] Add note about fuse settings. --- Home.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/Home.md b/Home.md index 9fd7b5b..8db4e25 100644 --- a/Home.md +++ b/Home.md @@ -6,4 +6,26 @@ This wiki will collect technical notes, assembly and configuration guides, tips [Classic Keyboard build guide](classic-keyboard-build) -[Apple II notes] (apple-ii-mount) \ No newline at end of file +[Apple II notes] (apple-ii-mount) + +
+Programming the Atmega chips +The fuse settings I recommend are: + +Extended: 0xFF +High: 0xD9 +Low: 0xD2 + +This corresponds to the following fuse settings + +For ATMega328P: +- Brownout Detection Disabled (Extended byte) +- SPIEN (in system programming over SPI) Enabled (High byte) +- Boot flash size 2048 ((high byte) +- 8 MHz internal RC clock, 4.1 ms startup time (low byte) +All other fuses disabled. + +For ATMega2560: (to do) + +Specifically, you want to make sure that the DIV8 flag is OFF (or the chip will run at 1 MHz and you will find the encoder to be very sluggish), and the ISP programming flag is enabled (if you want to be able to program via the ISP header) +