Skip to main content
Visitor II
May 20, 2025
Question

Problems with using FreeRTOS in STM32N6570

  • May 20, 2025
  • 1 reply
  • 434 views

我使用 STM32CubeMX 配置 FreeRTOS。当我调用 oskernelstart 时,发现它卡在这个界面里。回溯后,发现下图所示的函数中进入了一个异常。我在 FreeRTOS 中设置了安全模式,但现在我不知道是什么原因造成的

Translation:

I used STM32CubeMX to configure FreeRTOS. When I called oskernelstart(), I found that it was stuck in this interface. After backtracing, I found that an exception was entered in the function shown in the figure below. I set the safe mode in FreeRTOS, but now I don't know what caused it

JACKLUCK_0-1747722501678.png

 

JACKLUCK_2-1747722543165.png

 

 

    This topic has been closed for replies.

    1 reply

    ST Employee
    May 21, 2025

    Hi @JACK-LUCK 

    I understand that this is an application you have configured yourself, can you query the Call Stack and the main CPU registers?

    You should provide more information.

    Have you run any of the existing examples below:

    X-CUBE-FREERTOS\1.3.1\Projects\NUCLEO-N657X0-Q\Applications

    Best regards,

    Romain,