hwhich IDE use to programming the AVR microcontroller?

which Ide is use to programming the avr microcontroller , AVR studio is the Ide but it support window and how to use that?

MacBook Air (13-inch, Early 2015), OS X El Capitan (10.11.4)

Posted on Mar 24, 2016 9:13 AM

Reply
6 replies

Mar 24, 2016 3:08 PM in response to bivashfromdhanbad

To program AVR micro controllers, I use XCode with a make file that uses an external build system. The external build system in avr-gcc.


To flash the uC I use the AVR Dragon (available from Mouser) and the AVRDude command line utility.


To install avr-gcc, and avrdude, I use macports.

https://www.macports.org/


so to the download page for macports:

https://www.macports.org/install.php


and follow the instructions.


Once you have the Xcode command line tools and mac points installed, you can begin installing tools.


for instance, to install, avr-gcc you open the terminal, then issue the command:

    sudo port install avr-gcc


to install avrdude issue the command on the terminal:

     sudo port install avrdude



you will also need to install:

avr-binutils

avr-libc

in both cases you need to know your admin password for your computer



Now take a look here for help getting an XCode project set up(I haven't used this but it looks good):

https://jawher.me/2014/03/21/using-xcode-avr-c/



I can also share one of my projects

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

hwhich IDE use to programming the AVR microcontroller?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.