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.
Hello
TI team
question
1. In cmd file have code
.STACK_DATA_svc : {. += 10240;} > STACKS, RUN_START(StackModeSVC)
.STACK_DATA_fiq : {. += 1024;} > STACKS, RUN_START(StackModeFIQ)
.STACK_DATA_irq : {. += 1024;} > STACKS, RUN_START(StackModeIRQ)
.STACK_DATA_abt : {. += 1024;} > STACKS, RUN_START(StackModeABT)
.STACK_DATA_und : {. += 1024;} > STACKS, RUN_START(StackModeUND)
.STACK_DATA_sys : {. += 1024;} > STACKS, RUN_START(StackModeSYS)
What do they mean.
2.In ccs stack usage display the size,what the are related between “STACK_DATA_” and “stack usage”
3.how do i set the stack size (the CCS“ stack usage ”)display all added?
thank you
Hello Whong,
1. ARM Cortex-R4 support several exception modes and each mode has its own stack and banked registers. Those instructions in CMD file are used to define the stack for the exception modes: IRQ, FIQ, SVC, sys, etc.
2. The local variables in IRQ interrupt routine should be stored in IRQ stack.
3. The stack size defined in CCS linker is the total stack size which should be equal to or bigger than the total size defined for the exception modes.