Marvee Amasi
DIIDevHeads IoT Integration Server
•Created by Daniel kalu on 8/12/2024 in #middleware-and-os
Resolving Deadlocks in ESP32 Robotic Arm Control with FreeRTOS
You did a good job isolating the potential issue to controlArmTask and sendCommandTask
,
Use FreeRTOS built in debugging features or external tools to view you task states, the ownership of your mutex, and potential deadlocks.
You might be holding the mutex for too long . Or use semaphores for synchronization instead
3 replies