Hi.
I would like to know exactly how much stack my program needs. I have been told that I can start by making the stack excessively large, fill it with a certain pattern, like AAAAAAAA, and after running the program see up to which address the pattern is not overwritten.
My problem is to find a way to access the content of the stack memory section.
I have tried declaring a void pointer in main, and then by the end of the mainfunction, accessing the stack area via the watch window. In the value column of the watch window it says: "Cannot load from non/primitive location", when I attemt to access a stack address
My IDE is Code Composer Studio 3.1.
Can anyone help me on this one?
Thanks,
Esben.