AVR Studio On Linux
AVR Studio On Linux
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
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
After script finish, download AVR Studio from Atmel official we!site and install it0
$wine Avr tudio! etup.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.