cancel
Showing results for 
Search instead for 
Did you mean: 

ThreadX does not start scheduling

SHaue.2
Associate II

Hi,

my application is loaded via the bootloader and i sstarted. Two threads are generated and it seems properly generated because one thread is in ready state while the other is in suspended state.

Systick is used for the ThreadX and TIM6 is used for the HAL-Tick.

But the scheduler doesn't start the ready thread.

Had somebody a similar problem? Can it be a priority problem of the timers?

1 ACCEPTED SOLUTION

Accepted Solutions
SHaue.2
Associate II

To answer my own question:

The problem was caused by the PendSV handler which was not called of the Threadx source but from the applications interrupt handler. The PendSV handler of Threadx does the scheduling.

View solution in original post

1 REPLY 1
SHaue.2
Associate II

To answer my own question:

The problem was caused by the PendSV handler which was not called of the Threadx source but from the applications interrupt handler. The PendSV handler of Threadx does the scheduling.