https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/196862
The above post explains how to initialize the stack of a c28x-application with a known value (for the purpose of online monitoring of stack usage):
.sect ".stack"
.asg 330000h, addr ; adjust the address here as you need
.loop 00C000h ; adjust the count here as you need
.long YOUR_PATTERN
.eval addr + 2, addr
.endloop
I don't understand where I should place this code. Should it go into F28M35x_CodeStartBranch.asm? Please provide some more details, for example, if changes to the linker cmd file are also needed..
Many thanks,
Christian L