DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ATASTK512-EK2-AUT Ver la hoja de datos (PDF) - Atmel Corporation

Número de pieza
componentes Descripción
Fabricante
ATASTK512-EK2-AUT Datasheet PDF : 20 Pages
First Prev 11 12 13 14 15 16 17 18 19 20
Getting Started
2.2
2.2.1
Initial Programming
After setting-up the hardware, insert the accompanying CD into the computer’s CDROM drive.
Note: If you want to use something other than the pre-compiled demonstration software and EEPROM files
included on the CD, there is additional programming information in Section 3, Programming Notes.
1. Apply power to the STK500 by moving the power switch toward the edge of the board.
2. If not already done, install and/or open AVR Studio.
3. When the first box appears entitled, “Welcome to AVR Studio 4,” click “Cancel” (to program the
devices doesn't require that a “Project” be used).
4. Click on the black IC icon with “AVR” -- it is in one of the top rows of the AVR Studio screen.
(Note: When hovering over this symbol with the mouse pointer, “connect to the selected AVR pro-
grammer” appears. This indicates that this is the correct icon).
A pop-up window labeled “STK500” appears.
5. AVR Studio is now ready to program the transmitter(s) and receiver.
Programming the ATmega88 to Control the Receiver
1. Select the “Program” tab and then select ATmega88 from the pull down menu.
2. Select the “Advanced” tab and then select “read signature” to ensure that communication with the
device is functioning properly. If the read attempt is successful, a number will show in the window. If
not, a pop-up will appear describing the failure. Consult the STK500 documentation to handle any
failures.
3. Select the “Fuses” tab and ensure that the Fuses are set as shown in Table 2-1
Table 2-1. Receiver ATmega88 Fuse Settings
Fuse Name
Boot Flash section size = 1024…
Brown-out detection disabled
Int RC Osc 8 MHz: … +64 ms
Divide clock by 8 internally
Watchdog Timer always on
Setting
Checked
Checked
Checked
Not Checked
Not checked
4. From the CD, in the folder “software\IAR\RX\Release\Exe,” program the flash of the ATMega88 with
“RX_fffMHz.a90.” (Note: “fff” is 315, 434, 868 or 915, the frequency specified for this kit).
5. From the CD, in the folder “software\Precompiled,” program the EEPROM of the ATMega88 with
“RX_EEPROM_AES128.hex.”
The ATMega88 is now programmed to control the receiver.
Note:
About receiver programming: the two rows of DIP switches on the interface board provide the capability to
set the OPMODE and LIMIT registers of the receiver IC. These DIP switches are NOT used by this demon-
stration software, as the receiver is programmed by the ATmega88. More can be found about how these
switches work by consulting the appropriate Data Sheets for the receiver ICs used in this kit. To avoid acci-
dental misprogramming of the receiver IC when using this demonstration kit, avoid pushing the white
“CONFIGURE” button when the black slide switch is in the “STK512” position!
2-6
5170C–AVR–10/09
STK512 User Guide

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]