Atmel SAM L21 CPU startup

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

I'm reading the datasheet for the SAM L21 family and in section 9.3.4 Fetching of Initial Instructions it mentions:

After Reset has been released, the CPU starts fetching PC and SP values from the Reset address,
0x00000000. This points to the first executable address in the internal Flash memory. The code read from
the internal Flash can be used to configure the clock system and clock sources. Refer to the ARM
Architecture Reference Manual for more information on CPU startup
(http://www.arm.com)

I found a PDF copy of the manual and searched the entire thing for "startup" with no hits.  While I don't have a specific question, I want to read more about the topic.  Am I looking at the right doc?  Is that a "dead reference" from Atmel?

Last Edited: Mon. Jan 6, 2020 - 10:08 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

SAM chips are not AVRs !

 

You need:  https://community.atmel.com/forums/atmel-smart-arm-based-mcus

 

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

Wrong forum?  Sorry, I saw several other posts about the L21 in this section hence thought it was relevant.  Thanks.

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

The Atmel SAM L21 implements the ARM®Cortex™ -M0+ processor, based on the ARMv6 Architecture and Thumb® -2 ISA.

 

https://static.docs.arm.com/ddi0419/d/DDI0419D_armv6m_arm.pdf

probably "B1.5.5 Reset behavior"

/Lars