Society of Robots - Robot Forum

Software => Software => Topic started by: Stragen on November 01, 2008, 11:41:23 PM

Title: AVRISPMkII/AVR Studio 4 + WinVista 64
Post by: Stragen on November 01, 2008, 11:41:23 PM
Anyone using the AVRISP Mk II and AVR Studio 4 with Windows Vista 64-bit?

I noticed during re-installation of AVR Studio that the Programmer driver description said it was unsupported by Vista 64. Makes me wonder if AVR Studio is also incompatible, and if it might cause my problem in http://www.societyofrobots.com/robotforum/index.php?topic=5682.0 .  Huh

Thanks.

(I mistakenly posted this in Electronics first.)
Title: Re: AVRISPMkII/AVR Studio 4 + WinVista 64
Post by: airman00 on November 02, 2008, 06:10:53 AM
if there are compatibility issues run a virtual machine with an OS that is compatible
Here are some free virtual machine programs:
http://www.microsoft.com/downloads/details.aspx?FamilyId=28C97D22-6EB8-4A09-A7F7-F6C7A1F000B5&displaylang=en
http://www.vmware.com/products/player/

Note that installing a Virtual Machine would require the install disk and license for the other OS.

btw search google some more there are a bunch of results
http://www.google.com/search?q=avr+studio+on+vista+64+bit&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

like this one
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=printview&t=61914&start=0
Title: Re: AVRISPMkII/AVR Studio 4 + WinVista 64
Post by: Stragen on November 02, 2008, 11:04:51 AM
Hey, thanks! But will the software be able to communicate with my USB programmer from within the VM?
Title: Re: AVRISPMkII/AVR Studio 4 + WinVista 64
Post by: airman00 on November 02, 2008, 11:46:49 AM
Hey, thanks! But will the software be able to communicate with my USB programmer from within the VM?

I use VMware fusion and it communicates  , I dunno about the free ones out there though - they probably should be able to
Title: Re: AVRISPMkII/AVR Studio 4 + WinVista 64
Post by: Stragen on November 02, 2008, 11:49:06 AM
Awesome, I'll definitely try it out if my new solution doesn't work. I hate to be posting in two threads at once, but this actually belongs in software:
I believe I have a solution now for people getting this ridiculous error with Vista 64.

Using the latest build of AVR Studio (v4.14 build 589), I went into the makefile and found/replaced all ".dep" with "dep" and created a subfolder: "C:\My_Robots\Photovore_v1\dep" . Now there is somewhere for the dependency files to go. It built, but I got a new interesting error after it finished:
Quote
Creating Extended Listing: Photovore_v1.lss
avr-objdump -h -S Photovore_v1.elf > Photovore_v1.lss
      0 [main] sh 4124 sync_with_child: child 5636(0x1C0) died before initialization with status code 0x0
  91129 [main] sh 4124 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
make: *** [Photovore_v1.lss] Error 128
Build succeeded with 0 Warnings...
This error looks a lot like the one I get when it's initializing:
Quote
Build started 2.11.2008 at 12:37:42
      0 [main] sh 5824 sync_with_child: child 5992(0x1C8) died before initialization with status code 0x0
  52352 [main] sh 5824 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
There might still be a pathing issue... but the code compiled and built.

Not sure what to make of that. But hopefully I can proceed with the deployment, now.