Professional Documents
Culture Documents
Contents
Contents ...................................................................................................................................................... 2
CHAPTER 1: Introduction ............................................................................................................................ 3
1.1 WELCOME.......................................................................................................................................... 3
1.2 AVR EVALUATION BOARD FEATURES ................................................................................................ 3
1.3 AVR EVALUATION HARDWARE.......................................................................................................... 4
1.4 SAMPLE DEVICES ............................................................................................................................... 5
One FLASH device is included. The device types may change, but will generally include ATMEGA 40pin DIP devices. ....................................................................................................................................... 5
1.5 SAMPLE PROGRAMS.......................................................................................................................... 5
1.6 AVR EVALUATION BOARD LAYOUT ................................................................................................... 5
CHAPTER 2: Hardware Details .................................................................................................................... 6
2.1 SOCKETS ............................................................................................................................................ 6
2.2 CONFIG-I SWITCH .................................................................................................................................. 6
2.3 POWER SUPPLY ..................................................................................................................................... 7
CHAPTER 3: Installation Notes .................................................................................................................... 7
3.1 INSTALLING CODEVISIONAVR COMPILER ......................................................................................... 7
3.2 CREATING A NEW PROJECT IN CODEVISIONAVR ............................................................................ 11
3.3 OPEN AN EXISTING PROJECT ........................................................................................................... 16
3.5 PROGRAMMING THE ICS ................................................................................................................. 18
3.6 RUNNING THE PROGRAM ............................................................................................................... 19
3.7 POSSIBLE ERRORS ............................................................................................................................ 19
CHAPTER 4: Example Programs and Connections .................................................................................... 21
CHAPTER 5: Setting up HyperTerminal ..................................................................................................... 23
CHAPTER 1: Introduction
1.1 Introsuction
The AVR Evaluation Board can be used as a stand-alone board built with an in-circuit
USB programmer. Sample programs are provided to demonstrate the unique features of
the supported devices.
Note: If you are missing any part of the kit, please contact our support executive
Pins 1-8 are Data Pins. Pin 9 is VDD and the Pin 10 is GND. All 10 Pin FRC connectors will
follow the same rule.
DESCRIPTION
PROG
First 5 pins from left to right are used to program the IC.
Turning ON these pins permanently will not affect the function of the
microcontroller
RX, TX
RS232 receive and transmit pins. Turn ON these pins when doing RS232
communication
NC
No connection
3. Click->Next
4. Select Destination Location: Click-> Next. (Or browse to another directory as you
wish).
5. Select Start Menu Folder: Click->Next. (Change the name if you wish).
7. Click-> Finish
4. Confirm: Click No
5. File Name: Give your own Project Name and Click Save.
7. If you already have a source code file, then Click Add. Select the file and Click
open.
9. Click After Build Tab: Tick the Program the Chip check box. You can see the
following window. From the
window uncheck Preserve EEPROM or Press r. Click OK.
10.Create New C file, write source code and add this file to project (step 6 and 7).
11.Now the Project will look like the following. Click Compile the project. Here I
added an existing LED.C file to the project Proceed to 3.4. programmer settings.
4.
5.
7. Select Kanda Systems STK200+/300 and LPT1. (Choose the port that you have
connected the Kit with PC).
8. Click OK.
9. These settings are the default settings for all the examples provided with ATMEGA
Board.
Error 3: CVAVR may throw "Verified Failed" error, due to the following
CONNECTIONS
OUTPUT
PORTA.0
micro-controller.
be displayed in HyperTerminal
4.2 INTERRUPTS
HARDWARE PIN
OUT
INT0
PORTD.2
INT1
PORTD.3
INT2
PORTB.2
CONNECTIONS
Connect Serial cable between
USART
Section in the Board and PC.
OUTPUT
Press INT0, INT1 and INT2 Push
but-ton switches SW2, SW3 and
SW4
The
MessageINTxDetected...will
be displayed.
In INTx, x is 0 or 1 or 2.
4.3 USART
RX
PORTD.0
CONNECTIONS
TX
PORTD.1
OUTPUT
RXD
PORTD.0
CONNECTIONS
TXD
OUTPUT
PORTD.1
What do we sell?
Our products range from Various Microcontroller
development boards, DSP Boards, FPGA/CPLD boards,
Communication Kits, Power electronics, Basic electronics,
Robotics, Sensors, Electronic components and much more .
Our goal is to make finding the parts and information you
need easier and affordable so you can create awesome
projects and training from Basic to Cutting edge
technology.