Change MCU family on SAM

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

Hello everybody

I want to change a sam MCU from another sam family (from SAM4L to SAM4S)

 

the problem is that after I changed the micro it tells me (rightly) that it does not find the files like osc.h related to that micro ...

Can't i have them automatically included in atmel studio ???

 

Thank you for help me

 

Stefano

 

 

This topic has a solution.
Last Edited: Wed. May 5, 2021 - 02:02 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

I dont believe that Studio would automatically make the change since the device is "tied" to the project. The quickest is if you start a new project using the SAM4S and migrate the code to that project

 

llya

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

shtirka wrote:
I dont believe that Studio would automatically make the change since the device is "tied" to the project.

Agreed - this is my experience. 

 

frown

 

shtirka wrote:
start a new project using the SAM4S and migrate the code to that project

+1

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

ok Thanks for all

 

Stefano

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

If that's answered your question, please mark the solution - see Tip #5 in my signature, below:

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