PSoC4 FreeRTOS vTaskDelay never return

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Andreas_Heder
Level 3
Level 3
50 sign-ins 10 questions asked 10 replies posted

Hello,

i have a problem in getting up FreeRTOS for PSoC4:

the vTaskDelay(pdMS_TO_TICKS(500)); -> never return

Andreas_Heder_0-1676927313566.png

MainTask runs only onces.

 

Main_Task_2 is working as aspected.

all Libs are up to date.

 

Have anybody a sample Project for PSoC4 and FreeRTOS I am wondering that is no Example availible?!

 

BR

Andreas

0 Likes
1 Solution
LeoMathews
Moderator
Moderator
Moderator
First question asked 500 replies posted 100 solutions authored

Hi @Andreas_Heder 

Currently, we do not have an example project for PSoC4 with FreeRTOS with new libraries. I will try from my end to create an example project for PSoC4 with FreeRTOS with new libraries.

Thanks and Regards,
Leo

View solution in original post

0 Likes
6 Replies
LeoMathews
Moderator
Moderator
Moderator
First question asked 500 replies posted 100 solutions authored

Hi @Andreas_Heder 

Can you please refer to this link: Example project for PSoC4 and FreeRTOS and check if it helps?

Thanks and Regards,
Leo

0 Likes
Andreas_Heder
Level 3
Level 3
50 sign-ins 10 questions asked 10 replies posted

Hey @LeoMathews 

i already read this but it is not helpfull because it was made with PSoC Creator.

I am testing it with MTB 3.0 and VS-Code. Could you provide an Example Project for PSoC4 with FreeRTOS based on MTB3.0?

BR

Andreas

0 Likes
lock attach
Attachments are accessible only for community members.
LeoMathews
Moderator
Moderator
Moderator
First question asked 500 replies posted 100 solutions authored

Hi @Andreas_Heder 

I have attached a sample project(LED blinking) for PSoC4 with FreeRTOS for the CY8CKIT-041S-MAX kit based on MTB 3.0. I have referred to this link for the creation of this project.

Thanks and Regards,
Leo

0 Likes
Andreas_Heder
Level 3
Level 3
50 sign-ins 10 questions asked 10 replies posted

Hello, @LeoMathews 

ok the Example work as it is.

But:

1. it was made with MTB2.4 (should not be a problem)

2.this based on old Versions from:

-core-make 1.9.1 

-mtb-pdl-cat2 1.6.1

-recipe-make-cat2 1.2.2

Andreas_Heder_0-1677075993845.png

 

when i try to update (all or seperatly) the build process does not work anymore.

When i try to make a new Project, newest Libs, copy and paste FreeRTOS files... same result as before. 

Could you be so kind and provide an Example which was MADE with MTB3 (not only testet) and has the newes Libs? 

BR

Andreas

 

 

0 Likes
LeoMathews
Moderator
Moderator
Moderator
First question asked 500 replies posted 100 solutions authored

Hi @Andreas_Heder 

Currently, we do not have an example project for PSoC4 with FreeRTOS with new libraries. I will try from my end to create an example project for PSoC4 with FreeRTOS with new libraries.

Thanks and Regards,
Leo

0 Likes
LeoMathews
Moderator
Moderator
Moderator
First question asked 500 replies posted 100 solutions authored

Hi @Andreas_Heder ,

Thread was locked due to inactivity for long time, you can continue the discussion on the topic by opening a new thread with reference to the locked one. The continuous discussion in an inactive thread may mostly be unattended by community users.

Thanks and Regards,
Leo

0 Likes