Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/23/07 17:14
Read: times


 
#135689 - No linker with CodeVision AVR
Responding to: ???'s previous message
I both use and like the CodeVision AVR C compiler. It currently does not link.

I suspect that your main issues with a migration between 8051 and AVR coding will be:

Accessing SFR bits, accessing FLASH and EEPROM areas. Do you use generic pointers?

The different behaviour of ports and DDRs.

Syntax of IRQ functions.

Implementing macros to hide these differences.

If you are in the habit of using compiler "features", you can come unstuck with porting. I personally try to use Vanilla C and try not to use library functions. Most of my code compiles under both Keil and CV. I am far happier with a command line compiler. Unfortunately CV only works with an IDE. I would suggest that you use GCC.

Code size and code efficiency could be important. GCC will give you fairly large code size. However it is pretty stable.



List of 66 messages in thread
TopicAuthorDate
Keil \\\'51 and AVR            01/01/70 00:00      
   AVR?            01/01/70 00:00      
      AVR            01/01/70 00:00      
      you got me, Atmel AVR            01/01/70 00:00      
   The standard compiler for the avr is avr-gcc            01/01/70 00:00      
      OH NO            01/01/70 00:00      
         Well, at least you do have the opportunity            01/01/70 00:00      
            I'll tell my boss that the project will get delaye            01/01/70 00:00      
               On the other hand            01/01/70 00:00      
                  part of the reason for this post            01/01/70 00:00      
         Do not use            01/01/70 00:00      
            michael some questions            01/01/70 00:00      
               partial answer            01/01/70 00:00      
                  actually            01/01/70 00:00      
               IAR...            01/01/70 00:00      
      used avr-gcc in the year 2000 and            01/01/70 00:00      
   Time to eat your words!            01/01/70 00:00      
      not really            01/01/70 00:00      
   you can save a lot of time if you create            01/01/70 00:00      
      very helpful, thanks            01/01/70 00:00      
   yes and if you can describe in more            01/01/70 00:00      
      ok, here we go            01/01/70 00:00      
         RESTATE PURPOSE of thread            01/01/70 00:00      
            What bugs???            01/01/70 00:00      
            I suggest Imagecraft C compiler            01/01/70 00:00      
               Ive found that gcc produces fast code and its free            01/01/70 00:00      
                  Worthless statistics            01/01/70 00:00      
                     the issue here is            01/01/70 00:00      
                        if I understand it right...            01/01/70 00:00      
                           Not so strange?            01/01/70 00:00      
                              this is slightly different            01/01/70 00:00      
               GCC - over-strict ANSI?            01/01/70 00:00      
            CodeVision AVR            01/01/70 00:00      
               CodeVision - no Linker?            01/01/70 00:00      
                  No linker            01/01/70 00:00      
                     pray tell            01/01/70 00:00      
                        IAR            01/01/70 00:00      
                           sounds par for the course            01/01/70 00:00      
                     No linker with CodeVision AVR            01/01/70 00:00      
                        Both '51 and AVR at the same time?            01/01/70 00:00      
                           yes and no            01/01/70 00:00      
                           8051 to AVR migration            01/01/70 00:00      
                              questions, misunderstandings, answers            01/01/70 00:00      
                                 so you have the solution?            01/01/70 00:00      
                                    it's IAR            01/01/70 00:00      
                                       Just for the AVR...            01/01/70 00:00      
                                          I do not know, I did not ask            01/01/70 00:00      
                                             some snippets on AVRs...            01/01/70 00:00      
                                                interesting, evidently they have taken upon themse            01/01/70 00:00      
                                                   your link was broken            01/01/70 00:00      
                                                      But what about 1 instead of I?            01/01/70 00:00      
                                                         this is not about mistypes, it is about missing            01/01/70 00:00      
                                                            apparently, Atmel admits it...            01/01/70 00:00      
                                                               so where is the 51freaks equivalent            01/01/70 00:00      
                                                                  the "confirmation" is apparently...            01/01/70 00:00      
                                                               you just have to accept eric doesnt like atmel            01/01/70 00:00      
                                                   or            01/01/70 00:00      
               bit variables on WINAVR            01/01/70 00:00      
                  using avrstudio and gcc generated .coff files            01/01/70 00:00      
   well, the whole story seems to be not            01/01/70 00:00      
      My experience            01/01/70 00:00      
   just a few words            01/01/70 00:00      
      SiLabs non-American?            01/01/70 00:00      
         not the chip, the board            01/01/70 00:00      
   WINAVR experience            01/01/70 00:00      
      WinAVR <=> GCC            01/01/70 00:00      

Back to Subject List