EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / Good AVR compiler

Good AVR compiler

|

Microcontroller › AVR › Good AVR compiler

  • This topic has 6 replies, 5 voices, and was last updated 14 years, 2 months ago by Anonymous.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • May 9, 2012 at 3:36 pm #1793
    anilph
    Participant

    Hello friends

     

     kindly pls tell me which is the best free AVR compiler  availabe ?

     

    I have downlode AVR studio 4 but the simulator is not updating as I run my program

     

    And please tell me how to access a single port pin (like P3.0 in AT89S51) ?

     

    I can t accessthe port pins individually like PORTD0

     

    Plesa help

     

    May 10, 2012 at 5:41 am #7700
    Amrith
    Participant

    Hello,

     

    The basic AVR compiler is CodeVision AVR, it is user friendly. Also, you can build your own programmer to dump your code in microcontroller. Follow up Code Vision AVR tutorial. It can be downloaded from internet. 

    May 10, 2012 at 5:41 am #7719
    Amrith
    Participant

    Hello,

     

    The basic AVR compiler is CodeVision AVR, it is user friendly. Also, you can build your own programmer to dump your code in microcontroller. Follow up Code Vision AVR tutorial. It can be downloaded from internet. 

    May 10, 2012 at 2:04 pm #7708
    D.V.G. Krishna
    Participant

    you better go for bitmasking

    May 10, 2012 at 2:04 pm #7727
    D.V.G. Krishna
    Participant

    you better go for bitmasking

    June 12, 2012 at 11:29 am #8010
    swk
    Participant

    Anilph, current version of AVR studio is 6.0, so use the latest always. and this version comes with GCC AVR compiler (WinAVR) so you can start your program right away.

     

    if you are using code vision avr, then to access portD 0 as output you have to set the data direction.

     

    here is the sample code for CVAVR.

     

    DDRD.0 = 1;

    PORTD.0 = 1; //ON

    PORTD.0 = 0; //OFF

     

    ~SwK.

    June 12, 2012 at 12:32 pm #8014
    Anonymous
    Guest

    Thank you friends

      Kindly please help me to use the headerfiles 

    How can I choose the correct header files?

     

    Cant we use or controll individual port pins like

    PORTD0 instead of using masking ?

     

    Whether there are any simple free compilers other than ATMRL Studio?

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 Arrowfly LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of Arrowfly
Privacy Policy | Advertising

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise