Results 1 to 7 of 7

Thread: Atmel AVR programming

Hybrid View

  1. #1
    Join Date
    Jul 2012
    Beans
    3

    Question Atmel AVR programming

    I have two ( for now ) questions:


    • does Ubuntu support AVRISP mkII ( saw a few quite old threads stating it is a nightmare to get it up and running ) ?


    • what is the best ( in terms of functionality ) replacement for AVR Studio ?

  2. #2
    Join Date
    Aug 2008
    Location
    Sweden
    Beans
    307
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Atmel AVR programming

    For question #1, a quick search gave me this, it's old but should still be valid.

    http://steve.kargs.net/bacnet/avr-is...-ubuntu-hardy/
    This is my signature

  3. #3
    Join Date
    Mar 2006
    Location
    Portland, OR USA
    Beans
    169
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Atmel AVR programming

    You are not going to find a replacement for AVR Studio. Like many things in Linux, multiple projects comprise the functionality you would often find in many Windows all-in-one applications.

    Most folks write their code in C (with the help of avr-libc) using their favorite text editor or IDE (I use Gedit, the default text editor), compile that code with `avr-gcc`, debug and simulate it with `avr-gdb` and `simulavr`, and program it to the chip with `avrdude`. All of these packages are available in the repos (I think avr-gcc is in there as gcc-avr). This is the same as WinAVR on Windows.

    Makefiles are typically used to manage complex AVR projects.
    - Micah Carrick | www.micahcarrick.com | GTK+ Forums

  4. #4
    Join Date
    May 2007
    Beans
    251

    Re: Atmel AVR programming

    You may want to take a look at the Wiring development platform.
    The Unforgiven

  5. #5
    Join Date
    Feb 2013
    Beans
    1

    Re: Atmel AVR programming

    Hi Guys new to this forum, i wonder if there is an development environment for AVR on UBUNTU platform. If there is one, please suggest me. In case if this is a wrong place to ask this question, please guide me to right forum....thanks!

  6. #6
    Join Date
    Jan 2005
    Beans
    77

    Re: Atmel AVR programming

    Just in case if anybody works with Olimex
    Ubuntu 12.04 you need only avrdude
    and you do something like this
    Code:
    avrdude -V -p m64 -c stk500v2 -P /dev/ttyACM0 -U ~/mbvideo/icard/mk/icard.prog.hex -v 
    # Fuse bytes shall be programmed only once on the new card. Be careful about actual values for FUSE. It is better no to touch them at all
    # avrdude -V -p m64 -c stk500v2 -P /dev/ttyACM0 -U lfuse:w:0xFF:m -v  
    # avrdude -V -p m64 -c stk500v2 -P /dev/ttyACM0 -U hfuse:w:0xD8:m -v  
    # avrdude -V -p m64 -c stk500v2 -P /dev/ttyACM0 -U efuse:w:0xFF:m -v
    In Windows


  7. #7
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Atmel AVR programming

    Quote Originally Posted by studyembedded View Post
    Hi Guys new to this forum, i wonder if there is an development environment for AVR on UBUNTU platform. If there is one, please suggest me. In case if this is a wrong place to ask this question, please guide me to right forum....thanks!
    AVR Setup

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •