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

2 REPLIES 2
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.

LadyMt
Associate III

Hello,

I'm a beginner and I think I'm facing this problem.

In fact, when I unplug my card and then plug it back in, the de program won't restart.

And I wanted to know how you managed to solve it.

You mentioned prendSV but I don't know what to do. Could you help me please?