Compile old AVR code in ATmel Studiio 6.2

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

Hi there,

Has anyone ever compile AVR Studio 4 or 5 code using ATmel Studio 6.2?

Do you encounter error on the ASF?

 

Thanks

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

Are you saying the code was using ASF back in Studio 4?

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

Yes.

It had been working since then.

Now need to add in another function.

So Atmel Studio 6.2 keep giving bug, no problem with AVR Studio 5.

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

How is bug related to ASF?

 

You will get a lot more help if you show the section of code referred to by the error statement AND the full error statement. Nobody can help you with such little information.

 

Jim

 

Until Black Lives Matter, we do not have "All Lives Matter"!

 

 

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

So Atmel Studio 6.2 keep giving bug,

What "bug"? Are you simply talking about a compilation time warning/error? Or that the code, when built, behaves differently at run time? Is this really about upgrading from some ancient version of ASF that was used alongside Studio4 to the latest version built into Studio 6 perhaps?

Last Edited: Mon. Aug 24, 2015 - 09:28 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

chawcs_smartmrt wrote:
Has anyone ever compile AVR Studio 4 or 5 code using ATmel Studio 6.2?

Taking code from any toolset to another toolset - even different versions of the same toolset - should always be considered as a porting exercise.

 

Do you encounter error on the ASF?

What sort of "error" ?

 

I found that the ASF 3.20.1 update didn't work (for SAM R21): https://www.avrfreaks.net/forum/a...

 

http://www.at91.com/discussions/...

 

 

As the others have said, you really need to give more details for people to be able to help!

 

 

 

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