+ Reply to Thread
Results 1 to 5 of 5

Thread: Is it possible to use Codevision AVR C source in AVR studio?

  1. #1
    nihal_2000 Newbie
    Join Date
    Aug 2009
    Posts
    14

    Is it possible to use Codevision AVR C source in AVR studio?

    Hi guy's

    I wanted to some project. I found similar project code in Codevision AVR C. I am using AVR studio, can I use the same c program in AVR studio without any change. Code includes C source fiel, PRJ file and .hex file.

    Program is written in C, I think it can be used with some modification, If that is the case then please guide me what modification it needs?

    What is the difference between Codevision AVR C and Atmel AVR C compiler?

    Please guide me…..thanks to all!


  2. #2
    tytower Bad tytower Bad
    Join Date
    Oct 2006
    Posts
    189

    I dont know much about C or C++ but Ihave codevision and use it to test out small snippets of code like getting the data out of a string that is separated by commas. (String Tokeniser)

    I find I can run it and get a result without uploading it to a board. When I get it right I copy it and drop it into the arduino IDE sketch wich uses avrDude.

    The C++ code is the same I think , why would there be a difference ? If there is I'd like to know too.
    My Property and my Family are not for Govenments to control.That is not the purpose of Governments.
    To stop corruption in Government officials give them three times the penalty. They should, and do, know better. Let them commit to that when first employed

  3. #3
    cough-e Newbie
    Join Date
    Dec 2009
    Posts
    2

    Many things are different, as the codevision software has its own implemented compiler. in cv you can for example access all i/o pins bitwise by writng to and reading from PORTB.0 or PIND.6 for example. It also uses different laboratories etc etc.

  4. #4
    Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent
    Join Date
    Oct 2006
    Location
    Rochester, NY U.S.
    Posts
    9,650
    Blog Entries
    1

    I believe the only C compiler AVR Studio supports is AVR GCC Through WinAVR I believe.
    Last edited by Sceadwian; 14th December 2009 at 11:48 PM.
    "Because I be what I be. I would tell you what you want to know if I
    could, mum, but I be a cat, and no cat anywhere ever gave anyone a
    straight answer, har har."

  5. #5
    nihal_2000 Newbie
    Join Date
    Aug 2009
    Posts
    14

    thanks guy's!

+ Reply to Thread

Similar Threads

  1. CodeVision AVR Help
    By hitusharpatil in forum AVR
    Replies: 19
    Latest: 27th February 2009, 10:40 AM
  2. Replies: 6
    Latest: 25th August 2008, 01:50 AM
  3. Atmel AVR (CodeVision C Compiler)
    By demokesola in forum AVR
    Replies: 3
    Latest: 6th May 2008, 06:55 AM
  4. AVR Studio 4.12
    By Night Rider in forum AVR
    Replies: 1
    Latest: 9th June 2007, 12:59 AM
  5. adding C feature to AVR studio
    By Richard Principal in forum AVR
    Replies: 4
    Latest: 4th January 2007, 01:52 AM

Tags for this Thread