• Checking User Stack during runtime
    Hello, i'd like to know how much space I need in the Userstack Area. I'd cleard the UserStack-Section in start_v2.a66. In my 'main.c' I'd like to have a function which shows me the Userstack. Therefore...
  • STACK check
    Hi there, Iam using LPC2368 controller and Keil uVision3 IDe with the GNU compiler. I would like to know regarding the usage of Generate Stack Check Code option under Compiler menu of the Keil IDE....
  • Pointer to stack variables
    I have a function that creates an instance of a structure on the users stack. The structure is called object and it is located at address 0xEFB0. boolean CAN1_read(ubyte mbx, CAN_MSG *msg) { ubyte...
  • set Context Pointer (CP) and Stack Pointer (SP)
    Hello, how can I set the stack pointer and the context pointer to a special beginning value? Is there any way I can do this in the compiler? Regards, Philipp Küber
  • Checking for stack overflow
    Hi, I wonder what mechanism I can use to check a stack overflow. My company develops systems that should shut down if anything uncontrollable occurs. We are using the STM32F103 micro controller and...