Tool/software: Code Composer Studio
I am working on extended project_zero app on CC2640. After I increase a static variable size from 128 to 256, app hang on characteristic writing.
static uint8_t received_string[128]; // worked
static uint8_t received_string[256]; // app hang on characteristic writing
I guess it over the SRAM limit of 20KB. I checked by CSS -> View -> Memory Allocation, SRAM usage is 13,000(75%), FLASH usage is 61%.
It shows 7K SRAM is free.
I have these questions.
- Does CSS show error message if SRAM usage over 20KB?
- SRAM items like .data .bss .stack can increase on runtime?
- How to detect max runtime stack usage