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 13 years, 1 month 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

  • More fun with ws2812 this time XC8 and CLC July 17, 2025
  • Pic18f25q10 osccon1 settings swordfish basic July 16, 2025
  • Pickit 5 July 16, 2025
  • turbo jet fan - feedback appreciated. July 16, 2025
  • I Wanna build a robot July 16, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media 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 WTWH Media
Privacy Policy | Advertising | About Us

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