I'm trying to troubleshoot some variable corruptions issues on a MSP430F435. I'm thinking the stack is overflowing but I'm not 100% sure. I've read that filling in unused memory with a dummy variable, like 0xAB, and having the controller run and checking back to see how much has been overwritten can help troubleshoot stack issues. Is there a tutorial online somewhere I'm missing that shows how to do this? I'm guessing I have to write a function that goes and does this before the compiler puts the program in?
I should add that, since I'm building on an existing project, I'm stuck using Code Composer V2.