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 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)
{
    osKernelInitialize();  

    osKernelStart();  

    osDelay(osWaitForever);

    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.