+ Post New Thread
Results 1 to 16 of 16
  1. #1
    Junior Member level 2
    Points: 1,944, Level: 10

    Join Date
    Feb 2003
    Location
    VIETNAM
    Posts
    22
    Helped
    1 / 1
    Points
    1,944
    Level
    10

    best avr compiler

    What C compiler is the best for AVR?
    (Compiler, Link, Debug, Emulation...)
    Thanks.

    •   AltAdvertisment

        
       

  2. #2
    Advanced Member level 4
    Points: 15,991, Level: 30

    Join Date
    Mar 2002
    Posts
    1,309
    Helped
    59 / 59
    Points
    15,991
    Level
    30

    best compiler for avr

    Readt his:
    Which C-compiler should I choose?
    http://www.avrfreaks.com/Freaks/Arti...nson/intro.php

    I have heard that IAR is the best, but it is also the most expensive. IAR was actuallly involved in the development of the AVR: http://www.atmel.com/dyn/resources/p...s/COMPILER.pdf

    Fine tuning AVR
    There are several advantages in using HLLs in stead of using Assembly language when
    developing microcontroller applications. There has, however, traditionally been one
    major disadvantage: the size of the code increases. The AVR microcontroller was
    developed with the C language in mind in order to make it possible to construct a code
    efficient C compiler for AVR. To improve this feature even more, the development of
    the C compiler was started before the architecture and the instruction set were
    completed. By allowing professional compiler developers at IAR Systems in Sweden
    to comment on the architecture and instruction set, we were able to make a
    microcontroller very well suited for C compiler generated code.



  3. #3
    Advanced Member level 4
    Points: 15,991, Level: 30

    Join Date
    Mar 2002
    Posts
    1,309
    Helped
    59 / 59
    Points
    15,991
    Level
    30

    best c compiler for avr




  4. #4
    Full Member level 4
    Points: 4,353, Level: 15
    Antharax's Avatar
    Join Date
    Jan 2000
    Posts
    208
    Helped
    14 / 14
    Points
    4,353
    Level
    15

    best avr c compiler

    The best compiler for AVR is the gcc port for AVR (FREE, available on windows and linux)
    But it might be a bit hard to learn if you're used to gui's and stuff.

    Compared to code size and efficiency it beats the imagecraft compiler. (i've heard it beats the IAR compiler too but i cannot confirm that one)

    When you need an "easy" compiler, IAR is probably the best for AVR (as keil is the best for 8051). Imagecraft is OK although the gui sucks (especialy the editor and project management have lack of gui features!!! When you use it, you'd probably wanna use a descent editor because even my scrollmouse doesn't work with it!)

    Antharax



  5. #5
    Advanced Member level 4
    Points: 15,991, Level: 30

    Join Date
    Mar 2002
    Posts
    1,309
    Helped
    59 / 59
    Points
    15,991
    Level
    30

    avr compilers

    CodeVision is probably the easiest compiler to use with its CodeWizard to start new projects in no time.

    I would choose between these four compilers:

    IAR www.IAR.com - Very expensive but very professional and supports almost every other MCU families, which makes it easy to change to another MCU family.

    CodeVison www.hpinfotech.ro - Good price. Easy CodeWizard

    ImageCraft www.imagecraft.com/software - Fairly priced. Make compilers for Motorola, Texas Instruments & Cypress Micros as well

    WinAVR (Windows version of AVR GCC) www.avrfreaks.com/AVRGCC/index.php - Free and very good despite of that.



  6. #6
    Advanced Member level 1
    Points: 7,145, Level: 20

    Join Date
    Dec 2001
    Posts
    467
    Helped
    31 / 31
    Points
    7,145
    Level
    20

    best c complier for avr

    I surpport that IAR is the best, It is all-sided.



  7. #7
    Newbie level 6
    Points: 1,790, Level: 9

    Join Date
    May 2003
    Posts
    12
    Helped
    0 / 0
    Points
    1,790
    Level
    9

    winavr sucks

    WinAVR is very good, and is updated almost every month.
    The only problem is WinAVR doesn't have it's own IDE, and you have to write"makefile", so it maybe difficult for beginner. But , writing "makefile" is not very difficult (you can just modify the sample makefile a bit), and you can make your own IDE with UltraEditor or SourceInsight. So, I recommend WinAVR.



    •   AltAdvertisment

        
       

  8. #8
    Full Member level 5
    Points: 3,682, Level: 14

    Join Date
    May 2001
    Posts
    251
    Helped
    15 / 15
    Points
    3,682
    Level
    14

    what is the best avr ide with gui for linux

    hi ...

    i tried iar,icc,cvavr and gcc ... i preffer iar because of very good code produced. Besides of this i also found it very strict iow it does what you programmed it for. Also gui is very fine .Icc has some undescribed bugs,
    gcc is quite late with support of new devices and cvavr is very good for small easy project .. when you plan large project go fo iar .. when you programm small chip go for cvavr. You can integrate AVREAL32 programmer to it very easy .. it is very good combination

    regards

    cancel



  9. #9
    Newbie level 4
    Points: 1,759, Level: 9

    Join Date
    Apr 2003
    Posts
    7
    Helped
    0 / 0
    Points
    1,759
    Level
    9

    ultraedit gcc avr

    IAR is the best,i agree



  10. #10
    Full Member level 5
    Points: 4,121, Level: 15

    Join Date
    Apr 2002
    Location
    thailand
    Posts
    318
    Helped
    25 / 25
    Points
    4,121
    Level
    15

    which one is the best avr compiler?

    I choose CodevisionAVR to Avr develop.



  11. #11
    Newbie level 2
    Points: 1,718, Level: 9

    Join Date
    Jun 2003
    Posts
    2
    Helped
    0 / 0
    Points
    1,718
    Level
    9

    bester avr compiler

    I choose WinAVR



  12. #12
    Newbie level 3
    Points: 1,759, Level: 9

    Join Date
    Apr 2003
    Posts
    3
    Helped
    0 / 0
    Points
    1,759
    Level
    9

    best c compiler avr

    Just now I'm deciding what to use as a main C compiler for AVR and what I can say based in what I've played is:

    IAR
    Pro: OK for medium-big-HUGE, or if you plan to work in various uP (ARM/PIC/AVR)
    Con: not very user friendly, no appwizards, expensive

    ICC
    pro: OK for little-medium, user friendly, lot of code in the web, appwizard
    con: project support

    GNU:
    pro:gnu
    con: cmdline

    I like ICC, I think IAR will be more useful in a long time basis

    Only my 2c, you know.

    /W



    •   AltAdvertisment

        
       

  13. #13
    Member level 1
    Points: 2,732, Level: 12
    jivega's Avatar
    Join Date
    Oct 2001
    Location
    South-America
    Posts
    35
    Helped
    0 / 0
    Points
    2,732
    Level
    12

    best compiler for avr

    I choose IAR + Proteus for simulation and debug.



  14. #14
    Newbie level 2
    Points: 1,688, Level: 9

    Join Date
    Sep 2003
    Posts
    2
    Helped
    0 / 0
    Points
    1,688
    Level
    9

    winavr i ultraedit

    I've found WinAVR from AVR Freaks fine for small to medium scale projects. Theres plenty of people around who know a lot about it and are prepared to help for free.

    vkem



  15. #15
    lzgq
    Guest

    best compilers for avr microcontrollers

    I choose cvavr



  16. #16
    Newbie level 3
    Points: 1,688, Level: 9

    Join Date
    Sep 2003
    Posts
    4
    Helped
    0 / 0
    Points
    1,688
    Level
    9

    best avr c code

    hai,

    i choose icc compiler .its easy to use.and also its has code generatos.



--[[ ]]--