This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NetInitialize function gets halted

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?