FreeRTOS stuck in prvPortStartFirstTask

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FreeRTOS stuck in prvPortStartFirstTask

Jump to solution
2,788 Views
MateoSegura413
Contributor III

I am running a project in which I use FreeRTOS and a few drivers. Nothing too fancy. I'm using the SEGEGR J-Link debugger, and I kept running into this problem at startup.

MateoSegura413_0-1645679534580.png

I thought it was my code, so I decided to go ahead and use the blinky example provided by NXP. No modifications no nothing. Same error. 

Does anyone have any idea why this happens?

Thank you!

0 Kudos
1 Solution
2,765 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Mateo,

do you mean this example?

c:\NXP\S32DS.3.4\S32DS\software\PlatformSDK_S32K3_2021_10\FreeRTOS\examples\S32DS\FreeRTOS_Toggle_Led_Example_S32K344\

I just tested this one on my board with Multilink FX and it works as expected on my side...

Regards,

Lukas

View solution in original post

0 Kudos
5 Replies
1,750 Views
lucianmocanu_zzzzz
Contributor I

Hello,

I have the same issue on the same example and I have FreeRTOS for S32K3 2.0.1.

Can someone explain what is the root cause of this?

Best Regards,

Lucian

0 Kudos
2,766 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Mateo,

do you mean this example?

c:\NXP\S32DS.3.4\S32DS\software\PlatformSDK_S32K3_2021_10\FreeRTOS\examples\S32DS\FreeRTOS_Toggle_Led_Example_S32K344\

I just tested this one on my board with Multilink FX and it works as expected on my side...

Regards,

Lukas

0 Kudos
2,762 Views
MateoSegura413
Contributor III

Hello, yes it's that example. I tried to re install the FreeRTOS extension and it works correctly now. Thank you!

0 Kudos
2,547 Views
adde_ado
Contributor III

Hi Mateo, 

What do you mean by "re installed the FreeRTOS extension"?

I'm facing the same issue. 

Best regards,

Adde

0 Kudos
2,498 Views
MateoSegura413
Contributor III

@adde_ado 

Update to version 2.0 of the drivers as well as FreeRTOS.

This will resolve all these problems.

Also, if you have a Jlink debugger, try downgrading to a lower version of the Jlink firmware.

In our experience, the PNE micro debugger has always worked with no issues, but we've run into quite a few issues with JLink. Most dev kits will have a PNE micro debugger

Hope this helps 

0 Kudos