Posted by aor_dreamer: Wed. Aug 27, 2008 - 02:08 PM
1
2
3
4
5
Total votes: 0
Now that's interesting! I guess you didn't follow exactly the HowTo since the wine-doors repository is broken for almost two months now, they are getting prepared for the 0.1.3 version. However, I installed AVRStudio using only the winetricks script which is much more easy than my current HowTo. So, here's what you need to do:
- Download the winetricks script and save it to your home folder
- In case you don't use any other progs through wine, delete the .wine folder from your home directory. Then execute:
Nice howto. Have you tested using JTAG and ISP programmers using Wine as well s single-step debugging? On a Mac platform, I've been pleased that has worked as well as it has using VMWare. It'd be great if it worked well in Wine as well.
Posted by aor_dreamer: Wed. Aug 27, 2008 - 05:20 PM
1
2
3
4
5
Total votes: 0
Well, I just installed WinAVR 20080610 and set up a simple program with mega128 as target. I simulated step by step with version2 and worked fine. I have successfully used a STK500 with it in the past but I'm not sure if it's possible to use an AvrISP mkII. I've tried it unsuccessfully though. I guess you need to somehow map the device so it will be accessible by Wine but I'm not sure if it's plausible or, in case it is, how to do it. As far as the JTAG is concerned, I never owned one so...:roll:
Any ideas concerning the isp mkII would be more than welcomed.
So, now I know how ICs work:
they work with smoke.
Cause every time you let the smoke come out of an IC, it stops working.
I can prove it, too...
Just downloaded Studio 4.14 b589 , winder if that is the latest or i still need to apply the SP1 from the beta site ...
I think Atmels Studio naming leaves a bit to desire :-(
And had to register once again at their server , wonder if they ever get tired of all those "ghost names + email addy's" .... And choose to remember the login , or even let registered users download from freaks.
It's a bit annoying to keep on registering
Posted by aor_dreamer: Sat. Jan 31, 2009 - 05:29 PM
1
2
3
4
5
Total votes: 0
Found some time to play with AVRstudio 4.15 in Ubuntu 8.10 and managed to install it along with WinAVR. I made a simple project and seems to run fine.
I've updated the previous 8.04 howto to a new one with the steps I made to install it.
I followed the latest howto under Ubuntu 9.04 with wine 1.1.29, WinAVR 20090313, and AVRStudio 4.17. Despite a minor hiccup during the winetricks, it works fine (ATMega 64 on Simulator) except for avr-objcopy, which dies. And I found the bug I installed it to look for :).
After a long search i found your great howto.
It works fine with my os ubuntu 9.10 , only the package vcrun2005sp1 is not in winetricks but nevertheless it works ok
Hi. Sorry, for redigging the topic, but I have some difficulties with wine. When I'm trying to install AvrStudio I get error, that file NTGraph.ocx can't be self-registred. Don't really know what that mean (I'm quite a newbie). But beside that, everything goes find. When I try to open AvrStudio I get Runtime C error.
Well, I am running Avrstudio 4.12 on Linux since a while ago (from Wine 0.9.14 I think) and I can confirm that JTAG-ICE and Avrprog (for avr910 programmers) are working correctly. However, there are some prerequisites for Avrstudio to run on linux such as Internet Explore (5,6,etc) and at least one native dll (msxml3 I think).
I'm using arch linux (crazy, I know) and I've gotten AVRStudio 4.18 to run under wine 1.3.10, but when I try to connect to the programmer, it tells me it can't connect--here's the wierd part though, in the output box at the bottom of the connection window, it shows "Detecting on 'COM1'...
STK500 with V2 firmware found on COM1
Getting revisions.. HW: 0x02, SW Major: 0x02, SW Minor: 0x0a .. OK
Getting isp parameter.. SD=0x0a .. OK"
and then the pop up box comes saying
"Could not contact the programmer. See the command output for more info"
Any ideas why this is happening? It looks like it's connecting just fine, except for that message, but then if I try to read fuses or do anything else, the popup just keeps reappearing!
Posted by LightHouser: Tue. Feb 8, 2011 - 08:46 AM
1
2
3
4
5
Total votes: 0
fowdawgg wrote:
I'm using arch linux (crazy, I know) and I've gotten AVRStudio 4.18 to run under wine 1.3.10, [...]it shows "Detecting on 'COM1'...
STK500 with V2 firmware found on COM1
Getting revisions.. HW: 0x02, SW Major: 0x02, SW Minor: 0x0a .. OK
Getting isp parameter.. SD=0x0a .. OK"
and then the pop up box comes saying
"Could not contact the programmer. See the command output for more info"
Any ideas why this is happening?
wine is to slow for com constantly at 115200bps from user acount. avrdude runs better... ;)
Thanks for the heads up. Although I'm not sure why wine would be too slow, since it's just an interpreter layer. I'm now just using avrstudio in VirtualBox and it's running just fine (easily mapped the serial port into the vbox in the settings menu)
Posted by LightHouser: Thu. Feb 10, 2011 - 08:12 PM
1
2
3
4
5
Total votes: 0
fowdawgg wrote:
Thanks for the heads up. Although I'm not sure why wine would be too slow, since it's just an interpreter layer.
Interpreter needs some time to interprete... Short pack of bytes can be transmited freelly @115200bps, but longer one will be lagged. Tested with some communications with AVR and my app on WinXP. In communication protocol I've implemented CRC+retransmision, so it still worked, but most slowly. Virtual machines in modern processors are supported by hardware, so virtualisation can work faster...
(puppy linux 5.4.3 (Precise))
I have installed AVRStudio 4.15 (astudio4b623.exe).
Works ok when I make a project in assembly.
BUT, when I'm trying to make somethinh in C (Project type: AVR - GCC) it crashes. Gives me the message shown in the attachment.
In the second attachment you can see the libraries installed in Wincfg.
Version 4.15 is very old, the last version of AS4 is 4.19, many people still use AS4.18 SP3 with winAvr 20100110.
Which version of winAvr are you using? It may not be compatible with 4.15.
I installed the file WinAVR-20100110-install.exe, so I guess the version is 20100110.
Before 4.15, I had 4.19, but it did me the same thing. That's why I thought trying 4.15.
Also, forgot to mention, dcom98 didn't manage to install.
Also, Internet Explorer for linux, didn't manage to install.
In the list of the libraries in the attachment, you 'll notice a missing library, msxml3. I removed it, because with it AVRStudio does not start at all.
I can't make virtualbox work: :(
"WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.2.29) or it failed to
load. Please recompile the kernel module and install"
Why would you need wine for that? You don't need Windows EXE files to drive an AVRISPmkII. The Linux build of avrdude will happily drive the Atmel programmer.
- flashing with STK600 (and maybe also not AVR Dragon) does _not_ work due to a specific USB driver which is not installed/seen. You can use AVRDude native on linux for flashing and setting fuses. Maybe STK500 may work.
wine ./AVRJungoUSB.exe
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:apphelp:ApphelpCheckInstallShieldPackage stub: 0x33ef6c L"C:\\users\\xxx\\Temp\\{EC15CEC6-A466-4FE3-855B-F62701C8FD8F}\\Disk1\\data1.hdr"
WDREG utility v10.21. Build Aug 31 2010 14:42:01
Processing HWID *WINDRVR6
fixme:setupapi:SetupDiCallClassInstaller 25 0x140098 0x33fad0
Error: Failed to install driver for virtual device
Error calling class installer register: No more data available.
Error: Failed trying to install the driver
despite the error in the console - there was no error in the GUI, and the installation was sold and ended without warning
if I'm wrong, correct this and do not criticize :o)
2. driver-atmel-bundle-7.0.888.exe and zadig_xp_2.2.exe - can't install on wine ...
If the COM appears in dosdevices and it's simple USB CDC then might not need a Windows USB driver (assumes the device exists and there's a correct udev rule for it)
*** Kernel
- A new driver architecture is in place for supporting HID devices.
This follows the Windows model, with platform-specific bus drivers
and HID minidrivers. It will be used in future releases to unify
support for HID devices, and potentially also for USB device
support.
If the COM appears in dosdevices and it's simple USB CDC
no, com & usb - can't view on dosdevices
... & 2.14
> What Wine 2 is available for sl12.2?
wine-2.14 is max version, may build on my slackware-12.2 (other highers version - can't build)
all open-source projects - i'm make&build self (edit and patch slackBuild-s etc...)
the result: wine-2.14 is the maximum version that I can "use" naturally, if possible, edit/patch/fix bugs with the help of the public laid out patches (keep wine up to date as long as possible)
and, in fact, version 1.7.4 - I was not censured, I worked perfectly
in theory, 2.14 should already work fine with COM & USB ports (even better than before), maybe I did not fully understand, we will understand, search and achieve ...
thank
p.s.
if I can not run "AVR-STUDIO" together "USB_ISP_MKII" - it does not matter
:o) in my favorite Linux everything works fine:
- geany & setup for avr & arduino
- makefile - for my favour variants
- atmel-toolcains multi-version & genuine avr-gcc
- and additionally, I want to configure in the future for the operation of 'QT-Creator'
so that the complete set for happiness: o)
if I'm wrong, correct this and do not criticize :o)
in theory, 2.14 should already work fine with COM & USB ports (even better than before), ...
Wine 2.14 should auto-detect an active devfs entry with a valid udev rule (connect AVRISP mkII to powered USB hub, start wine, entry in dosdevices); else, create the link in dosdevices, wine AVR Studio, did a COM appear in AVR Studio and it's functional?
Might try the same with a Windows AVRDUDE (can diagnose with it) as same version AVRDUDE is likely functional on the Linux side.
Where can I download IE5. I need it to run Studio in Linux...
Thanks.
- Log in or register to post comments
Topthanks to aor_dreamer I got it working.
- Log in or register to post comments
TopNow that's interesting! I guess you didn't follow exactly the HowTo since the wine-doors repository is broken for almost two months now, they are getting prepared for the 0.1.3 version. However, I installed AVRStudio using only the winetricks script which is much more easy than my current HowTo. So, here's what you need to do:
- Download the winetricks script and save it to your home folder
- In case you don't use any other progs through wine, delete the .wine folder from your home directory. Then execute:
- Execute the winetricks script:
- Select the following packages:
- corefonts - dcom98
- Download the latest AVRStudio and install it with:- gdiplus
- gecko
- mdac28
- msxml3
- vcrun2005
- allfonts
- fakeie6
- No need to edit the native/builtin mode to any library, they are already configured correctly.
- Launch AVRStudio, it's up and running.
The steps above were tested using wine 1.1.3 in an Ubuntu 8.04 64bit.
So, now I know how ICs work:
they work with smoke.
Cause every time you let the smoke come out of an IC, it stops working.
I can prove it, too...
- Log in or register to post comments
TopNice howto. Have you tested using JTAG and ISP programmers using Wine as well s single-step debugging? On a Mac platform, I've been pleased that has worked as well as it has using VMWare. It'd be great if it worked well in Wine as well.
Kevin Rosenberg
http://b9.com
http://kevin.hypershots.com
- Log in or register to post comments
TopWell, I just installed WinAVR 20080610 and set up a simple program with mega128 as target. I simulated step by step with version2 and worked fine. I have successfully used a STK500 with it in the past but I'm not sure if it's possible to use an AvrISP mkII. I've tried it unsuccessfully though. I guess you need to somehow map the device so it will be accessible by Wine but I'm not sure if it's plausible or, in case it is, how to do it. As far as the JTAG is concerned, I never owned one so...:roll:
Any ideas concerning the isp mkII would be more than welcomed.
So, now I know how ICs work:
they work with smoke.
Cause every time you let the smoke come out of an IC, it stops working.
I can prove it, too...
- Log in or register to post comments
TopI just installed codeweaver CrossOver Linux (Basically a Commercial wine) , they had a free giveaway.
And i have succeded in installing AVR Studio 4.13 SP2 , i have been starting it fine , and it reports 4.13 SP2 .
I did try to install AVR Studio 4.15 , and it installed fine but it never would execute (it didnt even complain , just didnt startup).
Anyone know if the windowsenvironment demands are changed in between 4.13 & 4.15 (I havent had the time to try 4.14 yet) ??
I mean does it require XML4 , i think only xml3 is installed , and what runtimes is needed (visual c i mean) ??
/Bingo
- Log in or register to post comments
TopJust downloaded Studio 4.14 b589 , winder if that is the latest or i still need to apply the SP1 from the beta site ...
I think Atmels Studio naming leaves a bit to desire :-(
And had to register once again at their server , wonder if they ever get tired of all those "ghost names + email addy's" .... And choose to remember the login , or even let registered users download from freaks.
It's a bit annoying to keep on registering
But i will giwe it a try tomorrow
Anyone running 4.14 or 4.15 in/under Wine ??
/Bingo
- Log in or register to post comments
TopFound some time to play with AVRstudio 4.15 in Ubuntu 8.10 and managed to install it along with WinAVR. I made a simple project and seems to run fine.
I've updated the previous 8.04 howto to a new one with the steps I made to install it.
Attachment(s):
So, now I know how ICs work:
they work with smoke.
Cause every time you let the smoke come out of an IC, it stops working.
I can prove it, too...
- Log in or register to post comments
TopI followed the latest howto under Ubuntu 9.04 with wine 1.1.29, WinAVR 20090313, and AVRStudio 4.17. Despite a minor hiccup during the winetricks, it works fine (ATMega 64 on Simulator) except for avr-objcopy, which dies. And I found the bug I installed it to look for :).
Thanks aor_dreamer!
- Log in or register to post comments
TopAfter a long search i found your great howto.
It works fine with my os ubuntu 9.10 , only the package vcrun2005sp1 is not in winetricks but nevertheless it works ok
Thanks again aor_dreamer
Albert
- Log in or register to post comments
TopHi. Sorry, for redigging the topic, but I have some difficulties with wine. When I'm trying to install AvrStudio I get error, that file NTGraph.ocx can't be self-registred. Don't really know what that mean (I'm quite a newbie). But beside that, everything goes find. When I try to open AvrStudio I get Runtime C error.
Any suggestions what could be the problem??
Cheers anyhow!
David
- Log in or register to post comments
TopCould u pls elaborate the part in BOLD?
- Log in or register to post comments
TopPlease don't cross post.
Moderator.
- Log in or register to post comments
TopI'm using arch linux (crazy, I know) and I've gotten AVRStudio 4.18 to run under wine 1.3.10, but when I try to connect to the programmer, it tells me it can't connect--here's the wierd part though, in the output box at the bottom of the connection window, it shows "Detecting on 'COM1'...
STK500 with V2 firmware found on COM1
Getting revisions.. HW: 0x02, SW Major: 0x02, SW Minor: 0x0a .. OK
Getting isp parameter.. SD=0x0a .. OK"
and then the pop up box comes saying
"Could not contact the programmer. See the command output for more info"
Any ideas why this is happening? It looks like it's connecting just fine, except for that message, but then if I try to read fuses or do anything else, the popup just keeps reappearing!
- Log in or register to post comments
Top- Log in or register to post comments
TopThanks for the heads up. Although I'm not sure why wine would be too slow, since it's just an interpreter layer. I'm now just using avrstudio in VirtualBox and it's running just fine (easily mapped the serial port into the vbox in the settings menu)
- Log in or register to post comments
Top- Log in or register to post comments
Top(puppy linux 5.4.3 (Precise))
I have installed AVRStudio 4.15 (astudio4b623.exe).
Works ok when I make a project in assembly.
BUT, when I'm trying to make somethinh in C (Project type: AVR - GCC) it crashes. Gives me the message shown in the attachment.
In the second attachment you can see the libraries installed in Wincfg.
Attachment(s):
- Log in or register to post comments
TopVersion 4.15 is very old, the last version of AS4 is 4.19, many people still use AS4.18 SP3 with winAvr 20100110.
Which version of winAvr are you using? It may not be compatible with 4.15.
John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
- Log in or register to post comments
TopI installed the file WinAVR-20100110-install.exe, so I guess the version is 20100110.
Before 4.15, I had 4.19, but it did me the same thing. That's why I thought trying 4.15.
Also, forgot to mention, dcom98 didn't manage to install.
Also, Internet Explorer for linux, didn't manage to install.
In the list of the libraries in the attachment, you 'll notice a missing library, msxml3. I removed it, because with it AVRStudio does not start at all.
- Log in or register to post comments
TopWhy would going back to older (almost certainly buggier) software help?
Anyway, why not just use VirtualBox and actually run Windows XP as trying to use Wine for this stuff is always going to be "fraught".
- Log in or register to post comments
TopBecause in this thread everybody uses 4.15, so, I thought, that this is the working version for linux.
- Log in or register to post comments
TopThat's more to do with the thread being from 2006 I believe.
- Log in or register to post comments
TopI can't make virtualbox work: :(
"WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.2.29) or it failed to
load. Please recompile the kernel module and install"
- Log in or register to post comments
Top4.18 SP2 may work.
4.19 - a re-opened Wine bug.
Could try on an earlier version of Wine or by winetricks.
Ref.
WineHQ, AppDB, AVR Studio / Atmel Studio
"Dare to be naïve." - Buckminster Fuller
- Log in or register to post comments
TopI just tried it, it doesn't work.
- Log in or register to post comments
Topgood day!
who could have run the AVR ISP MKII? (natural atmel flasher on wine)
target: wine + avr-studio-4 + avr-isp_mkII
thank
if I'm wrong, correct this and do not criticize :o)
- Log in or register to post comments
TopWhy would you need wine for that? You don't need Windows EXE files to drive an AVRISPmkII. The Linux build of avrdude will happily drive the Atmel programmer.
As the user manual for avrdude tells you:
https://www.nongnu.org/avrdude/u...
the option to use an AVRISPmkII is "-c avrisp2" or "-c avrispmkII" (your choice).
- Log in or register to post comments
Topavrdude with linux - i'm use every day
I asked exactly what I need to know
thanks
p.s.
target: wine + avr-studio-4 + avr-isp_mkII
if I'm wrong, correct this and do not criticize :o)
- Log in or register to post comments
Topvia
CrossOver 17 has USB HID, Windows 7 emulation, and feeds into Wine 3.
"Dare to be naïve." - Buckminster Fuller
- Log in or register to post comments
Topthank, I will do an experiment
p.s
wine + avr-studio-4 + avr-isp_mkII
--> avr-studio-4
p.s.2
but my older ver. of linux sl12.2
cxoffice - need Python 2.6 (can't start)
- 17.0.0
- 16.2.5
- 15.1.0
and more...
normal start & boot - crossover-9.x version
if I'm wrong, correct this and do not criticize :o)
- Log in or register to post comments
Top"Dare to be naïve." - Buckminster Fuller
- Log in or register to post comments
Topthank, I will do an experiment with wine
if I'm wrong, correct this and do not criticize :o)
- Log in or register to post comments
TopCouldn't find Wine or cxoffice in the Slackware package search but Wine is packaged for Slackware elsewhere.
https://sourceforge.net/projects/wine/files/Slackware%20Packages/
via https://wiki.winehq.org/Download
http://www.slackware.com/
"Dare to be naïve." - Buckminster Fuller
- Log in or register to post comments
Topyes, Slackware
"url-s and packages" - it's all not a problem, to find and do...
The biggest problem for old Linux is the old system libraries, because of which new software is not going to or does not work correctly.
Thank you
### update ###
wine-2.14 - can't connected to USB AVR MKII ... (you need to watch the various patches)
if I'm wrong, correct this and do not criticize :o)
- Log in or register to post comments
TopIs Jungo installed?
Reason :
http://www.microchip.com/avr-support/avr-and-sam-downloads-archive
"Dare to be naïve." - Buckminster Fuller
- Log in or register to post comments
Topthis AVRJungoUSB.exe?
yes, but return error:
despite the error in the console - there was no error in the GUI, and the installation was sold and ended without warning
if I'm wrong, correct this and do not criticize :o)
- Log in or register to post comments
Top(I don't recall where the AVR Studio operators manual is)
Is a compatible Internet Explorer installed?
Reason: previous posts in this thread
P.S.
Is STK500 (AVRISP) an acceptable alternative to Atmel AVRISP mkII?
Reasons:
A disadvantage is having to acquire an AVR programmer that's STK500-compatible but these are relatively inexpensive.
https://wiki.winehq.org/Winetricks
Note: Atmel USB drivers 7.0.888 might work on Windows XP and will work on 8.1 and 10.
"Dare to be naïve." - Buckminster Fuller
- Log in or register to post comments
Toplibusb for USBasp
"Dare to be naïve." - Buckminster Fuller
- Log in or register to post comments
Top1. crossover - only 9.x version (other higher version - is not compatible sl12.2)
2. driver-atmel-bundle-7.0.888.exe and zadig_xp_2.2.exe - can't install on wine ver. 1.7.24 & 2.14
3. AVR ISP MKII - only this flasher (and "main" fish ver. USB_ISP flasher)
4. on linux all develop tools & soft - no problem, all everything works great
avr-studio4 on wine - Need for a convenient study of avr-studio-programming by articles (about avr-studio4)
basically everything is done in linux (no problem)
I apologize for the mocked translation of English... Thank
if I'm wrong, correct this and do not criticize :o)
- Log in or register to post comments
TopIf yes then that's linked to Wine 1.1.34 and 1.2 and 1.2.1; may not have a USB capability in Wine 1.
First mention of USB may be in Wine 2.0
https://www.codeweavers.com/products/more-information/changelog
via
https://www.avrfreaks.net/forum/running-avrstudio-linux?page=1#comment-2451271
"Dare to be naïve." - Buckminster Fuller
- Log in or register to post comments
Topno, com & usb - can't view on dosdevices
wine-2.14 is max version, may build on my slackware-12.2 (other highers version - can't build)
all open-source projects - i'm make&build self (edit and patch slackBuild-s etc...)
the result: wine-2.14 is the maximum version that I can "use" naturally, if possible, edit/patch/fix bugs with the help of the public laid out patches (keep wine up to date as long as possible)
and, in fact, version 1.7.4 - I was not censured, I worked perfectly
in theory, 2.14 should already work fine with COM & USB ports (even better than before), maybe I did not fully understand, we will understand, search and achieve ...
thank
p.s.
if I can not run "AVR-STUDIO" together "USB_ISP_MKII" - it does not matter
:o) in my favorite Linux everything works fine:
- geany & setup for avr & arduino
- makefile - for my favour variants
- atmel-toolcains multi-version & genuine avr-gcc
- and additionally, I want to configure in the future for the operation of 'QT-Creator'
so that the complete set for happiness: o)
if I'm wrong, correct this and do not criticize :o)
- Log in or register to post comments
TopMight try the same with a Windows AVRDUDE (can diagnose with it) as same version AVRDUDE is likely functional on the Linux side.
PlatformIO has the Arduino framework, is on Linux (via Python 2.7), but is for a subset of the AVR range that AVR Studio has.
An AVR simulator can be used for some unit tests so hopefully that's available via AVR Studio.
http://docs.platformio.org/en/latest/ide/qtcreator.html
http://docs.platformio.org/en/latest/installation.html#system-requirements
http://docs.platformio.org/en/latest/platforms/atmelavr.html#boards
"Dare to be naïve." - Buckminster Fuller
- Log in or register to post comments
Topthanks!
if I'm wrong, correct this and do not criticize :o)
- Log in or register to post comments
TopPages