avrashâ„¢ - mikroelektronika
TRANSCRIPT
™
AVRprog programmer is a high performance tool used for programming
communicates to the microcontroller through a USB cable which is alsoused for powering the AVRprog programmer.
TO OUR VALUED CUSTOMERS
mikroElektronika.The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs.
The Atmel name and logo, the Atmel logo, AVR, AVR (Logo), AVR Freaks, AVR Freaks (Logo), AVR Studio, IDIC, megaAVR, megaAVR (Logo), picoPower ®, tinyAVR ® are trademarks of Atmel Coorporation.
Nebojsa MaticGeneral Manager
3
1.0. Introduction to AVRprog Programmer......................................................................................... 42.0. Dumping Code into the Microcontroller...................................................................................... 5
................................................................................................... 6................................................................................................................... 7
.......................................................................... 96.0. ................................................... 10
4
1.0. Introduction to AVRprog™ ProgrammerThe AVRprog ® ®
program and appropriate
AVRprog programmer.
The AVRprogAVRprog
Figure 1-1: AVRprog programmer Figure 1-2: AVRprog programmer
TheAVRprog The AVRprog
Figure 1-3:
Themicrocontroller to be programmed.
5
a hex code;
to be programmed and load the hex code;
Write button to dump code into the microcontroller. 3
1
2
3
Compiling program
2.0. Dumping Code into the MicrocontrollermikroBASIC PRO for
program.
12
6
The
TheWrite
bar in the bottom right corner
Device
The
Select the microcontroller to be programmed and the 1
microcontroller
2
Write optionmicrocontroller
3
1
2
3
the type of the microcontroller
Figure 3-1:
7
provided in the
CD Drive:
program free of charge from our
to proceed.
.
.
8
program in.
. If you
The
button.
to
9
illumination.
program
Start up the Device option in program
microcontroller.
button to open the Open Open
Write
10
Alt-EAlt-BAlt-W Write hex code into AVR microcontrollerAlt-V Verify loaded hex codeAlt-R Read program memoryAlt-D Change microcontroller typeCtrl-S
Ctrl-R
The
w Write to AVR microcontrollerv Verifyer Read program from AVR microcontroller pfcfd
FUSE:0x.....q program after programming
DISCLAIMER
All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any other copyright material. No part of this manual, including product and software described herein, may be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika. The
manual is prohibited.
MikroElektronika provides this manual ‘as is’ without warranty of any kind, either expressed or implied,
purpose.
MikroElektronika shall assume no responsibility or liability for any errors, omissions and inaccuracies that may
of this manual or product, even if MikroElektronika has been advised of the possibility of such damages. MikroElektronika reserves the right to change information contained in this manual at any time without prior notice, if necessary.
HIGH RISK ACTIVITIES
The products of MikroElektronika are not fault – tolerant nor designed, manufactured or intended for use or resale as on – line control equipment in hazardous environments requiring fail – safe performance, such as
life support machines or weapons systems in which the failure of Software could lead directly to death, personal injury or severe physical or environmental damage (‘High Risk Activities’). MikroElektronika and its
TRADEMARKS
The Mikroelektronika name and logo, the Mikroelektronika logo, mikroC, mikroC PRO, mikroBasic, mikro--
of Mikroelektronika. All other trademarks mentioned herein are property of their respective companies.
All other product and corporate names appearing in this manual may or may not be registered trademarks
©MikroelektronikaTM
If yo
u w
ant t
o le
arn
mor
e ab
out o
ur p
rodu
cts,
ple
ase
visi
t our
web
site
at w
ww
.mik
roe.
com
If yo
u ar
e ex
perie
ncin
g so
me
prob
lem
s w
ith a
ny o
f our
pro
duct
s or
just
nee
d ad
ditio
nal i
nfor
mat
ion,
ple
ase
plac
e yo
ur ti
cket
at
ww
w.m
ikro
e.co
m/e
n/su
ppor
t