After updating Atmel Studio > 4000 errors occur ... nice

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

Hi there,

 

Because I faced some issues eventually caused by windows I updated the Atmel Studio (now called Microchip Studio). Unfortunately when compiling I'm now experiencing > 4000 errors. So what the hack went wrong with the IDE?

Probably some paths that are now malfunctioning? Does any one now how to solve such an issue?

 

Thx for any help!!

 

Cheers Nik

 

 

This topic has a solution.
Last Edited: Mon. Feb 15, 2021 - 11:27 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


radioman85 wrote:
> 4000 errors

that almost invariable means that there's just 1 problem, which is causing everything else to go wrong.

 

The 'Error List' is useless in this situation - because it filters stuff and displays it out of order.

 

Instead, you need to go to the 'Output' window, and start with the very first-reported error:

 

 

https://www.avrfreaks.net/commen...

 

https://www.avrfreaks.net/commen...

 

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...
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

MC Studio installs XC8 compiler, are you using it instead of gcc now?

 

Jim

 

 

(Possum Lodge oath) Quando omni flunkus, moritati.

"I thought growing old would take longer"

 

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

Nope, still using GCC. As shown in the figure below. ?? Does the XC8 still overwright something?

 

 

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

For sure it is the XC8. Hmm, how can I revert this?

Because my AT32UC3C1256C is not supported by XC8 angry

Last Edited: Mon. Feb 15, 2021 - 11:03 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

radioman85 wrote:
AT32UC3C1256C is not supported by XC8

The clue is in the name!

 

However did you get an AVR-32 project being built by XC8??

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

After it said that it wasn't supported, I actually just reinstalled the older version of Atmel Studio :-/ And it runs again. huhh.
Aaa, 8 -----> 8 bit tadaaa. Its monday, and its late. I guess I have to try it with the XC32 another time.

 

Thx a lot for your input!! They are helpful as always!

 

Cheers Nik

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

radioman85 wrote:
I guess I have to try it with the XC32 another time.

MPLAB® XC Compilers | Microchip Technology

...

  • MPLAB XC32/32++ supports all 32-bit PIC and SAM MCUs and MPUs

...

 

"Dare to be naïve." - Buckminster Fuller

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

When you installed Microchip Studio, you should have got the choice of what toolchains to install:

  • GCC for AVR32
  • GCC for AVR8
  • XC8 for AVR8
  • GCC for SAM

 

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

radioman85 wrote:
I guess I have to try it with the XC32 another time.

quoting Microchip, gchapman wrote:

  • MPLAB XC32/32++ supports all 32-bit PIC and SAM MCUs and MPUs...

So no AVR32 support.

 

While AVR32 continues to exist, it isn't being developed - and hasn't been for some years now:

 

https://www.avrfreaks.net/commen...

 

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