Download
demo version of C-AVR
Click below to download the demo
of C-AVR :
cavrd.zip (about 2 MBytes)
But First, please read instructions to install the demo version of
C-AVR. You may also read instructions to
create your first project and compile it.
Instructions
to install demo of C-AVR :
Create a temporary directory on
your hard disk (e.g. C:\TEMP) and copy the file cavrd.zip
in it. To install the demo version, extract cavrd.zip. This will create
many other files – including SETUP.EXE. Run SETUP.EXE by double-clicking on it,
and follow the instructions to install the demo.
Once the installation is
complete, the option "SPJ Systems' C-AVR" will be added to your
Start/Programs menu. It contains one program : "C-AVR". Click on
"C-AVR" to start the Integrated Development Environment. Create a
project, write your own program (only it should be < 120 lines) and compile.
Or you may read instructions to create your
first project and compile it.
Even though this is DEMO ONLY
version, it is full feature compiler with only two limitations :
1.
It will not compile programs more than 120 lines long.
2.
The Visual Code Generator generates code, but does not copy it
onto clipboard.
Instructions
to create / compile your first project using C-AVR :
- Select Start / Programs / SPJ
C-AVR / C-AVR. This will start the IDE program.
- From Project menu of
the IDE program, choose New Project.
- You will be required to
select the path where you wish to create a new project, and type a name
for the project (do not type any filename extention). Then click on the
OPEN button.
- The CAVR Project Settings
dialog will be displayed. Select the desired micro-controller from the
list.
- Other settings may or may not
be changed, depending on your application.
- Click on OK button to close
the Project Settings dialog.
- A C source file will be
automatically created by the project manager. This will have the same name
as your project name, but extention will be .C. This C file will be
automatically added to the Project and now you will see it opened in the
editor of the IDE.
- Please check that the C file
contains an #include <> statement with appropriate header file for
your selected micro-controller. Further, this C file will also contain an
empty main() function. You may write any code here.
- When finished editing, select
Compile/Build from the menu. This will compile the C file.
Error and warning messages will be displayed in the output window (just
below the editor window). When there are no errors, the .HEX file will be
created. This will have the same name as project file or C file, but
extention will be .HEX. This can be used to program the micro-controller
or EPROM.