• 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;...
  • Allocate all remaining RAM to HEAP?
    I am trying to find a way to allocate all remaining RAM in my application to the heap. Basically a variable heap size that will allow the use of all available memory. I have tried different things with...
  • Allocate all remaining RAM to HEAP?
    I am trying to find a way to allocate all remaining RAM in my application to the heap. Basically a variable heap size that will allow the use of all available memory. I have tried different things with...
  • Problem with Serial I/O - S0BUF remains empty
    Hello, I'm trying to write a Function that reads a character from RS232 (trival?). I'm using 80c552, Serial_Mode=1. I think the baudrate is set correct (I can transmit data to the PC). The Problem...