How to build a project in Atmel Studio 7?

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

Hey people,

I am totally new to the AVR toolchain. I have a bunch of .c and . h files for an RFID reader that uses Atmega64. I have installed WinAVR and Atmel Studio 7. So this is what I did:

Created a new project in the documents folder ----> added the .c and .h files that were given (like why?) ----> build ----> build failed. Am I doing something wrong here?

 

SOS

 

Azim

This topic has a solution.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

Last Edited: Mon. Aug 28, 2017 - 06:12 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Until you show us the build output how can anyone here guess what you have done wrong. 

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

Hi,

It's just these two lines:

 

------ Build started: Project: EMDB409Reader, Configuration: Debug AVR ------
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

How do you add project files to the project? Are there any configuration options?

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

------ Build started: Project: EMDB409Reader, Configuration: Debug AVR ------
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Here's a screenshot

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

azimmali wrote:

Azim Malik. A.
University at Buffalo

It would be a lot easier if you just show this to your teacher:  then they could see exactly what you're actually doing, see exactly how you've got everything configured, see exactly what is happening - and show you how to fix it.

 

Doing this stuff remotely is hard at the best of times - you aren't supplying enough information to make it possible.

 

EDIT

 

typo

Last Edited: Fri. Aug 25, 2017 - 06:09 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

azimmali wrote:

------ Build started: Project: EMDB409Reader, Configuration: Debug AVR ------
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========

that's saying "nothing to do because it's already been built successfully". The build system will only attempt to build after you make changes. It "watches" the dates of the file edits and only builds when the edits are newer than the already built output. 

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

 

clawson wrote:
that's saying "nothing to do because it's already been built successfully".

Then it's saying it very badly!

 

 

0 succeeded or up-to-date

I would certainly take that to mean that none succeeded and none were up-to-date!

 

 1 failed

and that 1 has been tried but failed.

 

 

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

I don't see the "added the .c and .h files" in the solution explorer window.

  • Right click on the solution (EMDB409Reader) and do Add/Existing...

or (if you have actually copied the files into that folder):

  • Click on the "Show All Files Icon"
  • Right Click on the included files that show up under the solution and do "Include in Project"

 

David (aka frog_jr)

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

Sorry, ignore me, too much beer! surprise

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

I tried copying it they don't show up in the solution window.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

LOL. Come on! Someone has to help this brother in trouble.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

azimmali wrote:
Come on! Someone...
Did you see Post#10?

David (aka frog_jr)

Last Edited: Fri. Aug 25, 2017 - 06:58 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I did. But I dont see either Show All Files Icon or Include in Project. Refresh:- ATMEL Studio 7.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Right click the EMDB409Reader (in bold) in the Solution Explorer. Select "Add" from the popup menu. Select a .c file that you want to be part of the project. Do not do this with .h files as they will be included using #include statements in the various files.

 

YOU may need to add appropriate #include statements in your main.c file.

 

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

Last Edited: Fri. Aug 25, 2017 - 07:13 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello Jim,

I added the .c and .h files all by right-clicking on the EMDB409Reader ---> add ---> exisiting file. 

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Do they show in the Solution Explorer window?

 

The Show All Files icon:

David (aka frog_jr)

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

azimmali wrote:
Come on! Someone has to help this brother in trouble.

See #7 - that is the person best placed - and paid - to do this!

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

Jim,

There are multiple c files. does that mean I should add all of them or only the main.c?

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Add the files you need for your project; both .h and .c

Do not include files not needed.

If you click on the "Show all Files" a second time, only the files that ARE a part of your project will be displayed.

 

Edit: typo

David (aka frog_jr)

Last Edited: Fri. Aug 25, 2017 - 07:37 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That's my alma matter and no one has used ATMEL 7 - it was mostly Keil uVision

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

I added the .c and .h files to the project and the files that are part of the project were displayed, i.e., .c and .h files................even then its the same issue. Should dump this and go to WinAVR. In that I had avr/io.h header file error.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

azimmali wrote:
o one has used ATMEL 7 - it was mostly Keil uVision

So why do you have difficulty understanding that you have to add files to the Project so that they will be built?

 

That is exactly the same model that uVision - and just about every other IDE - uses!

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

I have added the files. I m not aware if there is any other configuration setting that I am missing here. Sometimes the antivirus can mess up the build operation if it identifies the software as malware or so (it seems) - there was a post on here.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Is it not building because no changes have been made to the code yet??

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Are all of the files of interest showing in the Solution Explorer window?

  1. Do a Build / Clean Solution.
  2. Do a Build / Build Solution.
  3. Post ALL of the output that appears in the Output tab.

David (aka frog_jr)

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

show this to your teacher:

Maybe he IS the teacher?? surprise

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Zip up your project and PM it to me and I will take a look and see if I can make heads or tails on what your problem is.

 

JIm

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

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

Just a guess but I think this might be something to do with Low Frequency RFID reader with Remote Data Retrieval for Bio-compatible Transponders​. 

 

David

 

 

 

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

I am fully aware of the link

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

No. I am an intern.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Output:

 

 

------ Clean started: Project: EMDB409Reader, Configuration: Debug AVR ------
========== Clean: 1 succeeded, 0 failed, 0 skipped ==========

 

------ Build started: Project: EMDB409Reader, Configuration: Debug AVR ------
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========

 

 

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

What people want to see:

 

  • a screenshot to show the other files have been added to the project - in the yellow area

  • the rest of the build output like
------ Build started: Project: Sonic001, Configuration: Debug AVR ------
Build started.
Project "Sonic001.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets" from project "C:\Users\david\OneDrive\Documents\1854Concepts\Misc\Sonic\Sonic001\Sonic001\Sonic001.cproj" (target "Build" depends on it):
 Using "RunCompilerTask" task from assembly "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll".
 Task "RunCompilerTask"
  Shell Utils Path C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils
  C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe all --jobs 4 --output-sync 
  make: Nothing to be done for 'all'.
 Done executing task "RunCompilerTask".
 Using "RunOutputFileVerifyTask" task from assembly "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll".
 Task "RunOutputFileVerifyTask"
    Program Memory Usage  : 1708 bytes   20.8 % Full
    Data Memory Usage   : 6 bytes   1.2 % Full
 Done executing task "RunOutputFileVerifyTask".
Done building target "CoreBuild" in project "Sonic001.cproj".
Target "PostBuildEvent" skipped, due to false condition; ('$(PostBuildEvent)' != '') was evaluated as ('' != '').
Target "Build" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Avr.common.targets" from project "C:\Users\david\OneDrive\Documents\1854Concepts\Misc\Sonic\Sonic001\Sonic001\Sonic001.cproj" (entry point):
Done building target "Build" in project "Sonic001.cproj".
Done building project "Sonic001.cproj".

Build succeeded.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

 

As you don't seem to be generating any output try rebuild.

 

 

David

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

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

 Build started: Project: EMDB409Reader, Configuration: Debug AVR ------
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

In the properties for your project what are the c compiler options for the Toolchain? (right click on bold name in your screenshot above). 

 

David 

 

P.S. "Looks like someone is a pro at stalking. Haha." - nope I'm very amateur.

 

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

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

what are the c compiler options for the Toolchain

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

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

azimmali wrote:
 I am an intern.

So, surely, you must have a supervisor or mentor or suchlike.

 

Why are you not getting them to help you?

 

Again, they could see exactly what you're actually doing, see exactly how you've got everything configured, see exactly what is happening - and show you how to fix it.

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

1) Since this does not seem to be a very complicated project, and probably not is holding any secrets (yet?), then why not simply ZIP up the whole project file tree and attach it to a post here. Then jgmdesign (and others) get to try it out. By that it might be determined if the problem lies within the project or in other places (e.g. your Studio installation).

 

2) The build output seems totally empty. After a "clean" it does not even show compilation of your main file. That is strange. Have you tried to set up another project, just to check this. Just create a new project for a ATmega64 following the New Project wizard. Then build. Show us the complete build output of that. (This, again, can help us establish if there is a problem with your original project setup, or with your Studio installation.)

Happy 75th anniversary to one of the best movies ever made! Rick Blane [Bogart]: "Of all the gin joints, in all the towns, in all the world, she walks into mine."

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

If that was the case, I would have asked them in the first place. The company is a startup with lots of software engineers. I am the first intern in the hardware department along with another guy who designs the PCB.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Ok. I will post it today.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

I just posted an example that was built

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

That really tells very little

Did you see my PM? There was no zip file attached

Jim

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

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

azimmali wrote:
I just posted an example that was built

OK, so it does not seem that the Studio installation is broken in general. So, for the project this whole thread started out with, it is likely that there is something wrong in that specific project.

 

What we need now is for you to show us the project that is failing the build. ZIP up the whole project file tree and attach the ZIP file to a post here.

 

If you, e.g. for reasons of non-disclosure, can not do that then I believe your only option is to try to set up another project with the same files as the failing project. Take it in small steps., i.e. set up the empty project, do a build, add some files, do a build etc until you have all necessary files added.

Happy 75th anniversary to one of the best movies ever made! Rick Blane [Bogart]: "Of all the gin joints, in all the towns, in all the world, she walks into mine."

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

I have attached the Atmel Project and the program files of the project as zip files.

Attachment(s): 

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

I doubt those are your ATMEL STUDIO project.

 

The request is for you to ZIP the PROJECT up and post it here unless there is a privacy concern.

 

IF there is a privace concern, my offer to PM it to me is still there, but it must be the Studio Project and in ZIP form.

 

JIm

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

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

Well, in spite of my Anti virus kicking up a fuss about tar and rar files I opened the first one and made a project out of the files and here are some screenshots of what I get:

 

 

YOu will notice all the files are in the solution on the right....in your screenshot above in post #6 this is not the case.

 

It fails to build, but now we know why:

 

YOu will need to look at those files to see why.

 

I have PM'ed you the project to put into your Atmel Studio folder on your PC.

 

JIm

 

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

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

Lots of poisoned ISR names.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

I think the .h and .c files are using old signal definitions from an old version of AVR-GCC.  The OP will need to go here:

http://www.nongnu.org/avr-libc/u...

 

TO fix these

 

JIm

 

EDIT:  A couple of updates

1) The OP has run into the same problem with the project I sent him that he is posting in this thread.  THis leads me to believe that he has changed the settings of AS7, and given the OP's seemingly very 'noob'-ish-ness I would suggest simply uninstalling AS& and re-installing it rather than trying to figure out what has happened, and then advise how to fix it.  THe thread is getting long in tooth, and nothing substantial has happened to this point so rather than 50+ more posts, why not start with a clean slate.

 

2) As I posted I could create a project with the files, and I was greeted with several warnings and errors I posted above.  I did some looking and in less than 20 minutes corrected teh errors and warnings and now have a successful build:

 

 

Since the output screen I posted above pretty much tells what the problems are for the OP's sake on learning I won't give up the answers.  But I will leave one hint with regards to the warning:

 

 

 

JIm

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

Last Edited: Mon. Aug 28, 2017 - 03:08 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

More hints. My 6YO Modbus project has this added

 

 * Modifications February 2011 John Samperi Ampertronics Pty Ltd
 * Support for Mega164P and family.
 * Removed old SIGNAL references and replaced for the current
 * ISR(vector) and added comment on some necessary changes in
 * some locations for different processor types or USART.
 *

 also things like

//SIGNAL( SIG_OUTPUT_COMPARE1A )

ISR (TIMER1_COMPA_vect)
{
    ( void )pxMBPortCBTimerExpired(  );
}

and

 

// Use correct ISR name for the processor used. Defined in interrupt.h

#if defined (__AVR_ATmega8515__) || defined (__AVR_ATmega163__) 
ISR (UART_UDRE_vect)

#else

ISR (USART0_UDRE_vect)

#endif

{
    pxMBFrameCBTransmitterEmpty(  );
}


#if defined (__AVR_ATmega8515__) || defined (__AVR_ATmega163__) 

ISR (UART_RX_vect)

#elif defined (__AVR_ATmega162__)

ISR (USART0_RXC_vect)

#else

ISR (USART0_RX_vect)

#endif

{
    pxMBFrameCBByteReceived(  );
}


#ifdef RTS_ENABLE

	#if defined (__AVR_ATmega8515__) || defined (__AVR_ATmega163__) 

	ISR (UART_TX_vect )

	#elif defined (__AVR_ATmega162__)

	ISR (USART0_TXC_vect)

	#else

	ISR (USART0_TX_vect)

	#endif

{
    RTS_LOW;
}
#endif

 

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Awww C'mon John,

 

You are taking the fun outta this cheeky

 

JIm

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

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

Well, the mystery still is why the OP is getting a completely empty build output after a clean+build.

Happy 75th anniversary to one of the best movies ever made! Rick Blane [Bogart]: "Of all the gin joints, in all the towns, in all the world, she walks into mine."

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

Last Edited: Mon. Aug 28, 2017 - 07:00 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So are you suggesting I uninstall the software and reinstall it? crying

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

And what on earth is OP?

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

OP is either "original post" meaning post #1 in a thread or "original poster" meaning the person who started the thread and made post #1

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

azimmali wrote:
So are you suggesting I uninstall the software and reinstall it? 

 

No. Since you managed to set up an "empty" project and make that do a build, I suggest you do another attempt on setting up a project for the EMD8409.

 

Do it in small steps, testing to build after each step: Set up project. Build. Add a few files. Build. Add a few more. Build. At each step, make sure that your build output does not go completely empty as in your current project.

 

Never mind you will get build errors along the way. In fact, that is progress as compared to your current project. We'll deal with those build errors eventually - e.g. the ones js mentioned above.

 

(And if it comes down to needing to reinstall the software that's not such a big deal. It takes at most a few tenths of minutes, unless something goes really wrong.)

Happy 75th anniversary to one of the best movies ever made! Rick Blane [Bogart]: "Of all the gin joints, in all the towns, in all the world, she walks into mine."

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

Where can I get the new header files?

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

So you are suggesting me to run a say only main.c and the headers associated with it??

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

What new header files?

 

If you're talking about the obsolete avr/signal.h then the file to use instead is, as the error message says, avr/interrupt.h . And you already have the file avr/interrupt.h, and don't need to get it again. Isn't that clear from the same screen-dump??! Hint: Look at the ource line above the one that generated the error and that you commented out. What file is included there? Did that line generate an error?

 

Happy 75th anniversary to one of the best movies ever made! Rick Blane [Bogart]: "Of all the gin joints, in all the towns, in all the world, she walks into mine."

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

If the OP read ANYTHING in my recent posts I said I was able to create the project with the files he posted AND I got it to build, but fail with errors and warnings which I posted screen shots of.  I also said that it took 20 minutes to fix the problems and both I and John left s couple of hints as to that to look for....and a link to a website as well.

 

azimmali wrote:
So are you suggesting I uninstall the software and reinstall it? crying

I did suggest that as I have no idea(and neither does anyone else at this point) what you have done to any of the settings in your installation of AS7.  My installation is whatever the installer package does by default, so unless you tweaked your installation the project I PM'ed you should have given you the same screens I posted earlier in this thread.

 

azimmali wrote:
Where can I get the new header files?

If you follow what has been explained you do not need to add ANYTHING

 

Post #52 is what I got after creating a project with the files you PM'ed me and the result after I added them to the project and hit BUILD.  You will see a dozen errors and three warnings.  I clicked on those warnings and they took me to your files that had issues. 

 

Using the link I provided in post #54 I was able to correct ALL of the errors in their corresponding locations and then built the project and received no errors and I showed in my first screenshot also in post #54

 

Also in post #54 I pointed to where the warnings were coming from and left you with a hint on where you need to fix the issue.....in the second screenshot in post #54.

 

 

If you are still having the same problems after all of this then either ZIP up your problem project like we asked you to do in the first place, OR uninstall AS7 and start fresh.

 

I don't know what more anyone can do for you.  I could send you the project I have set up and compiles/builds without errors, but then that falls into Cliffs question about spoons.

 

Jim

 

EDIT:

JOHAN WROTE:

Hint: Look at the ource line above the one that generated the error and that you commented out.

Are you referring to the screenshot of what I commented out, or the OP?

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

Last Edited: Mon. Aug 28, 2017 - 05:01 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yeah, so I commented out avr/signal.h and tried building - Its still the same two line output. Ughhhh!!! .:((

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Jim,

The thing doesn't show me any errors. And I did not change any installation settings - by default - i installed all the three ARM architectures that were offered.

 

Azim

Amateur programmer.
Believe when I tell you that my struggle on here is real.

Last Edited: Mon. Aug 28, 2017 - 05:09 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is there anything else, that I should be concerned of building the project other than adding the files related to it?

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Create a new project, select GCC C executable project, select ATTiny45 and change code to: 

 


#include <avr/io.h>
#include <stdio.h>


int main(void)
{
 printf("hello world");
    /* Replace with your application code */
    while (1) 
    {
    }
}

Build and do you see something like:

 

------ Build started: Project: GccApplication2, Configuration: Debug AVR ------
Build started.
Project "GccApplication2.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets" from project "C:\Users\david\OneDrive\Documents\1854Concepts\Misc\Sonic\GccApplication2\GccApplication2\GccApplication2.cproj" (target "Build" depends on it):
 Using "RunCompilerTask" task from assembly "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll".
 Task "RunCompilerTask"
  Shell Utils Path C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils
  C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe all --jobs 4 --output-sync 
  Building file: .././main.c
  Invoking: AVR/GNU C Compiler : 5.4.0
  "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe"  -x c -funsigned-char -funsigned-bitfields -DDEBUG  -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATtiny_DFP\1.2.118\include"  -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=attiny45 -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATtiny_DFP\1.2.118\gcc\dev\attiny45" -c -std=gnu99 -MD -MP -MF "main.d" -MT"main.d" -MT"main.o"   -o "main.o" ".././main.c" 
  Finished building: .././main.c
  Building target: GccApplication2.elf
  Invoking: AVR/GNU Linker : 5.4.0
  "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe" -o GccApplication2.elf  main.o   -Wl,-Map="GccApplication2.map" -Wl,--start-group -Wl,-lm  -Wl,--end-group -Wl,--gc-sections -mmcu=attiny45 -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATtiny_DFP\1.2.118\gcc\dev\attiny45"  
  Finished building target: GccApplication2.elf
  "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature -R .user_signatures  "GccApplication2.elf" "GccApplication2.hex"
  "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objcopy.exe" -j .eeprom  --set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0  --no-change-warnings -O ihex "GccApplication2.elf" "GccApplication2.eep" || exit 0
  "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objdump.exe" -h -S "GccApplication2.elf" > "GccApplication2.lss"
  "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O srec -R .eeprom -R .fuse -R .lock -R .signature -R .user_signatures "GccApplication2.elf" "GccApplication2.srec"
  "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-size.exe" "GccApplication2.elf"
     text    data     bss     dec     hex filename
     1562      12       6    1580     62c GccApplication2.elf
 Done executing task "RunCompilerTask".
 Using "RunOutputFileVerifyTask" task from assembly "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll".
 Task "RunOutputFileVerifyTask"
    Program Memory Usage  : 1574 bytes   38.4 % Full
    Data Memory Usage   : 18 bytes   7.0 % Full
 Done executing task "RunOutputFileVerifyTask".
Done building target "CoreBuild" in project "GccApplication2.cproj".
Target "PostBuildEvent" skipped, due to false condition; ('$(PostBuildEvent)' != '') was evaluated as ('' != '').
Target "Build" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Avr.common.targets" from project "C:\Users\david\OneDrive\Documents\1854Concepts\Misc\Sonic\GccApplication2\GccApplication2\GccApplication2.cproj" (entry point):
Done building target "Build" in project "GccApplication2.cproj".
Done building project "GccApplication2.cproj".

Build succeeded.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

 

David

 

 

 

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

 

 

This is what i get everytime I build any project on AS7.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

Last Edited: Mon. Aug 28, 2017 - 05:40 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I did read your posts Jim. When the tool is adamant that it wont to show me any errors, what do you want me to do?

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

azimmali wrote:
Yeah, so I commented out avr/signal.h and tried building - Its still the same two line output. Ughhhh!!! .:((

Have you understood anything??

 

We know it is a problem with your project and the build not generating any output at all. This is the problem we need to deal with now.

 

That is totally unrelated to the problems with deprecated header files and other errors coming from a build that actually works. This is to be dealt with later.

 

Do you understand this division into two completely separate problems, and do you understand why we need to deal with the former first?

 

And I have to ask: What is your previous experience with software development in general? With C development specifically? (This will help us form and formulate help on a fitting level.)

Happy 75th anniversary to one of the best movies ever made! Rick Blane [Bogart]: "Of all the gin joints, in all the towns, in all the world, she walks into mine."

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

azimmali wrote:
This is what i get everytime I build any project on AS7.

 

OK, one option then might be to try a reinstalll of Atmel Studio.

 

Could you just do these tests first:

 

1. Right-click on the file main.c in the Project Explorer and select Compile. Do you get any build output from that?

 

2. Try to build the complete project. After that, are there any files in the folder Output Files in Solution Explorer?

Happy 75th anniversary to one of the best movies ever made! Rick Blane [Bogart]: "Of all the gin joints, in all the towns, in all the world, she walks into mine."

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

Hi Johan,

I am somewhere between a beginner - intermediate. I am new to Embedded Software Development. I have used Kiel earlier but that was primarily making some minor changes to an already existing file. I would shamelessly say, that I have little practical exposure to programming - better say I have a phobia and want to get rid of it.

 

Azim

Amateur programmer.
Believe when I tell you that my struggle on here is real.

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Tools->Options->Projects->Build and Run: Set MSBuild project build output verbosity = Diagnostic to get full logs.

:: Morten

 

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

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

Johan,

I did as you said. The build output is empty with just a flashing cursor.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Yes, its showing stuff in the compiler window. Thanks.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

azimmali wrote:
Yes, its showing stuff in the compiler window.

Show it to us!

Happy 75th anniversary to one of the best movies ever made! Rick Blane [Bogart]: "Of all the gin joints, in all the towns, in all the world, she walks into mine."

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

....this is like pulling teeth....

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

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

azimmali wrote:

cc Jim, Johan

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

I just posted.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Haven't pulled mine yet, so no clue how painful that would be.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

ok so now you can fix your errors.

 

David

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

And for some weird reason my antivirus is blocking traffic whenever I upload something to this site. 

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Well, I would say I have to figure out how to fix them.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

azimmali wrote:

azimmali wrote:

cc Jim, Johan

 

Gee, that looks a lot like what I posted in post #52.

 

DAFlippers wrote:

....this is like pulling teeth....

Thats easier....and they numb you up first..

 

Jim

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

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

So I change the ISR names to the ones that are being used - not cool -( the company gave me this prehistoric code )- shouldn't complain though. How do I deal with those warnings? In addition to that, I can't edit the header files (access denied).

Amateur programmer.
Believe when I tell you that my struggle on here is real.

Last Edited: Mon. Aug 28, 2017 - 06:26 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

------ Build started: Project: EMD8409, Configuration: Debug AVR ------
Build started.
Project "EMD8409.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets" from project "E:\EMDB409\AVREMDB\EMD8409\EMD8409\EMD8409.cproj" (target "Build" depends on it):
    Task "RunCompilerTask"
        Shell Utils Path C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils
        C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe all --jobs 4 --output-sync 
        make: Nothing to be done for 'all'.
    Done executing task "RunCompilerTask".
    Task "RunOutputFileVerifyTask"
                Program Memory Usage     :    25092 bytes   38.3 % Full
                Data Memory Usage         :    1764 bytes   43.1 % Full
                EEPROM Memory Usage     :    7 bytes   0.3 % Full
    Done executing task "RunOutputFileVerifyTask".
Done building target "CoreBuild" in project "EMD8409.cproj".
Target "PostBuildEvent" skipped, due to false condition; ('$(PostBuildEvent)' != '') was evaluated as ('' != '').
Target "Build" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Avr.common.targets" from project "E:\EMDB409\AVREMDB\EMD8409\EMD8409\EMD8409.cproj" (entry point):
Done building target "Build" in project "EMD8409.cproj".
Done building project "EMD8409.cproj".

Build succeeded.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

 

 

 

 

 

Dayum Daddy!!!

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

------ Build started: Project: EMDB409Pro, Configuration: Debug AVR ------
Build started.
Project "EMDB409Pro.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets" from project "E:\EMDB409\AVREMDB\EMD8409\EMD8409\EMDB409Pro.cproj" (target "Build" depends on it):
    Using "RunCompilerTask" task from assembly "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll".
    Task "RunCompilerTask"
        Shell Utils Path C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils
        C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe all --jobs 4 --output-sync 
        Building file: .././main.c
        Invoking: AVR/GNU C Compiler : 5.4.0
        "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe"  -x c -funsigned-char -funsigned-bitfields -DDEBUG  -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include"  -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega64 -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\gcc\dev\atmega64" -c -std=gnu99 -MD -MP -MF "main.d" -MT"main.d" -MT"main.o"   -o "main.o" ".././main.c" 
        Finished building: .././main.c
        Building target: EMDB409Pro.elf
        Invoking: AVR/GNU Linker : 5.4.0
        "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe" -o EMDB409Pro.elf  boot_ld.o level1_4026.o level1_41xx.o level1_6869.o level2.o level2_4026.o level2_41xx.o level2_6869.o level3.o level3_4026.o level3_41xx.o level3_6869.o level4.o main.o   -Wl,-Map="EMDB409Pro.map" -Wl,--start-group -Wl,-lm  -Wl,--end-group -Wl,--gc-sections -mmcu=atmega64 -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\gcc\dev\atmega64"  
        Finished building target: EMDB409Pro.elf
        "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature -R .user_signatures  "EMDB409Pro.elf" "EMDB409Pro.hex"
        "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objcopy.exe" -j .eeprom  --set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0  --no-change-warnings -O ihex "EMDB409Pro.elf" "EMDB409Pro.eep" || exit 0
        "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objdump.exe" -h -S "EMDB409Pro.elf" > "EMDB409Pro.lss"
        "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O srec -R .eeprom -R .fuse -R .lock -R .signature -R .user_signatures "EMDB409Pro.elf" "EMDB409Pro.srec"
        "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-size.exe" "EMDB409Pro.elf"
           text       data        bss        dec        hex    filename
          25086         13       1758      26857       68e9    EMDB409Pro.elf
    Done executing task "RunCompilerTask".
    Using "RunOutputFileVerifyTask" task from assembly "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll".
    Task "RunOutputFileVerifyTask"
                Program Memory Usage     :    25092 bytes   38.3 % Full
                Data Memory Usage         :    1764 bytes   43.1 % Full
                EEPROM Memory Usage     :    7 bytes   0.3 % Full
    Done executing task "RunOutputFileVerifyTask".
Done building target "CoreBuild" in project "EMDB409Pro.cproj".
Target "PostBuildEvent" skipped, due to false condition; ('$(PostBuildEvent)' != '') was evaluated as ('' != '').
Target "Build" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Avr.common.targets" from project "E:\EMDB409\AVREMDB\EMD8409\EMD8409\EMDB409Pro.cproj" (entry point):
Done building target "Build" in project "EMDB409Pro.cproj".
Done building project "EMDB409Pro.cproj".

Build succeeded.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

 

 

 

 

This is the output I got the second time I compiled it. I take back the daddy comment. - what's the difference? anyone?

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

I just did a blunder - renamed the project and now AS7 wont open it. indecision

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

Unfortunately for you I think a lot of people have given up on this thread. 

 

David

 

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

That's ok -  I fixed it. The earlier version also opened a makefile. But this new version isn't. I will try again to see what the error is and giving up is never an option. Thanks for helping out.

Amateur programmer.
Believe when I tell you that my struggle on here is real.

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

azimmali wrote:
I just did a blunder - renamed the project and now AS7 wont open it. 

 

Why!?!? Do not try haphazard changes! This is absolutely basic when fault seeking. Also, work ob one problem at a time. What on earth where you trying to accomplish with renaming the project?

 

You are absolutely not knowing what you're doing. You should find someone locally that can help you sort this out "in situ".  We are close to 100 posts, and we are going around in circles: You have a project that actually does a build - that was progress. Then you decide to break it with a completely un-necessary renaming of the project. So now you're one step back and need to fix that first..

 

We're glad to help here, but it means we spend time on peoples problems. But this just changed from helping to just spend time in vain. No fun. No gain. Just wasted time.

 

Go tell your manager that you are not able to resolve your problems and that you need help by someone locally. This remote help over the web is obviously not working.

 

And with that, I am one of those giving up.

Happy 75th anniversary to one of the best movies ever made! Rick Blane [Bogart]: "Of all the gin joints, in all the towns, in all the world, she walks into mine."

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

Last Edited: Mon. Aug 28, 2017 - 08:42 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

DAFlippers wrote:

Unfortunately for you I think a lot of people have given up on this thread. 

 

David

 

JohanEkdahl wrote:
And with that, I am one of those giving up.

 

I am not out yet.

 

JohanEkdahl wrote:
You are absolutely not knowing what you're doing. You should find someone locally that can help you sort this out "in situ".

 

Hmmmmmm.......  Thanks for an idea

 

Jim

 

 

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

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

Now, on the St. Louis team we have Who's on first, What's on second, I Don't Know is on third--

That's what I want to find out. I want you to tell me the names of the fellows on the St. Louis team.

I'm telling you. Who's on first, What's on second, I Don't Know is on third--

 

etc. round and round we go......we fix the problem but we have just gone back to first base.....

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Well everyone it would appear that this thread is dead........

 

I PM'ed the OP and offered to set up a Skype call, AND a Teamviewer session to get this sorted out, and received a PM with still another issue...

 

I told the OP to just "STOP" and that his antics were irritating many talented community members, and that it happens, and I then made my offer to work with him to get hings fixed as we are in the same state geographically, even though several hundred miles away.  Skype and a remote desktop can close the gap quite easily.

 

The reply back was less than enthusiastic, and that he will now try and rectify this himself.....another PM followed saying that he has the project compiling without errors and that was it.

 

I have asked that the OP let us all know what he did to get all this working perfectly in less than 90 minutes time so we can all learn from this.  From what I was told he was hung up on makefiles, which I explained that if he leaves AS7 alone and if he does not have anything special going on there is no need to worry about makefiles as Studio handles all of this in the background.  Had he taken me up on my offer I would have shown him where the makefile resides in the project, but alas.....

 

We shall see if there is a reply.

 

well at least the OP was able to get things working, so great job everyone!  Thanks for hanging in there cheeky

 

Jim

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

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

I think the thing to understand is how output verbosity came to be set to Quiet (or whatever it was).  Could this have been done by the installer in which case this could happen again?  Having asked that question I set up a new laptop less than a month ago, installed AS7 and verbosity was set to Diagnostic. 

 

David 

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

azimmali wrote:
 I am an intern.

awneil wrote:
So, surely, you must have a supervisor or mentor or suchlike.

 

Why are you not getting them to help you?

 

Again, they could see exactly what you're actually doing, see exactly how you've got everything configured, see exactly what is happening - and show you how to fix it.

 

azimmali wrote:
 The company is a startup with lots of software engineers. I am the first intern in the hardware department

Surely, the whole point of an internship is for the internee to learn from experienced mentors??

 

If this company has no hardware experience,how can they possibly have a hardware intern??

 

But, anyhow, this is not a hardware problem - this is a software issue.

 

JohanEkdahl wrote:
Go tell your manager that you are not able to resolve your problems and that you need help by someone locally. This remote help over the web is obviously not working.
 

Absolutely!

 

Or ask those "software engineers".

 

Atmel Studio is basically just Microsoft Visual Studio - it is not anything special or unique to embedded development that should be unfamiliar to any software developer.

 

 

Last Edited: Tue. Aug 29, 2017 - 08:22 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Andy,

The OP is probably not reading the thread anymore so theres no point in beating this up anymore.

 

DAFlippers wrote:

I think the thing to understand is how output verbosity came to be set to Quiet (or whatever it was).  Could this have been done by the installer in which case this could happen again?  Having asked that question I set up a new laptop less than a month ago, installed AS7 and verbosity was set to Diagnostic. 

 

David 

Hmmm, point for Morten to look into maybe?

 

JIm

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

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

DAFlippers wrote:
I think the thing to understand is how output verbosity came to be set to Quiet (or whatever it was). 

Given the general shoot-from-the-hip approach the OP has demonstrated, my first guess would be that he himself fiddled with it.

Happy 75th anniversary to one of the best movies ever made! Rick Blane [Bogart]: "Of all the gin joints, in all the towns, in all the world, she walks into mine."

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

That's an annoying thing I find with many (most?) IDEs: once you've fiddled with Project settings, there is no 'undo' or 'exit without saving'

 

angry

 

You just have to keep backup copies of the Project files.

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

awneil wrote:
You just have to keep backup copies of the Project files.
Which is why God invented revision control ;-)

 

Using MSVS (not Atmel Studio - though it's the same) I do find it puzzling that many project property changes you make are written direct to the vcxproj file and yet sometime you File-Exit the IDE and it shows a tree saying you have unsaved changes to SLN->VCXPROJ->... etc. do you want to save it all now? It's never clear why some things are instantly committed to disk and some are only at a File-Save All or whatever ?!?

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

Hold it right there everyone - So all this while, I could not see what the errors or warnings were. Well the culprit was in the IDE settings - Tools ---> Options ----> Projects ----> Build and Run -----> MSBuild project build output verbosity ----> was set to MINIMAL -----> Changed it to Diagnostic ----> Thanks to the forum member from ATMEL. 

This enabled me to see what the errors/warnings were----most of them were to update ISR names as mentioned in the previous posts. I updated them and the project build was successful.

 

 

Jim,

The confusion with makefile happened because I initially started with Win AVR  -- In the MFile, there was a line of code to update the programmer used. As of now, I don't have a programmer yet. I would like to know if this is required through AS7. I couldn't load the project that you had sent me (because, I tried to rename it) which actually showed the makefile as a separate window on AS7. So, I assumed that I had done something wrong when I built the project that I had created. I still have the zip you had sent me, strange that the project still doesn't open/cannot be located despite having it on the file. I could locate the makefile, hex files, etc., in the debug folder of the project.

 

Johan,

I am new to this platform and I want to learn things through this forum. I may have asked a stupid question all together but I have no clue as to how the settings where set to minimal. P.S. I did not mess up the installation.

 

 

Thanks everyone.

 

Best,

Azim

 

Amateur programmer.
Believe when I tell you that my struggle on here is real.

Last Edited: Tue. Aug 29, 2017 - 05:36 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Someone clearly messed up the verbosity setting ;-)

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

I did not touch it.

Amateur programmer.
Believe when I tell you that my struggle on here is real.