Latest Updates

Intro - AVR CodeVision

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.
Icon CVAVR
Figure 1.1 Icon CodeVisionAVR
At the time of the program run CodeVision AVR then a blank screen appears as shown in figure 1.2.
Tampilan awal
Figure 1.2 Display Code Vision AVR
 Click the File menu and select New, then the selection window appears as in Figure 1.3.
Create new File
Figure 1.3 Window Option File Type
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.

Confirm
Figure 1.4 Window Confirm CodeWizardAVR

CodeWizardAVR window appears as Figure 1.5. On the Chip tab, do the configuration as shown in figure 1.5.
Code Wizard
Figure 1.5 CodeWizardAVR on Chip tab

Next select the Ports tab, and then do the settings as shown in figure 1.6.

Code Wizard PA
Figure 1.6 CodeWizardAVR on Ports tab

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.

Hasil Code Wizard
Figure 1.7 CodeVision Programme configured AVR AVR Figure 1.7 CodeVision program is configured


Then prepare the main program as shown in Figure 1.8 below.
code
Figure 1.8 Inserting the main program

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

information
Figure 1.9 Window Information

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

Pageviews