I have lwip working on the omapl137 arm. With some help with the Savanah website and their test project for Code Composer. The test code host a simple http web server and works as expected. My next goal is to understand a little better the layers of lwip with a simple udp sender example.
So far the only way I have been able to get it working is by following the same structure of the test program where:
/* Initialize LwIP */
sys_sem_t init_sem;
err_t err = sys_sem_new(&init_sem, 0);
tcpip_init(udpecho_init, &init_sem);
sys_sem_wait(&init_sem);
sys_sem_free(&init_sem);
once I do that the code is succesfully able to send a data-gram. I can see it with a python receiver I created.
I would expect a udp example to be simpler than that and be able to run it with just a call to:
/* Initialize LwIP */
lwip_init();
but as soon as I do that the udpreceiver stops getting expected datagram.
I have been trying to figure this out for a few days. Any suggestion or help would be greatly appreciated. I will try on the lwip forums too and see if I can collect some more information.