From b1044a058f9857a83cc4b57aebe415afe86c6354 Mon Sep 17 00:00:00 2001
From: Thomas Carpenter <strange_orange_fish@hotmail.com>
Date: Sat, 10 Aug 2013 17:50:15 +0100
Subject: [PATCH] Added Bootloader for Atmega162

The bootloader is required if you are making your own AstroEQ board
using the ATMega162. If you have bought a kit or ready assembled board
from me, this is not needed.
---
 AstroEQ-Bootloader/README                 |  19 +++++++++++++++++++
 AstroEQ-Bootloader/optiboot_atmega162.hex | Bin 0 -> 1408 bytes
 2 files changed, 19 insertions(+)
 create mode 100644 AstroEQ-Bootloader/README
 create mode 100644 AstroEQ-Bootloader/optiboot_atmega162.hex

diff --git a/AstroEQ-Bootloader/README b/AstroEQ-Bootloader/README
new file mode 100644
index 0000000..0aae63a
--- /dev/null
+++ b/AstroEQ-Bootloader/README
@@ -0,0 +1,19 @@
+If you are building an AstroEQ from scratch, a special bootloader has to be programmed to the Atmega162 IC in order for the configuration utility to be able download the lastest version of the firmware and configure the mount.
+
+The bootloader HEX file is included in this folder.
+
+If you have bought a Kit or ready assembled AstroEQ board directly from me, the bootloader has already been installed. You can skip this step and move on to the config utility.
+If you are using an Arduino Mega board, you can also skip this step as they already have a compatible bootloader installed.
+If neither of the above apply, please read on...
+
+You will need to connect your programmer to the ISP pins which are shown in the schematic (The ISP header)
+You will then need to the software that came with your programmer to download the hex file and set the fuses.
+
+The following fuse settings should be used:
+
+High Fuse: 0xD8
+Low Fuse: 0xFF
+Extended Fuse*: 0xFB   
+(*If you programmer flags up an error on the extended fuse, use 0x1A instead)
+
+I use 'avrdude' to program hex files. You can find a good tutorial for that here: http://www.ladyada.net/learn/avr/avrdude.html
\ No newline at end of file
diff --git a/AstroEQ-Bootloader/optiboot_atmega162.hex b/AstroEQ-Bootloader/optiboot_atmega162.hex
new file mode 100644
index 0000000000000000000000000000000000000000..9c2d7e1d356bdb6011d4ae033a07d24aa48e4aa5
GIT binary patch
literal 1408
zcmYjROOEI;2;0wTfc#)~4T1X~X-rc+y+~D4>VN@<U#1p>#VlPj(t41^PCXm@y|f-$
zInK{-VHsH1(sGe;X3Rr6f;9F~!FzAp{bHrC8m!MYouNuEM%3^fL5{P=7u$e^*T-g%
zP_*We?d&6tGYSrC@!S{N%P&oZJrQt%UgYt_cT*Z=-y<$|0Q;y7<3S42?$Xaeu8OB2
zLvUZ8-&xo#@o=y`0s;X}^^F|4^~u@u%WVN`aX>`!S$GRVTXx-!V&47yIB4-zCxt&F
z_;T!}b%sCfC~0#_y?m{(1OLhwxK#|rf7r$<8)Er~eSi%VJrlX~%Y`Y3NfLw>g_wW!
z-N156xlcx5MeU~&FM;pbhJed{E(c_Q9;26v*zk7(we4*pKkDEz^HBThfT%RTI!wQK
zS4MN99W;qGyM1*iq2(mrYe%3bUcNa1!a1`>4mw|MNPvQKB`}^mv;5`j@1GC4xfK+3
zurX0vG!t!1FFibn_2B$Q3}0_<S^5<>Zm=`kRP6CyhHpbJp^K$*v9Eqbwl&!-HuFJg
zomfBqb!S#yZ0Wbh$N`BY;yu(#ooiGM#RF%!U2N&M`2Nq;$YelNWlyY6lUe$$B@=z>
zZEf^Po<m{>nvsyw-qkO{5H-}Y;zf#Uf-e}AY_%iLedv6-m44$f{2+F4L<71r`@xg2
zdy@B$Z|S$}6t50fgAVziX94Y2&wE(hzGVrFz_0YP7IedHygFBOAG%>VwC&cR^b374
zf%6o{jIo`iHQxq4W29}mb0<r`^>4Tt7{7NKI4&H92^*4o==y#2Tgg@}`$39LaGz=x
zQLcmPItIbTmVWCFhCyX%jiG^f4(`aHz`RHS9)2;Bvh)kg8?)|3;Q}4N{lhRc+*jbF
aVJHIFsaKwO*D86ulXjz5wa3Er{P_cCCNb~;

literal 0
HcmV?d00001

-- 
GitLab