AN INTRODUCTION INTENDED FOR PEOPLE WITH NO PRIOR AVR KNOWLEDGE - AVRFREAKS.NET
6
2. This is the name of the project. It could be anything, but "Leds" is quite
descriptive of what this program is going to do
3. Here you can specify if AVR Studio should automatically create a initial
assembly file. We want to do this. The filename could be anything, but use
"Leds" to be compatible with this tutorial!
4. Select the path where you want your files stored
5. Verify everything once more, and make sure both check-boxes are
checked. When you are satisfied, press the "Next >>" button
Step 3: Selecting Debug Platform
The AVR Studio 4 Software can be used as a frontend software for a wide range
of debugging tools.
1. AVR Studio 4 supports a wide range of emulation and debugging tools.
Since we have not purchased any of these yet, we will use the built in
simulator functionality.
2. ..and we want to develop for the AT90S8515 device
3. Verify all settings once more, then press "Finish" to create project and
go to the assembly file
Step 4: Writing your very first line of code
AVR Studio will start and open an empty file named Leds.asm. We will take a
closer look at the AVR Studio GUI in the next lesson. For now note that the
Leds.asm is not listed in the "Assembler" folder in the left column. This is because
the file is not saved yet. Write in this line: "; My Very First AVR Project" as shown
in the figure below. The semicolon ; indicates that the rest of the line should be
treated as a comment by the assembler.
Komentáře k této Příručce