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.

Compiler/TMS320F28377D: How to prefill the stack segment to perform run-time stack checks

Part Number: TMS320F28377D

Tool/software: TI C/C++ Compiler

I would like to prefill the stack memory segment with a known pattern, so that my application can check that the stack is within bounds. i have done this on many other processors, but I cannot seem to get the linker-command-file syntax quite right, as there is no effect. 

In the cmd file, I have this line:

.stack           : > RAMM1      PAGE = 1, fill=0x5555

Yet the stack is still all zeros after boot. The TI documentation seems explicit about referring to the stack as uninitialized memory -- can I initialize this whole segment to a known pattern?

Thanks,

Jim