cancel
Showing results for 
Search instead for 
Did you mean: 

Re: STM32f407Vet6 gets stuck in MX_LWIP_Init();

12java
Associate

Split from STM32f407Vet6 gets stuck in MX_LWIP_Init(); 

Please provide full details of your setup, what debugging you've done so far, etc - see How to write your question to maximize your chances to find a solution


 

Did you find what was causing this? I am having the same issue it would seem.

3 REPLIES 3
Andrew Neil
Super User

@12java wrote:

 I am having the same issue it would seem.


So have you stepped into that function to see where, exactly, it gets stuck?

And seen the guide on getting debug info out of LwIP?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
12java
Associate

Hi, it is getting stuck in the while loop in low_level_output. Here is my stack trace.

12java_0-1752502014064.png

 

if (HAL_ETH_Transmit_IT(&heth, &TxConfig) == HAL_OK) {
    while(osSemaphoreAcquire(TxPktSemaphore, TIME_WAITING_FOR_INPUT)!=osOK)

    {
    }

    HAL_ETH_ReleaseTxPacket(&heth);
  } else {
    pbuf_free(p);
  }

 

I will look into the LwIP debug info guide now

 

Hello @12java,

I suggest you start a new thread and provide detailed information about your project configurations. This will help me better understand your issue and assist you more effectively.

Best regards,


Moved to new thread

To improve visibility of answered topics, please click Accept as Solution on the reply that resolved your issue or answered your question.