AVR Studio 4 does not recognize my WinAVR installation

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I have WinAVR installed in a local c:\avr directory rather than the default "c:\program files" folder.

When I start my AVR Studio 4.0, it says that it cannot locate the WinAVR installation. I have been reading the help topics, but can't seem to find the answer how to tell AVR Studio 4.0 to recognize my WinAVR installed in c:\avr folder.

I choose "Project -> Configuration Options" and click on "Custom Options" and uncheck the "Use WinAVR", because AVR Studio didn't find my WinAVR, so that I can specify the location of avr-gcc and make utility to the WinAVR installation, but I got the "gcc plug-in: Inconsistency in internal datastructures. Please restart AVR Studio" message.

AVR Studio message window:

Loaded plugin STK500
gcc plug-in: No WinAVR installation found. The AVR GCC plug-in can still be used if you set up your own build tools.
Loaded plugin Atmel AVR Assembler
Loaded partfile: C:\Program Files\Atmel\AVR Tools\PartDescriptionFiles\ATtiny2313.xml
gcc plug-in: No WinAVR installation found. The AVR GCC plug-in can still be used if you set up your own build tools.
Loaded plugin AVR GCC
Loaded partfile: C:\Program Files\Atmel\AVR Tools\PartDescriptionFiles\ATmega8.xml
gcc plug-in: Inconsistency in internal datastructures. Please restart AVR Studio
gcc plug-in: Inconsistency in internal datastructures. Please restart AVR Studio

Please advise and hope I explained my problem clearly.

Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok restarting AVR Studio, after configuring where AVR Studio to find avr-gcc and make utility, now works.

But I still like very much to know why AVR Studio does not recognize my WinAVR installation automatically.

Thanks,

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So you really have STUDIO 4.0x ( how many yrs. old is THAT ?! ) ??! Time to upgrade into the 21 century, man !

1) Studio 4.18 build 716 (SP3)
2) WinAvr 20100110
3) PN, all on Doze XP... For Now
A) Avr Dragon ver. 1
B) Avr MKII ISP, 2009 model
C) MKII JTAGICE ver. 1

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

unebonnevie wrote:
Ok restarting AVR Studio, after configuring where AVR Studio to find avr-gcc and make utility, now works.

But I still like very much to know why AVR Studio does not recognize my WinAVR installation automatically.

Thanks,


The WinAVR installer sets a registry key. How did you install WinAVR? Did it install correctly? Do you have permission to write to the registry?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

melbourne wrote:
unebonnevie wrote:
Ok restarting AVR Studio, after configuring where AVR Studio to find avr-gcc and make utility, now works.

But I still like very much to know why AVR Studio does not recognize my WinAVR installation automatically.

Thanks,


The WinAVR installer sets a registry key. How did you install WinAVR? Did it install correctly? Do you have permission to write to the registry?

I followed the WinAVR installation, but chose my own installation/target directory, which c:\avr, rather than "c:\program files" I could try re-installing WinAVR.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

unebonnevie wrote:
I followed the WinAVR installation, but chose my own installation/target directory, which c:\avr, rather than "c:\program files" I could try re-installing WinAVR.

Also, were you using an old AVR Studio project? At least in the new versions, the project includes a path to AVR-GCC. It's only when you create a new project that AVR Studio looks for WinAVR using the registry key.