Part Number: TMS320F28027
Hi,
In CMD file there are codes below:
PAGE 1 : /* Data Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE0 for program allocation */
/* Registers remain on PAGE1 */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
/* Allocate uninitalized data sections: */
.stack : > RAMM1, PAGE = 1
In projects properties "set C system stack size" is 0x300.
1. So the limit of the stack size is 0x300 or 0x400?
In SPRU430F, it's said that "The SP always points to the next empty location in the stack.", does it mean that if SP=0x408, then the actual stack size is 0x008(0x408-0x400)?
But when I debug the code in CCS, I can observe like below: SP=0x404, but in memory browser *(0x404)=0x740D, it's not empty.
2. How can I know the actual stack size when I step the code through CCS?