AnsweredAssumed Answered

LwIP stuck in netconn_new

Question asked by Daniel Pedersen on Nov 27, 2015
Latest reply on Jan 3, 2016 by Iva Susnova

Hello Freescale. Been working with K64F devel board and TCPECHO + FreeRTOS example (sdk 1.3.0). I have sat all buffer sizes, priorities and stack sizes to match requirements but after a few hours (not always same (time/packet amount/reconnect amount), just within 5 hours) netconn_new hangs.


I am running code with multiply checks to avoid any error doing runtime, so the netconn interface from code level is not wrong (everything is freed/deleted). The code work as a TCP client that connect up towards a server (netconn_new), send a bashful of data (netconn_write/recv), netconn_close/netconn_delete, waiting 30 seconds and do the same again.

netconn_new never simply never returns after using netconn_new and netconn_delete for a few hours. Tried both internal pools and MALLOC interface. No change.

Anyone experience same issue or maybe got a fix?