NEWB Help Please

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

For the life of me I can't figure out what I'm doing wrong. I have the SAML11 Xplained pro board and I can't get any of the examples to work in Atmel Studio.  What am I doing wrong? Here are the steps I've taken and the results.

1) Plugged in the micro-usb cable and it shows up correctly on COM3 and the power LED is green

2) Download the LED Blink example

3) Shift-F5 for debugging and and the project builds correctly and the Power LED is Green and Status LED is Yellow but the LED does not blink

4) Put a break point right after the delay() and it says the break point will not be reached.

 

There is so little information on the web about programing and setting up these boards so I'm stuck, any ideas?

 

 

Attachment(s): 

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

I'm not familiar with that board, but have used similar ones, and one thing to look at is jumper configuration.  There may be jumpers related to boot and debugging.  Check the datasheet and make sure the jumpers are right.

C: i = "told you so";

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

Thank you for the suggestion, I will give that a shot.

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

I have the same issue. What was the solution?

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

Haven't gotten it figured out, I have a support ticket open on this issue and they haven't been much help

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

So it worked for me after downloading an older version of Atmel Studio (I downloaded  Atmel Studio v7.0.2389 )

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

Thank you so much, I will give this a try.

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

foureyes wrote:

So it worked for me after downloading an older version of Atmel Studio (I downloaded  Atmel Studio v7.0.2389 )

 

Thank you! This fixed it for me too. There must be issues with their latest Atmel Studio.

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


Try adding -mcmse in the compiler flag (Properties -> ARM/GNU Compiler -> Miscellaneous -> Other flags) in the latest Studio. This flag enables the generation of code for the Secure state of the ARMv8-M Security Extensions.

 

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

This worked. Thank you!

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

foureyes wrote:
This worked

Jolly good.

 

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