The SRAM is from 0x001C00 to 0x0023FF. So you actually can see the contents of SRAM in the Memory Browser. The first line, 0x0023E0 ..., shows the contents of last 32 bytes of the SRAM. Currently, the stack is in SRAM and the stack pointer is pointing at 0x0023FC. Hence the content of the stack is: 0x0023FC 4416 0000 only 4 bytes and nothing else. The rest of SRAM contends meaningless garbage. Your "variable in stack" are nowhere to be seen. The reason is, those variables are dynamically allocated in the stack as needed. They are nowhere at the time you use the Memory Browser. You need to do it during the "life-time" of those variables to see them. Now if you put the stack in FRAM instead of SRAM, the same thing will happen. It is no-better and no-worse.
↧