Chip: RM48L952ZWT
Environment: Halcogen, CCS (Code Composer Studio), UniFlash, TI compiler
Memory: 16MB SDRAM plus internal to the chip; stack uses internal, while heap uses the external
How can I determine how much of the stack and memory I am using and if I am getting close to filling or exceeding one of the sections?
MEMORY { VECTORS (X) : origin=0x00000000 length=0x00000020 FLASH0 (RX) : origin=0x00000020 length=0x0017FFE0 FLASH1 (RX) : origin=0x00180000 length=0x00180000 STACKS (RW) : origin=0x08000000 length=0x0003fe00 RAM (RW) : origin=0x0803fe00 length=0x00000200 /* USER CODE BEGIN (2) */ RAM2 (RW) : origin=0x80000000 length=0x01000000 /* USER CODE END */ } SECTIONS { .intvecs : {} > VECTORS .text : {} > FLASH0 | FLASH1 .const : {} > FLASH0 | FLASH1 .cinit : {} > FLASH0 | FLASH1 .pinit : {} > FLASH0 | FLASH1 .bss : {} > RAM2 .data : {} > RAM2 .sysmem : {} > RAM2 FEE_TEXT_SECTION : {} > FLASH0 | FLASH1 FEE_CONST_SECTION : {} > FLASH0 | FLASH1 FEE_DATA_SECTION : {} > RAM2 #endif /* USER CODE END */ }