Sunday, February 18th 2018, 5:48am UTC+1

You are not logged in.

  • Login
  • Register



Date of registration: Mar 18th 2008

Posts: 5


Wednesday, February 25th 2009, 2:56pm

Stack pointer for CSTACK outside the stack range


  • embOS v 3.60a1
  • IAR EW
  • ARM 966E-S
  • Start_STR912.eww

I get this message during debugg in Debug Log window and application behave very strange (e.g. OS_Error with big error numbers). I tryed to change size of CSTACK but this difference(CSTACK poniter >> CSTACK stack range in memory ) ist too big and it doesn't help. What I have to do ? Where is error made ?


Super Moderator

Date of registration: Nov 14th 2007

Posts: 264


Monday, March 2nd 2009, 11:57am


you can ignore this error message. Please deactivate the IAR stack check plugin, Menu -> Project -> Options -> Debugger -> Plugins - Stack.

The IAR stack check plugin works not correctly with embOS, the stack check plugin only checks the CSTACK und IRQSTACK but embOS tasks running
on their own stack.

The CStack size will not cause your problem, please ensure whether your task stacks are big enough. You can also try to step with single steps after
OS_Error() to see where the issue occurred.


Similar threads