Download Print this page

Advertisement

Quick Links

Introduction
An easy and fast way to start developing and evaluating the ATmegaS128 device
is to use the ATmega128A industrial version with the STK600 starter-kit.
This document guides you step by step to setup the hardware and software, to
program and run your first code with the ATmega128A device.
Requirements
To use this "Getting Started" document you need to gather the following
materials:
-
One STK600 evaluation kit (ATSTK600)
-
One STK600-RC064M-9 Routing board (ATSTK600-RC09)
-
One STK600-TQFP64 Socket Board with a ZIF socket. (ATSTK600-SC02)
-
One ATmega128A in TQFP64 package
-
Atmel Studio available from :
-
"ATmegaS128_led_chaser.zip" software File
Objective
The aim is prepare the hardware, program and run a short demo based on the
"led chaser" software.
APPLICATION NOTE
Hardware and Software Getting Started
http://www.atmel.com/Microsite/atmel-studio
Atmel-41074B-Aero-Hardware and Software Getting Started-05/2016
ATmega128A-STK600

Advertisement

loading

Summary of Contents for Atmel ATmega128A-STK600

  • Page 1 One STK600 evaluation kit (ATSTK600) One STK600-RC064M-9 Routing board (ATSTK600-RC09) One STK600-TQFP64 Socket Board with a ZIF socket. (ATSTK600-SC02) One ATmega128A in TQFP64 package Atmel Studio available from : http://www.atmel.com/Microsite/atmel-studio “ATmegaS128_led_chaser.zip” software File Objective The aim is prepare the hardware, program and run a short demo based on the “led chaser”...
  • Page 2: Hardware Configuration

    Hardware Configuration Step 1. Unpack the STK600 kit and install the RC064M-9 routing board as shown on the figure below. ATmega128A-STK600 [APPLICATION NOTE] Atmel-41074B-Aero-Hardware and Software Getting Started-05/2016...
  • Page 3 Step 2. Install the STK600-TQFP64 socket board as shown on the figure below. ATmega128A-STK600 [APPLICATION NOTE] Atmel-41074B-Aero-Hardware and Software Getting Started-05/2016...
  • Page 4 A(0-7) and LED(0-7) as shown in the figure below. Before connecting the USB cable, set the power switch to “Off” position. Those two cables are supplied in the STK600 kit. ATmega128A-STK600 [APPLICATION NOTE] Atmel-41074B-Aero-Hardware and Software Getting Started-05/2016...
  • Page 5 Verify that the jumpers and the switch are configured as shown on the figure below. The jumpers VTARGET, RESET, AREF0, AREF1 must be set and the clock switch must be set to “INT” position. ATmega128A-STK600 [APPLICATION NOTE] Atmel-41074B-Aero-Hardware and Software Getting Started-05/2016...
  • Page 6 Connect a 10-wires flat cable on the JTAG connector as shown on the figure below. The cable is supplied in the STK600 kit. Move the power switch to “ON” position. The hardware configuration is now complete. The next step will consist to run the application software. ATmega128A-STK600 [APPLICATION NOTE] Atmel-41074B-Aero-Hardware and Software Getting Started-05/2016...
  • Page 7: Software Configuration

    Prerequisite 2.: unzip the “led chaser” demo file. Step 7. Double click on the file “Led_Chaser.atsln”. It makes run Atmel Studio (if a window requesting an update appears, you can close it). Step 8. Click on the programming Icon as shown on the figure below.
  • Page 8 Select STK600 as tools, ATmega128A as device and JTAG as Interface then click on the “Apply” button. In return, the system should display the information shown on the figure below, meaning that the hardware configuration has been recognized by the system. ATmega128A-STK600 [APPLICATION NOTE] Atmel-41074B-Aero-Hardware and Software Getting Started-05/2016...
  • Page 9 Note: The ATmegaS128 is a 3.3V device while the ATmega128A is a 2.7-5.5V device. Therefore, the ATmega128A lets you the choice between 3.3V or 5V. The pictures of this document are provided with the 5V option. ATmega128A-STK600 [APPLICATION NOTE] Atmel-41074B-Aero-Hardware and Software Getting Started-05/2016...
  • Page 10 Adjust the voltage level by means of the cursor as shown on the figure below then click on the “Write” button. Verify the target voltage and the availability of the signature bytes (0x1E9702). ATmega128A-STK600 [APPLICATION NOTE] Atmel-41074B-Aero-Hardware and Software Getting Started-05/2016...
  • Page 11 Configuring the fuse bytes of the ATmega128A. Click on the “Fuses” option from the left menu. Those fuse bytes enable to configure several device hardware parameters. Verify that the M103C fuse is unselected, that the JTAGEN and SPIEN ones are selected, then click on the “Program” button. ATmega128A-STK600 [APPLICATION NOTE] Atmel-41074B-Aero-Hardware and Software Getting Started-05/2016...
  • Page 12 The demo should start after few seconds. Congratulations. You have now completely set up your hardware and software environment and programmed your first AVR based demo. Enjoy by changing the source code and reprogramming the chip. ATmega128A-STK600 [APPLICATION NOTE] Atmel-41074B-Aero-Hardware and Software Getting Started-05/2016...
  • Page 13: Revision History

    Revision History Doc Rev. Date Comments 10/2015 Initial document release. Page 1 : corrected errors on the ordering numbers of the STK600-RC064M-9 routing card and 05/2016 the STK600-TQFP64 socket card ATmega128A-STK600 [APPLICATION NOTE] Atmel-41074B-Aero-Hardware and Software Getting Started-05/2016...
  • Page 14 DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.

This manual is also suitable for:

Stk600-tqfp64