-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
63 lines (46 loc) · 3.19 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
This is a compilation of many details for the ADABoot bootloader for Arduino, so it is easy to compile an ADABoot style bootloader for most (if not all) official Arduino boards and for most 40-pin AVRs (like 644 and 1284). I started out with the 2009-03-25 version from wulfden.org (downloaded January 2012) and grew it from there.
I needed WDT functionality (interrupt mode only) to just work with low-power-sleep settings and I wanted my sketches to always begin running as soon after power-on/reset as possible, and I find that the ADABoot bootloader does this very efficiently on the ATmega328p and ATmega1280.
Tested on Windows 7, compiled on windows using WestFW's omake.bat (with Arduino 1.0 IDE), which provides an easy way to use make/makefiles on Windows.
HowTo:
------
know this path in your Arduino 1.0 install:
..\arduino-1.0\hardware\arduino\bootloaders\ADABootLoader
in this repository you will see the path:
arduino\bootloaders\ADABootLoader
copy files from this repository (ADABoot) to fit in parallel into the path mentioned above
Contents from the file ..\arduino-1.0\hardware\arduino\boards-ADABoot.txt can be copied into the file ..\arduino-1.0\hardware\arduino\boards.txt, below existing text in boards.txt
To compile; open the command prompt and change the path to ADABootloader.
There you can use the omake.bat batch file to perform compilation of files.
Example of commands
omake atmega168
omake atmega328p
omake mega
omake atmega644p
omakeall
Additions so far:
- added definitions for Mega (1280) to "ATmegaBOOT_168.c" and "Makefile"
- added definitions for all standard Arduino's to "Makefile"
- added an "omakeall.bat" that will compile *.hex files for all current definitions in "Makefile". *.hex files compiles on my system, but may need testing on actual chips, to know that everything is fine.
- added definitions for 1284p to "ATmegaBOOT_168.c" and "Makefile". Compiles fine, but needs testing on actual chip
- has started experimenting a bit with Optiboot as well
LICENSE
--------
/* This program is free software; you can redistribute it */
/* and/or modify it under the terms of the GNU General */
/* Public License as published by the Free Software */
/* Foundation; either version 2 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will */
/* be useful, but WITHOUT ANY WARRANTY; without even the */
/* implied warranty of MERCHANTABILITY or FITNESS FOR A */
/* PARTICULAR PURPOSE. See the GNU General Public */
/* License for more details. */
/* */
/* You should have received a copy of the GNU General */
/* Public License along with this program; if not, write */
/* to the Free Software Foundation, Inc., */
/* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
/* */
/* Licence can be viewed at */
/* http://www.fsf.org/licenses/gpl.txt */