I am using LWIP in a TI TM4C129X MCU application that sends UDP packets every
10ms and receives TCP packets that contain configuration settings for out
hardware. I can send UDP packets without a problem and I can receive/send TCP
packets but when I try to do both I eventually get a stack overflow. Can LWIP
handle UDP and TCP concurrently?
[bug #54999] LWIP UDP and TCP Concurrent Operation
Follow-up Comment #3, bug #54999 (project lwip):
Are you using threads or RTOS?
Are you calling any lwip api from i interrupts?
By experience, the tcp raw api is where it is easiest to do small mistakes
that can cause crash or lockups later. Try to minimize your code to a working
crashing one and ask help at the users mailinglist