Atmel START: Custom Board project not working on SAM E54 Xplained Pro board

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

I want to develop an application for the SAME54P20A. I will create custom PCB for the project, that is why I don't want to use the SAM E54 Xplained Pro template in Atmel START. I just want to select the SAME54P20A as target and go from there. However, when I do that to project just does not run. It compiles fine, it uploads fine (to the Xplained Pro board) but it doesn't run, cannot get to a breakpoint in main(). When I manually pause execution it gets me to the Disassembly tab and it's stuck on "F3AF4804 ??? memory out of bounds or read error".

 

When I run Example projects for the board then everything works just fine!

 

I attached some screenshots from Atmel START and the project folder 7z file!

 

Attachment(s): 

Last Edited: Sat. Aug 11, 2018 - 12:12 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have a very similar issue with a custom board that has an ATSAME70Q21A. So far no luck resolving.

Mark

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

SO your project doesn't run on an XPlained board, and also doesn't run on your custom board?

 

Sounds like something fundamental, then.

 

Are you sure you have correctly configured clocks, wait states, etc, etc, ...

 

Probably should be moved to the Cortex-M forums ...

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

if it won't run at all, it is not configurable clocks, etc.  Those are set by the running software.  Is the exact right chip selected?  I forget what is on the xplained, but I believe there are some issues with mismatched memory sizes.

jeff