Keil MDK V5.28.0.0 (256k ST version) - Debugger crashes at minimal program!

Using NUCLEO-G071RB evaluation board via embedded ST-Link.

Started with a new project from scratch.

This is my main():

#include <cmsis_os.h>                   // ARM::CMSIS:RTOS:Keil RTX

int main (void)



    while (1)


After some time debugger crashes.

Uncommenting RTX related calls, the while(1) runs ok.

What  is such fundamental wrong here ?

CMSIS core is 5.3.0, RTX is 4.82.0 , device stratup is 1.3.0, device is STM32G071RBTx, DFP is 1.2.0.

More questions in this forum