Hi, We are working on one project using TDK6511 microcontroller. Microcontroller RAM size is 256 bytes, on chip XRAM is 2K. Expected code size is arround 32k. For our firmware arcitecture, nearly 150 bytes of stack size is required. Please guide me which memory model and ROM model is suitable for our project. thanks in advance Rajesh
Erik, thanks for ur information. This stack size is expected requirement. If we use SMALL model, 128 bytes of IDATA can be used for stack. But, if my project requires morethan 128 bytes?. I think u got why I have mensioned that number. Thanks in advance.. Rajesh
For a way to calculate stack size, see: http://www.keil.com/support/docs/192.htm Typical stack requirements of complex applications are 50 bytes. Reinhard
I think u got why I have mensioned that number. I have no idea if micro got it, but I did not. in a typical C51 application a stack size of 150 would imply subrounting about 60 deep and interrupts. Are you under the misconception that C51 uses the stack to transfer function parametres? Erik