[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] Lwip + ucosII porting problem, help me!

From: Amir Bukhari
Subject: RE: [lwip-users] Lwip + ucosII porting problem, help me!
Date: Mon, 26 Jun 2006 09:32:58 +0200

what I do normaly:
1- the ISR post the comming packets to a Queue -OSQPost(..)-
2- create a task which handle the comming packets

From: address@hidden [mailto:address@hidden On Behalf Of ?????
Sent: Monday, June 26, 2006 7:40 AM
To: address@hidden
Subject: [lwip-users] Lwip + ucosII porting problem, help me!

  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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]