I’m using FreeRTOS 8.1.2 and lwip 1.4.1 for CortexR5. I’ve used UDP, TCP communication well with lwip on my system without FreeRTOS. I’m trying to use UDP, TCP on FreeRTOS now. I made few files for connecting lwip with FreeRTOS like ‘sys_arch.c’. I reffered ARM7 example project in FreeRTOS demo. So it can work on the task used ‘sys_thread_new()’. But ‘netconn_send()’ for data sending by udp in the thread is not working.
It works in ISR using interrupt when there is no OS. I tried it same way and other ways in this system that use FreeRTOS. But It can’t send a message, though I got a normal return value from 'netconn_send().
I don’t know how it works on FreeRTOS. I’ve not understood communicatino procedure fully in FreeRTOS with lwip. Please give me a tip.