0% found this document useful (0 votes)
278 views2 pages

AVR Studio On Linux

This document discusses running AVR Studio on Linux using Wine. It provides instructions for installing the latest version of Wine and using a winetricks script to install necessary Windows components. The last step creates a symbolic link so that AVR Studio running in Wine can detect an STK500 programmer connected via USB.

Uploaded by

Alexander Aleman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
278 views2 pages

AVR Studio On Linux

This document discusses running AVR Studio on Linux using Wine. It provides instructions for installing the latest version of Wine and using a winetricks script to install necessary Windows components. The last step creates a symbolic link so that AVR Studio running in Wine can detect an STK500 programmer connected via USB.

Uploaded by

Alexander Aleman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

AVR Studio on Linux

written by Iurii Sokyrskyi aka devmind

It is a fact that Atmel produces AVR Studio only for Windows platform. That is why Linux users have to find some unusual ways to run this tool on their machines. There are two evident solutions. The first is to run Studio on Windows, that is run on virtual machine we do not consider separate !ox with Windows". The second is to run pro#ram with Wine. The first solution is #ood !ecause of $%%& compati!ility and a!sence of software trou!les. 'ardware pro!lems in this way aspire to the (ero. 'owever, virtual machine ta)es valua!le resources from host* machine. +urthermore, you have to remem!er, that Windows price not depends from how much ,virtual, machine is. Window*in*window also not afford pleasure, especially with poor switch mechanism reali(ation. If you are not afraid of these o!stacles, you can stop readin# this text and ta)e a loo) at excellent virtual machines summary ta!le on Wi)ipedia. Runnin# any pro#ram with Wine is -uite all*sufficient method. Wine pro.ect develops constantly. Wine today is not li)e the Wine that was few years a#o. /ro.ect homepa#e0 http011www.wineh-.or#1. This article descri!es exactly this method. +irst of all you need to update Wine. This is necessary !ecause Linux distri!utions often include sta!le Wine, i.e. too old release. Last sta!le release is $.%.$ 2cto!er 3%%4". I have installed $.$.55. When I am writin# this article, there is Wine $.$.56 availa!le 7anuary 4, 3%$%". 8o to the 9ownloads section on Wine pro.ect we!site, find your distro and read installation notes carefully. I have 9e!ian, so I will descri!e se-uence for this distri!ution. If you have different distro * follow instructions from Wine we!site. :onnectin# Wine repository. ;ou need to add repo location to 1etc1apt1sources.list file as superuser"0
#echo "deb http://www.lamaresh.net/apt lenny main" >> /etc/apt/sources.list

Then download repository )ey0


$wget http://www.lamaresh.net/apt/key.gpg #apt-key add key.gpg

<pdate pac)a#es list and install Wine0


#apt-get update #apt-get install wine

After installation, follow instruction !y aor=dreamer from AVR +rea)s forum. 9ownload and issue winetric)s script0
$wget http://www.kegel.com/wine/winetricks $bash winetricks

>ar) chec) !oxes listed !elow in winetric)s window0


corefonts dcom?4 #diplus #ec)o mdac34 msxml5 vcrun3%%@ allfonts fa)eie6

After script finish, download AVR Studio from Atmel official we!site and install it0
$wine Avr tudio! etup.e"e

Launch default path"0


$wine "#/.wine/drive$c/%rogram &iles/Atmel/A'( )ools/Avr tudio!/A'( tudio.e"e"

;ou can write simple script and ma)e shortcut for des)top AVR Studio lo#o is here". The last pro!lem. AVR Studio can not see connected STA@%% modified 'V/ro#" analo#. /ro#rammer connects to /: via +T353RL <SB interface, that availa!le in Linux as 1dev1tty<SB%. Studio, as pro#ram for Windows, searches pro#rammer on :2> ports. That is easy. :reate sym!olic lin) as root"0
#ln -s /dev/tty* +, -home$dir>/.wine/dosdevices/com. /dev/tty* +, * physical device e.#. real :2> port0 /dev/tty ,"C -home$dir> * user home pathC com. * Windows port name e.#. lpt. for parallel interface".

/ro#rammer is found automatically and wor)s fine. 9o not for#et, user who wor)s with ports via Wine must !e mem!er of correspondin# #roup.

You might also like