Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
Atmel AVR Studio 4 & PonyProg
& AB-M128Pro-A Kit Example
Lee Sang Jin, CCNS, CBNU
March 2009
Design Flow Diagram
PC
Outline
AVR Studio 4
Design & Debugging
your program
PonyProg2000
Download program file
ISP cable
Program Interface
ATmega128
Processor Operation
Parallel
Port
Contents
1. Download AVR Studio 4 & PonyProg
2. AVR Studio 4 사용법
3. AVR Studio 4 Example
4. PonyProg 사용법
5. 개발 키트 소개
Download AVR Studio 4
http://www.atmel.com
Products > > AVR® 8-Bit RISC > Tools & Software >
Design Software
AVR Studio 4
Download AVR Studio 4.16 (build 628)
Needing a Registration
Download AVR Studio 4
Example of Registration Form
Download PonyProg
http://www.lancos.com
PonyProg >> Download
Download v2.05a BETA
AVR Studio 4 사용법
New Project 선택
AVR Studio 4 사용법
Atmel AVR Assembler 선택
Project name 입력
※ 한글 절대 사용 금지 (Project name, 경로명, 파일명 등)
AVR Studio 4 사용법
Debug platform :
AVR Simulator ATmega128 선택
Finish
AVR Studio 4 사용법
AVR Studio 4 Example
LED - ON example
AVR Studio 4 Example
Build a Example
AVR Studio 4
• Build Build
<project_name>.hex
• AVR 에 download 할 수 있는 file
• 현재 Project 폴더에 생성됨
PonyProg 를 이용하여 AVR에 download 한다.
PonyProg 사용법
PonyProg 사용법
Device
AVR micro > ATmega128
Setup > Interface Setup
Parallel > Avr ISP I/O > LPT1
Probe 클릭
Setup > Calibration
PonyProg 사용법
File > Open Device File
AVR Studio 4 로 생성한 <project_name>.hex 선택
Command > Write All
개발 키트 소개
커넥터 설명
개발 키트 소개
ISP (In System Programming) Cable
PC 의 Parallel port 에 연결
Kit 의 ISP 커넥터에 연결