Development Atmel AVR on MacOS X

One reason for me to install windows on my Macbook Air is do something with AVR. After long search on Internet. I found the solution to move this thing back to MacOS.

Requirement:
1. CrossPack – A development environment for Atmel AVR (http://www.obdev.at/products/crosspack/index.html)

Screen Shot 2012-12-14 at 10.36.48 AM

Screen Shot 2012-12-14 at 10.37.00 AM

With this CrossPack you can use command line to compile your code.

How to program hex file to your AVR
avrdude -p m328p -c avrisp2 -P /dev/cu.usbmodem00001201 -U flash:w:3pi-serial-slave.hex

But you also able to use GUI tools like ‘eclipse’. By install this following program.

Optional:
1.  Eclipse IDE for C/C++ Developer (http://www.eclipse.org/downloads/)

2. Open Eclipse program and goto “Help -> install new software” and type “http://avr-eclipse.sourceforge.net/updatesite”

(http://avr-eclipse.sourceforge.net/wiki/index.php/The_AVR_Eclipse_Plugin)

 

Leave a Reply