Presentation is loading. Please wait.

Presentation is loading. Please wait.

Getting Started with ATMEL Studio 6

Similar presentations


Presentation on theme: "Getting Started with ATMEL Studio 6"— Presentation transcript:

1 Getting Started with ATMEL Studio 6
Richard Anthony

2 The courses: COMP 1659 Introduction to Smart Systems
and COMP 1660 Smart Systems Development are accompanied by many code examples. These are accessible under the link “Richard’s technical resources” in Moodle (and then select the link “Student resources (Embedded Systems)”). The code examples show how to program the ATMEL microcontroller to use the in-built resources such as timers, analogue to digital converter etc. Many of the code examples show how to use a specific input / output device. Programming the ATMEL will be done using ATMEL Studio 6 for these courses: START -> Electronics -> Atmel Studio 6.0 Note: Code samples for ATmega1281 are (generally) provided with complete Atmel Studio 6 projects. Some code may be provided as source code only.

3 ATMEL STUDIO 6 Startup screen
You can either use ‘new Project’ or open a previously worked on project

4 The ‘New Project’ page 1. Select language C or assembler
2. Select type of project - for C select GCC C Executable Project for Assembler, select AVR Assembler Project 3. Set name of project and path Set it to J: not C: if working at University

5 Note that a link to the datasheet is automatically provided
Device Selection Note that a link to the datasheet is automatically provided Select ATmega1281

6 A new source file is opened in the editor Either: start writing your code, Or, Paste in code from a different project (e.g. sample code provided for this course) You can open sample code for earlier versions of AVR Studio in Notepad for the purpose of copying the text and pasting into here. For assembly projects you only need copy the .asm file, For C projects you only need the .C file

7 Programming and Debugging the ATmega1281
There are various additional course materials that relate to 1. Programming the ATmega1281 via either: the Dragon (which has integral support within Atmel Studio 6) or the AVR-ISP (which is an external tool and only requires the .hex file) 2. Debugging the program on the ATmega1281 using the Dragon See the slides entitled “Programming and Debugging with the Dragon and JTAG” and several videos relating to setting up the equipment and programming with the Dragon.


Download ppt "Getting Started with ATMEL Studio 6"

Similar presentations


Ads by Google