Grzegorz Niemirowski grzeg...@grzegorz.net napisał(a):
Further analysis gave following observations:
- thread blocks on fetch because packets are no longer inserted into mbox
- packets are not inserted because the ETH interrupt is no longer raised
- there is no interrupt because reception is
Grzegorz Niemirowski grzeg...@grzegorz.net napisał(a):
I'm still fighting with the problem. The stack hangs on fetching packets
from mbox. I have tried following code (added printfs):
printf(fetch %u\n, num++);
sys_timeouts_mbox_fetch(mbox, (void **)msg);
printf(OK\n);
And I get fetch 2272
Sergio R. Caprile scapr...@gmail.com napisał(a):
Hi Grzegorz,
let's make this a kickstarter for the FAQ ;^)
single thread applies mostly to raw API users and/or vendor code; they
use an RTOS and the raw API and forget to call the lwIP stack from a
single thread. I've seen some vendor code which
Hi Grzegorz,
let's make this a kickstarter for the FAQ ;^)
single thread applies mostly to raw API users and/or vendor code; they
use an RTOS and the raw API and forget to call the lwIP stack from a
single thread. I've seen some vendor code which also calls the stack
from within interrupt code.
=silrd@nongnu.org on behalf of Grzegorz
Niemirowski Sent: Tue 9/2/2014 8:34 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] lwIP hangs after some data transferred
Thanks Noam. I have interrupt priorities set exactly as you have written.
The problem must be somewhere else
Hello,
I write code for SMT32 board using FreeRTOS and lwIP 1.4.1. I use sockets.
There is a simple TCP server: it accepts incoming connection, reads 100
bytes sent from PC, sends 100 byte reply, closes connection and waits for
another connection. I observed that after some time lwIP stops
, September 02, 2014 12:09 AM
To: lwip-users@nongnu.org
Subject: [lwip-users] lwIP hangs after some data transferred
Hello,
I write code for SMT32 board using FreeRTOS and lwIP 1.4.1. I use
sockets.
There is a simple TCP server: it accepts incoming connection, reads 100
bytes sent from PC, sends 100 byte
@nongnu.org] On Behalf Of
Grzegorz Niemirowski
Sent: Tuesday, September 02, 2014 12:09 AM
To: lwip-users@nongnu.org
Subject: [lwip-users] lwIP hangs after some data transferred
Hello,
I write code for SMT32 board using FreeRTOS and lwIP 1.4.1. I use
sockets.
There is a simple TCP server: it accepts
Hi guys, I've been online for a couple months on the list and I'm
already tired of reading about this; I imagine how you guys are... ;^)
Anyway, joke aside, since people don't search the list they will
probably won't read the wiki either, is there anything we can do to
induce RTOS users to check
Krzysztof Wesołowski wrote:
Second possible issue is that some old (?) STM32 demo code only
processed one packet per interrupt, causing extra packets to be
stalled in memory.
That's a really good hint. I keep forgetting about that, although I'm
using their controllers - but not with the code
I can imagine how you can feel but I really avoid posting to any forum or
mailing list before investigating a problem by myself. I read about
priorities and they are set correctly. I don't know what you mean by single
thread but every socket I use is accessed only in the thread where it was
-
From: lwip-users-bounces+noam=silrd@nongnu.org
[mailto:lwip-users-bounces+noam=silrd@nongnu.org] On Behalf Of
Grzegorz Niemirowski
Sent: Tuesday, September 02, 2014 12:09 AM
To: lwip-users@nongnu.org
Subject: [lwip-users] lwIP hangs after some data transferred
Hello,
I write code
12 matches
Mail list logo