Can't start the debug session properly

Hi,

I did started a project using the STM32CubeMX by selecting the MDK-ARM IDE, Min version: V5.27.

My keil version is: MDL_Lite Version: 5.33.0.0.

The generated code compiled successfully, and I did changes the  Debugger from ST-Link to J-Link using SW port and not JTAG.

I click the download button (F8), the flash load finishing successfully, then I press the start/stop debug session, the executable not starting or reaching the start of the main function! see the picture bellow :

when I stop the code execution I can see the next disassembly to be executed but never reach the start of the main function or started over from, even when I press the reset button although the the Run to main() box from the Debug settings is checked.

I am new to Keil.

Please help

Best Regards

JK

More questions in this forum