cancel
Showing results for 
Search instead for 
Did you mean: 

Task failed while connect to the server..

AFaya.1
Associate III

I am working on STM32h753zi board i have one main task with the size of 3K inside that i was calling 6 tasks.

Task 1 - 5K Normal priority

Task 2 - 1K Normal priority

Task 3 - 2K Normal priority

Task 4 - 2K Normal priority

Task 5 - 1K Normal priority

Task 6  - 3K Normal priority

 Problem: If comment out one or two tasks then only other tasks are running otherwise some tasks are failed to connect.

 example: I comment out task 5,6 then task 3,4 is working properly. 

     I comment out task 4 then task 3 is working properly.

->I am not facing any hardfault handler or malloc issues.  

->There is no global variables are there.

I dont know how to fix this issue and i dont know how find the reason. Please give your guidance thankyou.

1 REPLY 1

A lot more detail needed!

eg,

  • What is this "server" ?
  • How are you trying to "connect"?
  • What is the nature of this "failure" to "connect"?
  • What operating system are you using?
  • Are you sure the OS is correctly configured for the number & sizes of tasks?
  • What debugging have you done to find what's going on in the failing cases?
  • Are the tasks actually starting successfully?
  • Are tasks getting deadlocked?
  • Do you get any warnings in the build process?

"I am not facing any ... malloc issues"

How do you know that?

Note that other types of memory problems are also available ...