• May I know where does stack memory begin in a Cortex M3's memory?

    Jonathan Hill
    Jonathan Hill

    For example, is it at the beginning of RAM, user or silicon vendor defined?

    I'd like to know such that I can identify the stack boundaries in memory and therefore know if I've caused a stack overflow in my code.

    My device is an LPC1778, and Im using…

    • Answered
    • over 5 years ago
    • System
    • Embedded forum
  • Value of "__initial_sp"

    niekiran
    niekiran

    Hello , 

    I am new to ARM cortex M processors and while doing some coding on my board using KEIL  i found that

    at location 0x0000_0000 my debugger shows the value "0x2000_0660" . Thats the value of the MSP loaded. 

    but i really dont understand how…

    • over 2 years ago
    • System
    • Embedded forum
  • View related content throughout System
  • More
  • Cancel