Task failed while connect to the server..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-06 1:12 AM
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.
- Labels:
-
DEBUG
-
STM32CubeIDE
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-06 3:47 PM
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 ...
A complex system designed from scratch never works and cannot be patched up to make it work.
