This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC2640R2F: Global stack location and the view

Part Number: CC2640R2F

Tool/software: TI-RTOS

Hi,

Device

CC2640R2LAUNCHXL

SDK

simplelink_cc2640r2_sdk_1_50_00_58

IDE

IAR8.11.2

Reference Project

Multirole

We are checking the stack usage in the entire project. We have tested the independent task stack. But want to know about the global stack.

from the .icf file I have done the below calculations.

 

Global Stack Calculations

 

RAM_BASE = 0x20000000

RAM_SIZE = 0x00005000

FLASH_ROM_BUILD = 2

RESERVED_RAM_SIZE = 0x00000C00

BIM_SHARED_RAM_SIZE = 0x04

 

RAM_START = RAM_BASE

RAM_END = RAM_START + RAM_SIZE - RESERVED_RAM_SIZE - BIM_SHARED_RAM_SIZE -1

0x20005BFB = 0x20000000 + 0x00005000 - 0x00000C00 - 0x04 -1

 

STACK_SIZE = 0x400

STACK_START = RAM_END

STACK_START = 0x20005BFB

 

STACK_END = STACK_START - STACK_SIZE -1

0x20005FFA

 

But the above mentioned Stack  details/address is not visible in memory view . How can I view this global stack?

 

 

Thanks

Niranjan Hegde