Same project works in one Studio6_2, but not the other

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

Greets Freaks,

 

I have a project for the Tiny441 that compiles and works perfectly on one version of Studio 6_2, but will not compile on a slightly newer build of Studio 6_2

 

Here is the 'ABOUT" for the older version where the project has no faults or errors, and loads into the AVR:

And the "ABOUT" for the version that the project opens up and reports non declared items:

 

 

I have attached the project if anyone wants to open it in their version to see if it opens without errors

 

Jim

 

P.S.  I just checked a third machine, and it has VER 1502 and the attached project opened without errors and compiled

Attachment(s): 

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

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

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

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

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

It opened fine in AS7, I don't have 6.2.

(I tried 6.1, but of course it complained about wrong version...)

David (aka frog_jr)

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

I can see it being an issue in 6_1.  Nice to see no issue in AS7, but I would like to avoid having to use AS7 if at all costs.

 

Thanks

JIm

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

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

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

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

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

Sorry, I missed getting a 6.2 because I didn't want to chance corrupting a project flow in mid-stream.

Now kicking myself, because I really like 6.1 better than 7 (takes much longer to boot up) and would have liked some of 6.2 additions.

David (aka frog_jr)

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

I hear ya.  But this is really irritating because all teh bit names and registers light up PINK which means that they are recognised by Studio.  They just generate an error saying they are not defined.

 

Hopefully one of the IDE folks(morten) might see this and rain down some wisdom

 

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

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

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

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

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

jgmdesign wrote:
all teh bit names and registers light up PINK which means that they are recognised by Studio.  They just generate an error saying they are not defined

That's the trouble with IDEs where the colouring is done by the IDE itself - not based on what the Compiler does.

 

The same can happen in Eclipse.

 

angry

 

Do the 2 Studio versions have the same compiler vresions "under the hood" ?

 

Have you tried capturing & comparing the build console output?

 

Have you tried --save-temps (or whatever it's called) and looking at the preprocessor output?

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The build output would be helpfull :) 

:: 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

I will run a build today and post.

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

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

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

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

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

OK, this has taken a turn towards the bizarre.

 

Here is a screenshot of a piece of the code:

 

As you can see the bit names are highlighted in PINK, but there is a red line underneath.  Hovering over one of the lines shows this:

 

Yet now when I do a CLEAN SOLUTION, then BUILD I no longer get any errors:

 

 

BUT:

If I go look at the ERRORS output I see:

 

 

Meanwhile this builds fine on the older builds of AS6_2

 

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

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

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

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

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

Those errors are Naggy errors, not Atmel Studio errors...

 

You should probably report it to the Naggy project on github: https://github.com/saaadhu/naggy

:: Morten

 

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

Last Edited: Sun. Jun 19, 2016 - 09:52 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Morten but he's got the same errors in the Error List? Are you saying Naggy "injects" its own errors into that list? 

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

I don't think I installed Naggy on this machine but I will check. If I did, does studio have an easy way to uninstall it?

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

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

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

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

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

Red squiggles are definitely Naggy ;-) 

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

MAybe they should rename it "Wifey" instead of "NAGGY"

 

JIm

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

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

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

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

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

Naggy also uses the error list (prefixes with [N]).

:: 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

Ah,  subtle! Do you not think it might be a bit more obvious with [Naggy] rather than [N] which is generally pretty meaningless? 

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

What does this have to do with what I think? smiley

:: 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

JIm,

 

I just copied the zip file.

unzipped it.

opened the solution in Studio 6.2 1563

did a rebuild solution and get this:

 

so the project seems to be compiling and linking without any problems.

 

no clue what naggy does/should do and for sure have not installed it.

 

guess naggy is naggying....

 

 

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

It's probably a new device that Naggy doesn't know about. Sigh, I'd have to create a new build for 6.2 then. Or have you uninstalled it already? :)

Regards

Senthil

 

blog | website

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

A longer prefix like [Naggy] makes it more likely to have the actual error/warning text scroll off the screen, which would be very annoying. That's why I chose N.

Regards

Senthil

 

blog | website