-->

application CodeVision AVR v3

 Application Code Vision AVR v3

  I will give a tutorial on the application Code Vision AVR  follows : 
  1. download application Code Vision AVR

  2. install applications Code Vision AVR 

  3. uninstall applications Code Vision AVR 

  4.  how to use Code Vision avr

Before discussing the application tutorial Code Vision AVR, did you know that the application ap Code Vision AVR, and I will explain the application edit Code Vision AVR

#  understanding

Code Vision AVRCode Vision AVR is a cross-compiler C language-based, Integrated Development Environment (IDE) and the program automatic generator specifically designed for Atmel AVR micro controller family Mikrokotroler. The program is designed to run on operating systems XP, Vista and Windows 7 architecture 32-bit or 64-bit.

# Features - Features  

application Code Vision AVR :

  • C standard library,
  • xmega
  • Alphanumeric and graphic LCD modules
  • Bus I2C
  • National Semiconductor LM75 temperature sensor
  • Philips PCF8563, PCF8583, Maxim / Dallas Semiconductor DS1302 and DS1307 Real Time clock
  • Maxim / Dallas Semiconductor one-wire protocol
  • Maxim / Dallas Semiconductor DS1820, DS18S20 and DS18B20 Temperature Sensor
  • Maxim / Dallas Semiconductor DS1621 Thermometer / Thermostat
  • Maxim / Dallas Semiconductor DS2430 and DS2433 EEPROM
  • SPI
  • ADC (Analog To Digital Converter)
  • comparators
  • TWI for XMEGA and non-XMEGA chip Power Management
  • delay / timer
  • MMC / SD / SD HC FLASH
  • atmega 32 and atmega 16

 # information

  • Besides software also comes with Chip programmer compatible with Atmel STK500, STK501, STK502, STK600, AVRISP (serial), AVRISP  MkII (USB), AVR Dragon, JTAGICE MkII, Atmel AVR910 application note, Kanda Systems STK200 + and STK300 development boards , Vogel Elektronic VTEC-ISP, Dontronics DT006 so that we do not need to download any additional tools Compile the results to the target micro controller.
  • because of facility and program generator (code wizard) then CodeVision become a favorite tool for programmers micro controller-based language C.
  • Code Vision at the time of this writing has released version 2.05.3 which has several new features than the older version. The features include:Alphanumeric LCD where Pin I / O on the LCD can be set differently PORT so not only limited to one PORT only.
  • SSD1289 Graphic type LCD modules, KS0108, SED1335, S1D13700, SED1520, SED1530, SPLC501C, ST7565, T6963C and PCD8544 (Nokia 3310, 5510) Controller. and signal LCD PIN can be set differently PORT.
  • supports the type AVR XMEGA

Chip and Frequency Selection Xtall

The first step in using CVAVR is forming a new project to create a new project click the prompt appears asking if you want to take advantage of the help of code wizard, select only ok then you will enter the code wizard. The first step that must be done on a code wizard is selecting the type of microcontroller chips used in the project and the frequency xtall used. Selection xtall frequency chip and can be seen as shown below.


Code Vision AVR 2.05.3 Full Version

 Initialization Port I / O

Port initialization function to select the function of the port as input or output. In the port configuration as the output can be selected at the start after a reset condition of port logic 1 or 0, while in the port configuration As with input there are two choices that condition input pin toggle state or pull-ups, then you should have a pull-up to give a default on the input always logic 1. each port amounted to 8 bits, the configuration of the port can be set according to need. The configuration settings can be done perbit, so in one port can be functioned as input and output with its default values vary. The following figure shows the configuration settings on a port with a set as input all.
.

Code Vision AVR 2.05.3 Full Version
 
 A few of my information I just give a little information about the application code vision avr

A. how to download he application Code Vision Avr

  1. open your mozilla firefox
  2. open google.com
  3. search downlod application code version avr 
  4. then download application mentioned


B. How to installing the Application Code Vision AVR 


  1.   Download the CodeVision AVR
  2.   Locate the application that you have downloaded AVR CodeVision Then click several times 
  3.   Then press next = >
  4.   i agree to choose the .... after click next = >
  5.   then fill in the following records:  
  6.   after press next = >
  7.   then press next =>
  8.   choose install shout cuts for ..... then press next = >
  9.   Press next = >
  10.   Wait for the installation process after press finish
  if you are not clear with the tutorial above, you can see the video tutorial installing applications CodeVision AVR below:


 


display code vision avr

 Code Vision AVR 2.05.3 Full Version

  C. How to use code vision Avr

Her following steps :

  • To start working with Code VisionAVR select the menu File after choose  New
Code Vision AVR 2.05.3 Full Version
  •  choose type project then OK

Code Vision AVR 2.05.3 Full Version
  • Then choose yes
Code Vision AVR 2.05.3 Full Version
  • If you have finished it


  • the process of storing up to 3 times
  • Once the process is completed save file, appear as below. This is where we will write a program.


  • then her look like this

 

001 /***************************************************** This program was   produced by the
002 CodeWizardAVR V2.04.4a   Evaluation
003 Automatic Program   Generator
004 © Copyright 1998-2009   Pavel Haiduc, HP InfoTech s.r.l.
005 Project :
006 Version :
007 Date    : 20/12/2009
008 Author  : Freeware, for evaluation and   non-commercial use only
009 Company :
010 Comments:
011 Chip type               : ATmega8535
012 Program type            : Application
013 AVR Core Clock   frequency: 8,000000 MHz
014 Memory model            : Small
015 External RAM size       : 0
016 Data Stack size         : 128
017 *****************************************************/
018 #include  
019 #include
020 // Declare your global   variables here
021 void   main(void)
022 {
023 // Declare your local   variables here
024 // Input/Output Ports   initialization
025 // Port A   initialization
026 // Func7=In Func6=In   Func5=In Func4=In Func3=In Func2=In Func1=In Func0=In
027 // State7=T State6=T   State5=T State4=T State3=T State2=T State1=T State0=T
028 PORTA=0x00;
029 DDRA=0x00;
030 // Port B   initialization
031 // Func7=In Func6=In   Func5=In Func4=In Func3=In Func2=In Func1=In Func0=In
032 // State7=T State6=T   State5=T State4=T State3=T State2=T State1=T State0=T
033 PORTB=0x00;
034 DDRB=0x00;
035 // Port C   initialization
036 // Func7=In Func6=In   Func5=In Func4=In Func3=In Func2=In Func1=In Func0=In
037 // State7=T State6=T   State5=T State4=T State3=T State2=T State1=T State0=T
038 PORTC=0x00;
039 DDRC=0x00;
040 // Port D initialization
041 // Func7=Out Func6=Out   Func5=Out Func4=Out Func3=Out Func2=Out Func1=Out Func0=Out
042 // State7=0 State6=0   State5=0 State4=0 State3=0 State2=0 State1=0 State0=0
043 PORTD=0x00;
044 DDRD=0xFF;
045 // Timer/Counter 0   initialization
046 // Clock source: System   Clock
047 // Clock value: Timer 0   Stopped
048 // Mode: Normal top=FFh
049 // OC0 output:   Disconnected
050 TCCR0=0x00;
051 TCNT0=0x00;
052 OCR0=0x00;
053 // Timer/Counter 1   initialization
054 // Clock source: System   Clock
055 // Clock value: Timer1   Stopped
056 // Mode: Normal   top=FFFFh
057 // OC1A output: Discon.
058 // OC1B output: Discon.
059 // Noise Canceler: Off
060 // Input Capture on   Falling Edge
061 // Timer1 Overflow   Interrupt: Off
062 // Input Capture   Interrupt: Off
063 // Compare A Match   Interrupt: Off
064 // Compare B Match   Interrupt: Off
065 TCCR1A=0x00;
066 TCCR1B=0x00;
067 TCNT1H=0x00;
068 TCNT1L=0x00;
069 ICR1H=0x00;
070 ICR1L=0x00;
071 OCR1AH=0x00;
072 OCR1AL=0x00;
073 OCR1BH=0x00;
074 OCR1BL=0x00;
075 // Timer/Counter 2   initialization
076 // Clock source: System   Clock
077 // Clock value: Timer2   Stopped
078 // Mode: Normal top=FFh
079 // OC2 output: Disconnected
080 ASSR=0x00;
081 TCCR2=0x00;
082 TCNT2=0x00;
083 OCR2=0x00;
084 // External   Interrupt(s) initialization
085 // INT0: Off
086 // INT1: Off
087 // INT2: Off
088 MCUCR=0x00;
089 MCUCSR=0x00;
090 // Timer(s)/Counter(s)   Interrupt(s) initialization
091 TIMSK=0x00;
092 // Analog Comparator   initialization
093 // Analog Comparator:   Off
094 // Analog Comparator   Input Capture by Timer/Counter 1: Off
095 ACSR=0x80;
096 SFIOR=0x00;
097 while   (1)
098 {
099 PORTD=0xFF;
100 delay_ms(1000);
101 PORTD=0x00;
102 delay_ms(1000);
103 };
104 }
  • finish

 D.How to Uninstall Application Code Vision AVR

Steps to install application CodeVision AVR
the following
  1. Go to Start = > control panel  
  2. Select the programs
  3.  Select a program and features.
  4.   Locate and then click the application several times on application CodeVision AVR Until the screen like this
  5. Select YES.
  6. Select OK
If uninstall successfully as shown below.
 
Completed applications Code Vision AVR application has been uninstalled and has been missing from your computer. NB: if not already familiar with how to uninstall the application tutorial CodeVision AVR application you can see the video tutorial this
THE FOLLOWING







thank you



Disqus Comments