-
Notifications
You must be signed in to change notification settings - Fork 0
/
Readme.txt
29 lines (20 loc) · 848 Bytes
/
Readme.txt
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
# AVR_blinky
Test for ATMEGA8L 8PU
#Prerequisites
sudo apt-get install gcc-avr
sudo apt-get install avr-libc
sudo apt-get install avrdude
make
##############################################################################
#for circuit avr_led.png
#set AVR fuse: Int. RC Osc. 1 Mhz; already the default state
avrdude -c usbasp -p m8 -U lfuse:w:0xe1:m
make flash1M
##############################################################################
#for circuit with 7,373Mhz External Crystal avr_led7_373Mhz.png
#set AVR fuse: Ext. Crystal/Resonator High Freq.; Start-up time 16 CK + 64ms; [CKSEL=1111 SUT=11]
sudo avrdude -c usbasp -p m8 -U lfuse:w:0xff:m
make flash7M
http://www.ladyada.net/learn/avr/fuses.html
http://www.nongnu.org/avr-libc/user-manual/group__demo__project.html
http://www.cs.ou.edu/~fagg/classes/general/atmel/avrdude.pdf