Features ¶
- ํ์ด ํผํฌ๋จผ์ค , ๋ก์ฐ ์ ๋ ฅ - ๊ทธ๋๋ดค์ 8 BIT
- 130 Powerful Instruction - RISC MPU
- 32 X 8 ๋ฒ์ฉ ๋ ์ง์คํฐ
- 8 MHz ํด๋ญ - ์~ ์ด๋ผ ๋น ๋ฅด๋ค!
- On-chip 2 cycle Multiplier
- 130 Powerful Instruction - RISC MPU
- ๋นํ๋ฐ์ฑ ํ๋ก๊ทธ๋จ ๊ณผ ๋ฐ์ดํ ๋ฉ๋ชจ๋ฆฌ
- ์์ฒด ํ๋ก๊ทธ๋๋ฐ ๊ฐ๋ฅํ ํ๋์ฌ ๋ฉ๋ชจ๋ฆฌ
- 16 KB ์ Boot Block ( 256 - 2K Bytes )
- 512 Bytes EEPROM
- 1024 Bytes SRAM
- 16 KB ์ Boot Block ( 256 - 2K Bytes )
- ์ฃผ๋ณ ์ฅ์น ๊ธฐ๋ฅ
- 2 ๊ฐ์ 8-bit Timer/Counters
- 1 ๊ฐ์ 16-bit Timer/Counters
- Real Time Clock
- Tree PWM Channels
- Programmable Serial UART
- Analog Comparator
- Master / Slave SPI Serial Interface
- Byte - oriented 2-wire Serial Interface
- 2 ๊ฐ์ 8-bit Timer/Counters
์ด MPU ์ ์ฉ๋ ¶
- MP3 ํ๋ ์ด์ด
- ์๋ฒ ๋๋ ์์คํ
- ๋ง์ดํฌ๋ก ๋ก๋ด
- ์ฐ์
์ฉ ์๋ฒ ๋๋ ์์คํ
ํ๋ก๊ทธ๋๋ฐ์ ํ์ํ ์ ํธ๋ฆฌํฐ ¶
์จ๋น ์ฌ์ด๋์์ ๊ตฌํ ATmega 163 L ๋ณด๋์ ๊ดํ Testing ¶
AVR GCC Programming ¶
- ์ค์น ๋ฐฉ๋ฒ
c:\> ์์ avrgcc ํด๋๋ก ์ฎ๊ธฐ๊ณ
c:\avrgcc>์์ install์ ์คํ ์ํจ ํ ๋ฐํํ๋ฉด์ avr-gcc ๋ฐฐ์นํ์ผ์ ์ด์ฉํด ๋์ค์ฐฝ์ ์ด์ด์ ์ด๋ค.
- Makefile ์ฌ์ฉ๋ฒ
~cpp
# Simple Makefile
# Volker Oth (c) 1999
include $(AVR)/include/make1
########### change this lines according to your project ##################
HEADER = ../Include
MYLIBDIR =
GCCLIB = $(AVR)/lib/gcc-lib/avr/2.97/avr3
NEWLIB = $(AVR)/lib
#INCDIR means .h file search path
INCDIR = . -I$(HEADER)
#----------------------------------------------
#put the name of the target mcu here (at90s8515, at90s8535, attiny22, atmega603 etc.)
MCU = atmega163
#put the name of the target file here (without extension)
TRG = test
#put your C sourcefiles here
SRC = $(TRG).c \
$ utils.c \
$ global.c \
$ uart.c
#put additional assembler source file here
ASRC =
#additional libraries and object files to link
LIB = $(LIBDIR)/libc.a $(GCCLIB)/libgcc.a $(NEWLIB)/libbfd.a $(NEWLIB)/libiberty.a
#additional includes to compile
INC =
#INCDIR means .h file search path
INCDIR = . -I$(HEADER)
#compiler flags
CPFLAGS = -g -O3 -Wall -Wstrict-prototypes -Wa,-ahlms=$(<:.c=.lst)
#linker flags
LDFLAGS = -Wl,-Map=$(TRG).map,--cref
########### you should not need to change the following line #############
include $(AVR)/include/make2
###### dependecies, add any dependencies you need here ###################
all : $(TRG).siz
$(TRG).o : \
$ config.h \
$(TRG).c
$(TRG).siz : $(TRG).elf
avr-size --format=sysv $(TRG).elf > $(TRG).siz
avr-size --format=sysv $(TRG).elf
wr : $(TRG).rom
uisp --STK200 --erase
uisp --STK200 --upload $(TRG).rom
erase :
uisp --STK200 --erase
- avr_gcc ์ฌ์ฉ๋ฒ
- AVG-GCC AVR-GCC... ใ
ใ
์คํ๋ค.
- AVG-GCC AVR-GCC... ใ
ใ
์คํ๋ค.
์ฐ์ฐ.. ์ ์ง์ ๋ด๊ป ์ ์์ฌ๋ผ๊ฐ๋.. rom ๊น์ง ๋ง๋ค์๋๋ฐ..--; - ๋ก
device missing or unknown device ๋ผ๊ณ ๋์จ๋ค. ponyprog ์์ ์ฅ์น๋ฅผ ๊ผญ 163 L ๋ก ํด์ผํ๋? 163 ๋ฐ์ ์๋๋ฐ..
device missing or unknown device ๋ผ๊ณ ๋์จ๋ค. ponyprog ์์ ์ฅ์น๋ฅผ ๊ผญ 163 L ๋ก ํด์ผํ๋? 163 ๋ฐ์ ์๋๋ฐ..









