This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil uVision 5.14 Call Stack + Locals Window is empty

My Environment:
Keil uVision 5.14 MDK-Lite = free version with 32K size limit.
Using ST-Link Debugger.
My target is the STM32 F4 Discovery board with the STM32F407VGT6 processor.

My project:
I start with a slightly modified version of the sample project:
C:\Keil_v5\ARM\Boards\ST\STM32F4-Discovery\Blinky
I added a few global variables which are placed into ZI section as expected
I have an array declared in my main():
int RIDData[Sd];
Sd is set with a #define. e.g. #define Sd 3

My problem:
When Sd is defined to be less than 5 the Call Stack + Locals window works normally:
variables local to main are displayed.
When Sd is defined to be 5 or greater then Call Stack + Locals window is completely empty.
The project builds, loads and runs correctly for Sd = 5. LEDs and push buttons
behave as expected. The only problem is the info in the Call Stack + Locals window vanishes
with Sd = 5.
I try doubling my stack size from the default 1K to 2K and get same behavior. Build messages
are copied below.

Thanks in advance for any suggestions

Rebuild target 'Target 1'
compiling system_stm32f4xx.c...
assembling startup_stm32f40_41xxx.s...
compiling LED.c...
compiling main.c...
linking...
Program Size: Code=1384 RO-data=440 RW-data=24 ZI-data=5056
".\Objects\RIH_Test_1.axf" - 0 Error(s), 0 Warning(s).
Build Time Elapsed: 00:00:01
Load
"C:\\Users\\Robert\\Desktop\\STM322F4DiscoveryRIHProjects\\RIH_Test_1\\Objects\\RIH_Test_1.axf"
Erase Done.
Programming Done.
Verify OK.
Flash Load finished at 19:38:05