now we will be a little review about the programming
language for digital electronics. who want to learn mrogram robot, LCD, etc. it
is advisable to try this software ..
yuuk .. together we learn ..
CodeVisionAVR is a free software that serves as a text
editor in writing as well as a command line compiler that can transform the
source file into a hex file. CodeVisionAVR software demo version can be
downloaded from http://www.hpinfotech.ro/cvavr_download.html.
CodeVisionAVR provide various facilities that enable the
user. One is CodeWizardAVR that provides the ease of configuration pin
functions and features that you want to use. Users can create and run programs
written, then test it step by step so that the user can observe changes to the
data in each register and the I / O ports.
Additionally CodeVisionAVR also provides a toolbar that
allows users to perform a variety of desired interactions, and also has a
working arena quite freely.
INSTALLATION
So that the user can use the software CodeVisionAVR then the
user must install it first. CodeVisionAVR The software installation process is
quite easy.
Double-click the master program CodeVisionAVR.
Follow the steps that are required and make changes as
needed.
Once completed, the program can be directly executed.
MAKE A NEW PROGRAM
Creating a new program using CodeVisionAVR not difficult.
The steps that must be done is as follows:
Run the program CodeVisionAVR. With a double click on the
Icon CodeVisionAVR as in figure 1.1.
At the time of the program run CodeVision AVR then a blank
screen appears as shown in figure 1.2.
Click the File menu and select New, then the selection window appears as in Figure 1.3.
To create a new program choose Project and then click OK,
then comes the question that asks if we want to use CodeWizard AVR as in figure
1.4 below, then select Yes.
CodeWizardAVR window appears as Figure 1.5. On the Chip tab,
do the configuration as shown in figure 1.5.
Next select the Ports tab, and then do the settings as shown in figure 1.6.
Then select the File menu and select Generate, Save and Exit. Then we asked to store three types of files in sequence. Recommended third save the file in the same folder.
Once completed, the program will look like the image CodeVisionAVR 1.7, which shows that there has been a program that has been configured and ready to use or insert additional program.
Once completed, the program will look like the image CodeVisionAVR 1.7, which shows that there has been a program that has been configured and ready to use or insert additional program.
Then prepare the main program as shown in Figure 1.8 below.
Once done we can compile the program by going to the Project menu and select Build All or Ctrl + F9.
If the program is correct or not there is an error, it will show the information window as shown below 1.9
Then click OK, and the program ready for download to the circuit.
Langlah-step process above is to generate a file with the machine language hex file with the extension
(*.hex). This file is required to be filled out (download) to the microcontroller IC, because the microcontroller only understands machine language. These stages will continue to be made each create a new program.
greetings Indonesia
link download code vision AVR: http://www.hpinfotech.ro/cvavr_download.html
0 Response to "Intro - AVR CodeVision"
Post a Comment