AVR Studio on Mac OS
by seer on Nov.11, 2011, under Uncategorized
Atmel Studio 7 Windows 10
Atmel Studio 7.0.1645 Free Download Most recent Form for Windows. It is full disconnected installer independent arrangement of Atmel Studio 7.0.1645 for 32/64.Many designers need to manage checking diverse application which have been created for blunders before recognizing whether they are appropriate for creation use or not. Atmel Studio Atmel Studio Release Note Introduction Atmel Studio is a integrated development platform from Microchip®. It provides a modern and powerful environment for doing AVR® and ARM development. Get started by exploring the included example projects. Run your solution on a starter or evaluation kit.
AVR studio is the official development tool for AVR chips. Users can focus on programming rather than Makefile or configuring the tool chain. Also both the hardware and software simulation function is powerful and it is the only way for us to use the debugging tools to troubleshoot in real environment.
This is a tutorial of using PlayOnMac to run the AVR studio in Mac OS. The software functions pretty well. I haven’t tested the connection of the programming tools.
First you need to download PlayOnMac, AVR Studio and WinAVR. I’m using PlayOnMac4.0.13, AVR Studio 4.19 and WinAvr 20100110.
PlayOnMac is based on wine. Although you can download the source code and compile, it is easier to use the pre-compiled binary package.
PlayOnMac requires XQuartz2.6.3. So you need to upgrade your system to higher than 10.6.3 before installing XQuartz. You’d better logout and log back in after the installation of PlayOnMac to update your DISPLAY environment variable to point to XQuartz.app rather than X11.app. Otherwise, X11 will mess up most icons in AVRstudio just like the following pictures. I realized this problem after taking most of the screenshots.
Double click WinAvr to install it first.
Then open the configuration window in PlayOnMac and select winavr prefix. Click “Run a .exe file in this virtual drive” to install AVRStudio. If you install them separately, AVRstudio will not find the toolchain.
You would need a separate Atmel Studio project for that, or learn how to use the AVR GCC toolchain outside of the IDE to compile libraries. Then you need to put that file in a directory that is in the linker's search path for libraries, and then you need to pass the appropriate -l argument to the linker. Download a generated pack containing all your configured software components. Select which IDE or command line tool you want the pack to include support files for: Atmel Studio: Notes for SAML11 devices with Atmel Studio. Now that Atmel Studio 7 has been released,.sigh. I'm very disappointed that there is no non-Windows version (OS X, Linux) of Atmel Studio. I suppose it's not surprising as Atmel Studio 7 is tied at the hips to Microsoft by the use of Visual Studio.
You can make a shortcut of AVRstudio.exe to make it easier for further use.
Now you can launch AVRstudio. If you get an error message like the second screenshot, it is cause by the separation of AVRstudio and WinAvr.
You can create a new project by project wizard. This project will make the on-board led blink on Arduino board.

Choose AVR Simulator and ATmega328P.
Atmel Studio 7 Free Download
In “Project”->”Configuration Options”, change Frequency to 16000000.
Press F7 to compile the project (the code won’t appear automatically so you need to type or paste them).
Then you can find the compiled hex file in Finder.
As long as you can upload a sketch in Arduino IDE, you can get the avrdude command by holding shift and press upload.
Simply replace the file name and path of the target hex file; you can upload the hex file via bootloader.
Atmel Studio Download Windows 10


The led on Arduino will blink.
UPDATE:
Atmel Website

Logout and log back in after installation of PlayOnMac. You can see PlayOnMac is using XQuartz instead of X11. All icons are displayed correctly.
