• Calculate free remaining stack space
    Hi, I would like to calculate the free remaining stack space during run time. I tried to access the r13 register with: LPSTR pcSP; { register volatile int mySP __asm("sp"); pcSP= (LPSTR)mySP;...
  • Calculate free remaining stack space
    Hi, I would like to calculate the free remaining stack space during run time. I tried to access the r13 register with: LPSTR pcSP; { register volatile int mySP __asm("sp"); pcSP= (LPSTR)mySP;...
  • Memory Pool (malloc/free) Free Space?
    Quite simply, how can I tell how much free memory I have in a memory pool? I've created a memory pool, initialized it with init_mempool and use malloc & free finctions for memory management. Is...
  • Memory Pool (malloc/free) Free Space?
    Quite simply, how can I tell how much free memory I have in a memory pool? I've created a memory pool, initialized it with init_mempool and use malloc & free finctions for memory management. Is...
  • Calculating the Stack Space and the code size
    1) Is there any method of determining whether the stack space allocated is enough for the program execution. 2) Is there any feature in UVision 2 to determing the code size generated by the hex file...