|Subject:||[lwip-users] Lwip + ucosII porting problem, help me!|
|Date:||Mon, 26 Jun 2006 13:40:22 +0800|
I ported lwip + ucosII to STR710FZ2(ARM7TDMI)，ucosII works fine, but Lwip has a problem I can not figure out.
When a pocket received, The NIC interrupt call tcpip_input() to creat a message. then tcpip_input() need to call memp_malloc() to create a new message, memp_malloc() need to call OSSemPend() to wait for a semaphore.
The problem is OSSemPend() can not be called in a interrupt. Is there anyone has the same question? How can I get through it?
|[Prev in Thread]||Current Thread||[Next in Thread]|