Hi, i have some trouble with the new update at firmware on NUCLEO-F446RE.
The ST launched a new update to CubeMX and CubeIDE. I updated to the new version and created a simple project with FreeRTOS. When the processor executes the instruction “svc 0” to start the first task, the command fail and a Hard Fault is detected.
I have see the same issue with Fedora, Manjaro OS and Windows.
Just now I upgraded to CubeIDE 1.4.0 (on Windows) and generated a new project (for an STM32L4 I have here) with FreeRTOS. I was hoping to duplicate your issue, but the code runs correctly. It’s a single task that simply calls osDelay() in a loop.
Can you tell me about the selections you make as you create the new project? Or maybe can you post the project somewhere?
Hi,
In the STM32CubeMx view, please make sure the “Priority Group” combobox in NVIC is set with the value of “4 bits for pre-emption priority 0 bits for subpriority”.
And this should solve the issue.
I think in your case it’s set with “0 bits for pre-emption priority 4 bits for subpriority”.