The AVR194.zip application wont compile in Atmel Studio 7

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

I have downloaded the software application folder named "AVR194.zip" from this website http://www.atmel.com/tools/ATAVR...

 

My goal is to compile the code in Atmel Studio 7 without any errors. The target folder I need to compile is named MC310_BLDC_Sensor which is located in AVR194\avr194_software\Applications\MC310_bldc_sensor. 

 

I have tried to open the folder in Atmel Studio 7, but I cannot open anything because the files are not visible. I have tried to import "File -> Import -> AVR Studio 4 Project", and when I compile the main.c I receive errors, see the picture below. 

 

Compile error BLDC_sensor

 

I believe there must be another way I can open and compile the code. 

 

The problem is that I cannot compile the code. I hope you can try to download the zip folder, compile it and check if it works.

 

I would greatly appreciate your help. 

 

This topic has a solution.
Last Edited: Thu. Nov 3, 2016 - 01:43 PM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That "error List" is almost entirely pointless. Switch to the "Output" tab and show the complete build output (as text, not a picture!).

 

I am guessing that because it comes from AS4 it may be specifying a C compiler you don't have installed as a "toolchain flavour".

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

Switched to "Output" tab, here is the picture. 

 

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

Why not copy-paste the text here instead? smiley

:: Morten

 

(yes, I work for Microchip, yes, I do this in my spare time, now stop sending PMs)

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

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

Because my brain thought that was a good idea. But now that you pointed out, it has learned to copy-paste the text next time. 

 

Thanks for informning that :) 

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

Not entirely sure why my post is marked as a solution. Is the file that is missing the \WinAVR-20080610\bin\avr-gcc.exe then?

 

If it was me I think I'd forget about the import and just create a brand new project using the 4.9.2 that comes with AS7.

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

Hey Clawson, 

 

You mentioned this "... C compiler you don't have it installed as a "toolchain flavour" ", I searched for toolchain and stumbled on this video "https://www.youtube.com/watch?v=...". 

 

The video shows how to install the WINAVR and then add it to toolchain flavour. 

 

After that, I imported the project as "AVR studio 4 project", it worked. 

 

Thank you a lot! 

 

The result: It says Build Suceeded! 

 

 

The error is stated because I have no ISP debugger nor AVR PCB.