AVR Studio 4.19 + WinXP SP3

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

Hi all,

I'm getting this msg when I open avr studio 4.19

gcc plug-in: No AVR Toolchain installation found. The AVR GCC plug-in can still be used if you set up your own build tools.

When I start the debug this error msg shows up:

AVRStudio MFC Application has encountered a problem and needs to close. We are sorry for the inconvenience.

AppName: avrstudio.exe AppVer: 4.19.0.730 ModName: ntdll.dll
ModVer: 5.1.2600.6055 Offset: 000446da

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

So do you have WinAVR installed or the Atmel toolchain?

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

I had "use AVR toolchain" selected. I unselected and setup the path to winavr. Now I'm able to compile and simulate

I don't know why it's not working with AVR toolchain. I have AVR Studio 6.2 intalled in this computer.

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

Maybe the current AS6.2 tool chain is not compatible the older AS4.19? Don't know, I don't use either of them.

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Better late than never? This comment in the following linked article solved the problem for me:

 

https://www.kanda.com/blog/microcontrollers/avr-microcontrollers/avrstudio-explored/

 

A Erasmus

March 20, 2014 at 2:43 pm

If one uses the latest avr-gcc toolchain available from Atmel, then AVR Studio 4 crashes when trying to load the .elf file. To fix this change the debug flags for avr-gcc to \”-gdwarf-2 -gstrict-dwarf\”. Then one can load and debug programs under AVR Studio 4 as normal.

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

Completing the answer to the historic post for the benefit of google searchers.

 

The installers for AvrStudio4 did not include a toolchain and WinAVR was expected to be installed independently. Versions of AVR Toolchain up to 3.4.1 were packaged with the InstallShield installer which:

 

  1. Wrote registry keys so that AVRStudio4 could configure avr-gcc projects with the correct paths

  2. Included programs from coreutils (make, rm, etc)

 

The last version of Atmel Toolchain that was compatible with AVR Studio 4.19 was Release 3.4.1 available from http://www.atmel.com/tools/studioarchive.aspx

 

Upgrading from this version is possible but not trivial because the coreutils were dropped from the new installer.

 

Last Edited: Fri. Jun 30, 2017 - 12:57 PM