-
Notifications
You must be signed in to change notification settings - Fork 0
Software
clsergent edited this page Apr 22, 2019
·
3 revisions
- AVR-GCC to build the firmware.
- AVRDUDE to upload the firmware to the chip using the in-system programming (ISP) technique.
- A programmer to link the computer to the chip, like USBasp which is inexpensive, open source, and supported by AVRDUDE. It's the one used by default in the Makefile.
It is necessary to modify the Makefile to fit your configuration.
Go to # binaries
and modify the following constants :
-
AVRDUDE
: set it to youravrdude
path -
OBJ2HEX
: set it to youravr-objcopy
path (usually shipped with AVRDUDE)
Go to # flags
and check AFLAGS
(AVRDUDE flags) : after the -c
directive, replace usbasp
by the name of the programmer you are using (see the prerequisites).
While in the firmware folder, call make build
.
While in the firmware folder, call make flash
.
Caution : improper fuses settings can brick your chip.
While in the firmware folder, call make fuse
to apply the right fuses settings for this project.