title: The stack pointer for stack 'CSTACK' is outside the stack range
body: <p>I am trying to execute some simple code on the IAR embedded workbench using a simulator. I've complied the code with no warnings or errors but during debugging I get this warning "The stack pointer for stack 'CSTACK' (currently 0x00000000) is outside the stack range (0x20000000 to 0x20001000)". My code fails to do even simple increment operations which I am finding really weird and hard to understand. I could find any proper solution for this problem Google or on IAR.
  Any thoughts??</p>