Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit...
Transcript of Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit...
![Page 1: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/1.jpg)
Atmel AVR Studio 4 & PonyProg
& AB-M128Pro-A Kit Example
Lee Sang Jin, CCNS, CBNU
March 2009
![Page 2: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/2.jpg)
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
![Page 3: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/3.jpg)
Contents
1. Download AVR Studio 4 & PonyProg
2. AVR Studio 4 사용법
3. AVR Studio 4 Example
4. PonyProg 사용법
5. 개발 키트 소개
![Page 4: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/4.jpg)
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
![Page 5: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/5.jpg)
Download AVR Studio 4
Example of Registration Form
![Page 6: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/6.jpg)
Download PonyProg
http://www.lancos.com
PonyProg >> Download
Download v2.05a BETA
![Page 7: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/7.jpg)
AVR Studio 4 사용법
New Project 선택
![Page 8: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/8.jpg)
AVR Studio 4 사용법
Atmel AVR Assembler 선택
Project name 입력
※ 한글 절대 사용 금지 (Project name, 경로명, 파일명 등)
![Page 9: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/9.jpg)
AVR Studio 4 사용법
Debug platform :
AVR Simulator ATmega128 선택
Finish
![Page 10: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/10.jpg)
AVR Studio 4 사용법
![Page 11: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/11.jpg)
AVR Studio 4 Example
LED - ON example
![Page 12: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/12.jpg)
AVR Studio 4 Example
Build a Example
AVR Studio 4
• Build Build
<project_name>.hex
• AVR 에 download 할 수 있는 file
• 현재 Project 폴더에 생성됨
PonyProg 를 이용하여 AVR에 download 한다.
![Page 13: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/13.jpg)
PonyProg 사용법
![Page 14: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/14.jpg)
PonyProg 사용법
Device
AVR micro > ATmega128
Setup > Interface Setup
Parallel > Avr ISP I/O > LPT1
Probe 클릭
Setup > Calibration
![Page 15: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/15.jpg)
PonyProg 사용법
File > Open Device File
AVR Studio 4 로 생성한 <project_name>.hex 선택
Command > Write All
![Page 17: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/17.jpg)
개발 키트 소개
커넥터 설명
![Page 18: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/18.jpg)
개발 키트 소개
ISP (In System Programming) Cable
PC 의 Parallel port 에 연결
Kit 의 ISP 커넥터에 연결
![Page 19: Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit Exampleael.chungbuk.ac.kr/ael/lessons/subject/id/AVR_Studio_4... · 2009. 8. 4. · Atmel AVR Studio 4 & PonyProg & AB-M128Pro-A Kit](https://reader034.fdocuments.net/reader034/viewer/2022052101/603ae524981a3b314904cb60/html5/thumbnails/19.jpg)