I want to make a TCP socket connection with a server.I am working on STM32F746G discovery board.As soon as the program execution reaches to the function netInitialize(), it halts.When I debugged the code execution by applying a breakpoint to this function point, I came to know that the exact point in the code where the execution halts.
osStatus osMutexWait (osMutexId mutex_id, uint32_t millisec) { if (__get_IPSR() != 0U) { return osErrorISR; // Not allowed in ISR } return __svcMutexWait(mutex_id, millisec); }
This is the part where the code execution stops.Can anyone please tell what is causing this issue?
It halts?
It faults, it gets stuck in some loop, it waits on a mutex?
If the mutex consider which one, and who's holding it and why it is not being released?