Other Parts Discussed in Thread: MSP430F2274
Hello,
How can i write defined data to my stack.
I am using the MSP430F2274 with 1 kB ob RAM, the RAM lies in the area between 0x0200 and 0x0600.
I defined my stack size to be 80 Bytes, so it starts at 0x 05B0:
0x5B0 stack
3E4F 3B97 BFF3 B39B A869 FC6A B11B A50E A887 B9DF DD79 697B DD79 697B 8F18 4E20
0101 7A11 0000 909E 0002 0101 9600 0000 0000 8BB6 05EE 9200 8178 9454 0000 0000
838E 0000 0002 0000 916E DD79 697B 93B0
0x0600 _STACK_END
This i can read out in the memory view, while debugging. I got the tip that i could write predefined values into the stack lie 0xAD, and then in the running code i can see how many of my stack fields are used and how many stay untouched, to get a better feeling on how much stack memory gets used by my program.
Question now is, how can i predefine my stack values to e.g. 0xAD??
Thanks for your time and help.
Seb