FastAVR_User_manual.pdf

(1234 KB) Pobierz
Microsoft Word - FastAVR.doc
Xvhu#Pdqxdo#
374077497.010.png
FastAVR Basic compiler Manual
IdvwDYU####
Basic like Compiler
Version 4.0.0
User Manual
March 2004 by MicroDesign
1
IdvwDYU
374077497.011.png
 
FastAVR Basic compiler Manual
1.
Introduction
My sincere thanks to Michael Henning and Steve Childress , for theirs assistance in writing Help and Manual.
Welcome to FastAVR – the best Basic-like language compiler for the Atmel AVR family of 8-bit microprocessors!
Basic is a High Level Language, much easier to learn and understand than assembler or C.
FastAVR Basic is a language consisting of most of the familiar BASIC keywords but has been significantly
extended with many additional very useful functions, like LCD, I2C, 1WIRE, Keyboards and many others!
FastAVR Basic Compiler has been specially written to fully support the programmer's needs to control the new
AVR Microcontroller family!
FastAVR Basic Compiler allows complex operations to be expressed as short but powerful Keywords, without
detailed knowledge of the CPU instruction set and internal circuit architecture. However, the processor-s data
sheets remains the main source anyway.
FastAVR Basic Compiler hides unnecessary system details from the beginning programmer, but also provides
assembler output for advanced programmers!
FastAVR Basic Compiler enables a faster programming and testing cycle.
FastAVR Basic Compiler allows the structure of the program to be expressed more clearly.
1.1.
Compiler Operating System Compatibility
Windows 98SE
Windows NT 4
Windows 2000
Windows XP
2
374077497.012.png 374077497.001.png
 
FastAVR Basic compiler Manual
1.2.
AVR chip supported
The most current list of AVR chips supported by the compiler is in the readme file that accompanies the installation
software. Refer to Atmel's specifications or web site for descriptions. At this User's Guide release, the Atmel AVR
chips supported are as follows.
2313
2323
2343
2333
4433
4414
8515
4434
8535
8534
ATiny13
ATiny2313
ATiny26
ATmega161
ATmega163
ATmega103
Atmega8 (see note 1)
Atmega16 (see note 1)
Atmega32 (see note 1)
Atmega323 (see note 1)
ATmega64 (see note 1)
ATmega128 (see note 1)
For processors with RAM sizes of 256 bytes or less, such as the 2313, the compiler will create much
smaller code sizes – typically 30% or better. This is done by generating code with addresses that are 8
rather than 16 bits – eliminating much needless code.
Most other Basic and C compilers do not provide this important optimization for small-RAM
microprocessors.
Note 1: Compiler support for these processors requires some user-written definitions of some new register names
and special coding for certain new features.
3
374077497.002.png 374077497.003.png
 
FastAVR Basic compiler Manual
1.3.
Development Environment
The FastAVR Integrated Development Environment (IDE) runs on the Microsoft Windows operating systems. The
IDE includes a user friendly, language-context based editor for easliy creating and altering program modules. The
IDE, shown below, uses the Atmel AVR Studio software (freeware from Atmel and inexpensive and widely available
in-circuit AVR chip programming hardware.
FastAVR Editor
for your
program’s
source code
FastAVR
Compiler
Atmel
AVR
Studio
Assembler
Binary code
for AVR
Chip
Optional Assembly
Language Source
and Listing
AVR In-
circuit
Programmer
Hardware
Optional Use of Atmel
AVR Studio Debugger
FastAVR Development Environment
The FastAVR user interface makes the use of the editor, compiler, and Atmel Studio assembler and chip
programmer very easy – there is a single window to control the process. The Atmel Studio's user interface is not
needed in most cases, with FastAVR .
The Atmel Studio software is freely available from the Atmel Web site.
There are several in-circuit programmers (ISP) for the AVR chip family. Choose one that is compatible with the ISP
software you intend to use. Many of the inexpensive hardware ISP products are compatible with the ISP in the AVR
Studio package. A PC parallel port interface to the ISP hardware is commonly used.
4
374077497.004.png 374077497.005.png 374077497.006.png 374077497.007.png 374077497.008.png 374077497.009.png
 
Zgłoś jeśli naruszono regulamin