FreeRTOS stuck in prvPortStartFirstTask

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

FreeRTOS stuck in prvPortStartFirstTask

跳至解决方案
2,796 次查看
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 项奖励
1 解答
2,773 次查看
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 项奖励
5 回复数
1,758 次查看
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 项奖励
2,774 次查看
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 项奖励
2,770 次查看
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 项奖励
2,555 次查看
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 项奖励
2,506 次查看
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 项奖励