Skip to main content
andrei
Associate II
November 8, 2017
Question

RTX Critical Sections

  • November 8, 2017
  • 0 replies
  • 550 views
Posted on November 08, 2017 at 08:46

Hi,

I am trying to port a code that is working with FreeRTOS to RTX. The microcontroller is the same: STM32F4.

The code uses critical sections. I have tried using the same implementation for the critical section for RTX as for FreeRTOS(BASEPRI) but I often end up in UsageFault.

I know that RTX uses extensively the SVC in the code.

Could it be that the Critical sections should be implemented differently ?

Do you know of any other differences between FreeRTOS and RTX that could cause problems?

Best regards,

Sebastian

#stm32f4 #freertos #rtx #usage-fault
This topic has been closed for replies.