This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LwIP stack hangs in sitaraif_tx_inthandler 2nd edition

Other Parts Discussed in Thread: TMS320C6748

Hello experts,

we have the same problem as stated in following post from 2012, but there is no solution.

http://e2e.ti.com/support/embedded/starterware/f/790/t/219463.aspx

Program execution "sometimes" hangs in infinite loop in sitaraif_tx_inthandler() function in sitaraif.c when running webserver, 

respectively it hangs in following condition

/* Make sure that the transmission is over */

while((curr_bd->flags_pktlen & EMAC_BUF_DESC_OWNER)
== EMAC_BUF_DESC_OWNER);

Other TCP communication is fine, problem is related only to webserver operation (httpd_io.c)

I discovered, that it is somehow connected with TCP_MSS, when set to 1460Bytes, problem occurs, when TCP_MSS is set lower, for example 1393B, problem dissapeared.

We are using TMS320C6748 with C6748_StarterWare_1_20_03_03.

Best Regards

Jan