Hi all,
since i've fixed the routine, no crash happened on any device. This
seemed to be the problem which was definitely not inside LwIP here.
Thank you all for your great support and suggestions!
Marco
Am 20.07.2010 13:42, schrieb Marco Jakobs:
Hi,
i may have found a problem reviewing
Marco Jakobs wrote:
> I will change the second loop in that function, so that after
> NB_RX_BUFFERS cycle the loop will exit and free all Rx buffers.
In the second loop, I would break with an error when finding a StartOfFrame
without finding an EndOfFrame first, that way you don't need to walk
Hi,
i may have found a problem reviewing the EMAC code. The function
ulEMACInputLength is called before the EMAC buffers are copied into the
pbufs. It sets ulNextRxBuffer to the buffer with a Start Of Frame set
and gives back the total length which is written in the last buffer of
the frame.
Marco Jakobs wrote:
> Do you (or anybody) has any example code for this?
Well, I guess that largely depends on your MAC, which I don't know. Personally,
I don't have these problems as I have enough memory to just allocate a
maximum-sized frame for every packet (since small packets which just co
Good morning, Simon
Am 20.07.2010 07:36, schrieb Simon Goldschmidt:
That's rather a driver question, not an lwIP question: the driver should make
sure that it only delivers complete packets to lwIP. I.e. if some parts of the
packet are missing due to the MAC trying to split it to multiple buff
Marco Jakobs wrote:
> Question one:
> What is the behaviour of LwIP in that case, if there are still some
> frames of the packet in the EMAC buffers but some other frames are
> missing due to the EMAC threw them away because of an overflow?
That's rather a driver question, not an lwIP question:
Hi all,
i reverted in having some looks to it again. Having a deeper look at the
EMAC driver task (Richard ;-) ), i see really nothing which may cause
the system to hang. The interrupt just sets the semaphore, and the EMAC
task reads out all the EMAC buffers if it is triggered by the semaphore
Dear Bill and all,
of course i'm *not* really satisfied with that. But actually i need to
continue some application work, i still lost a bunch of time with that.
I will return investigating this for sure ... but a bit later.
@Richard:
For my understanding the interrupt mechanism with the sema
bounces+bauerbach=arrayonline@nongnu.org
>>> [mailto:lwip-users-bounces+bauerbach=arrayonline....@nongnu.org] On
>>> Behalf Of Marco Jakobs
>>> Sent: Thursday, July 15, 2010 3:10 PM
>>> To: lwip-users@nongnu.org
>>> Subject: Re: [lwip-users]
> -Original Message-
>> From: lwip-users-bounces+bauerbach=arrayonline@nongnu.org
>> [mailto:lwip-users-bounces+bauerbach=arrayonline@nongnu.org] On
>> Behalf Of Marco Jakobs
>> Sent: Thursday, July 15, 2010 3:10 PM
>> To: lwip-users@nongnu.org
>> S
ehalf Of Marco Jakobs
>Sent: Thursday, July 15, 2010 3:10 PM
>To: lwip-users@nongnu.org
>Subject: Re: [lwip-users] Windows 7 Startup crashes LwIP and Free RTOS
>
>Dear all,
>
>to finalize this with a status: After changing the EMAC initialization
>to non-promiscuous mo
Dear all,
to finalize this with a status: After changing the EMAC initialization
to non-promiscuous mode (MAC filtering enabled at EMAC level, broadcasts
enabled), the problem did not occur on all devices for a week now. Seems
to be solved (or better: avoided) with this setting.
Actually i c
Hi,
thanks David for the detailed explanation. But also interesting, as my
system communicates (at the moment) with only 3 other devices
permanently at least every 200ms (So these MACs are well known all the
time). It will send back to the PC after establishing the Telnet access
(i.e. for que
08, 2010 4:42 AM
Subject: Re: [lwip-users] Windows 7 Startup crashes LwIP and Free RTOS
Hi,
i have set up the discussed environment and have put it on my main network.
Of course it survived my first restart, but i have taken the IPStats after the
startup of my PC.
The only difference i
Hi,
i have set up the discussed environment and have put it on my main
network. Of course it survived my first restart, but i have taken the
IPStats after the startup of my PC.
The only difference i see after the PC startup is a high number of
errors in the "MEM ARP_QUEUE" ... whatever this
Hi,
sorry for the missing action last week ... i was pretty busy and had no
time for my project.
As i have a defined place running in when this happens (my watchdog
task), i'll put out the LwIP stats on the debug interface if this
happens. If i will catch it, i'll post the stats here.
Will
@nongnu.org] On Behalf
Of Marco Jakobs
Sent: Wednesday, June 30, 2010 2:30 AM
To: lwip-users@nongnu.org
Subject: Re: [lwip-users] Windows 7 Startup crashes LwIP and Free RTOS
Addendum:
Reviewing the effect, i've proved that all lower priorized tasks than
LwIP are not running anymore.
>I may try to disable my watchdog functions so i'll get no reset and
>maybe i can get in this state with the JTAG attached and debugger
>running.
Or make the watchdog unreasonably long for a test to see really if it's
hanging, or only 'getting stuck' somewhere a lot longer than you
anticipated.
B
Addendum:
Reviewing the effect, i've proved that all lower priorized tasks than
LwIP are not running anymore. These functions are completely frozen.
Higher priorized tasks like my watchdog task are still running fine. So
i'm really sure that LwIP somehow loops somewhere, not making a task
yie
Dear Kieran,
you may be right - with the debug function, the packets are still
arriving in that way, but the timing inside the stack differs and some
packets may be lost due to full buffers. So this is no way to get behind
the problem.
I may try to disable my watchdog functions so i'll get n
On 29 Jun 2010, at 17:45, Marco Jakobs wrote:
> Dear all,
>
> i can't get a LwIP debug log out of it. Enabling the debug output seems to
> alter the condition - on the debug enabled device it did not happen, but on
> the others. Debug output makes LwIP incredible slow when a bunch of packets
Pettinato, Jim wrote:
I don't see anything amiss... but I must admit I am not a FreeRTOS user so
probably not the best set of eyes to be performing code reviews.
Same for me here: there are some tiny things I would have done
differently, but I wouldn't suspect any of them leading to a reboot..
g] On Behalf Of
FreeRTOS Info
Sent: Tuesday, June 29, 2010 2:04 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Windows 7 Startup crashes LwIP and Free RTOS
On 29/06/2010 18:31, Marco Jakobs wrote:
> Hi Jim,
>
> here is an alternative to the dropbox, if you have some m
On 29/06/2010 18:31, Marco Jakobs wrote:
> Hi Jim,
>
> here is an alternative to the dropbox, if you have some minutes to look
> :-):
>
> http://www.majak.de/downloads/EMAC.zip
>
> Kind regards
> Marco
>
> Am 29.06.2010 19:08, schrieb Pettinato, Jim:
>> Unfortunately dropbox.com is blocked by t
Hi Jim,
here is an alternative to the dropbox, if you have some minutes to look :-):
http://www.majak.de/downloads/EMAC.zip
Kind regards
Marco
Am 29.06.2010 19:08, schrieb Pettinato, Jim:
Unfortunately dropbox.com is blocked by the corporate firewall here so I
haven't been able to review your
u.org
[mailto:lwip-users-bounces+jim.pettinato=fmcti@nongnu.org] On Behalf
Of Marco Jakobs
Sent: Tuesday, June 29, 2010 12:45 PM
To: lwip-users@nongnu.org
Subject: Re: [lwip-users] Windows 7 Startup crashes LwIP and Free RTOS
Dear all,
i can't get a LwIP debug log out of it. Enabling the debug ou
Dear all,
i can't get a LwIP debug log out of it. Enabling the debug output seems
to alter the condition - on the debug enabled device it did not happen,
but on the others. Debug output makes LwIP incredible slow when a bunch
of packets arrive (my Telnet server is nearly unuseable with the deb
Hi Simon,
i may modify my watchdog task to prevent it from rebooting the system
... but for now i'm running the debug log recorded and a wireshark trace
in parallel.
I will see exactly the point where it restarts as i have the exact time
in the protocol logger of my device, and also i'll see
Marco Jakobs wrote:
Wireshark is not what makes me headache about the size ... it's the
debug output of LwIP, recorded with the terminal program. This will
grow very fast, and the problem occurs not that often that i can
reproduce it. But i'll set this up ...
Can't you prevent your boards from
Hi Jim,
no problem, but if you (or someone) wants to have a look on it - thank
you very much! I've put the content of the \LwIP\port\EMAC directory in
a zip file here:
http://dl.dropbox.com/u/6370481/EMAC.zip
Wireshark is not what makes me headache about the size ... it's the
debug output o
e
capture files.
From: lwip-users-bounces+jim.pettinato=fmcti@nongnu.org
[mailto:lwip-users-bounces+jim.pettinato=fmcti@nongnu.org] On Behalf
Of Marco Jakobs
Sent: Thursday, June 24, 2010 1:00 PM
To: lwip-users@nongnu.org
Subject: Re: [lwip-users] Windows 7 Startup crashes LwIP and F
e 22, 2010 3:56 PM
*To:* lwip-users@nongnu.org
*Subject:* [lwip-users] Windows 7 Startup crashes LwIP and Free RTOS
Hi all,
i have noticed a really strange effect here. On my "home control
project" i actually have 4 devices with Free RTOS and LwIP 1.31
running. They are communicating to
On Wed, 2010-06-23 at 08:06 -0400, Pettinato, Jim wrote:
>
>
>
> I recommend that you 1) enable all the debug and statistics options in
> the lwIP stack; and 2) use Wireshark to capture the network traffic so
> when it happens again you can examine the actual activity that led to
> the reboots
[mailto:lwip-users-bounces+jim.pettinato=fmcti@nongnu.org] On Behalf
Of Marco Jakobs
Sent: Tuesday, June 22, 2010 3:56 PM
To: lwip-users@nongnu.org
Subject: [lwip-users] Windows 7 Startup crashes LwIP and Free RTOS
Hi all,
i have noticed a really strange effect here. On my "home control
proje
Sorry, meant LwIP 1.3.2, not 1.3.1
Am 22.06.2010 21:56, schrieb Marco Jakobs:
i have noticed a really strange effect here. On my "home control
project" i actually have 4 devices with Free RTOS and LwIP 1.31
running. They are communicating together over a Ethernet Switch, which
is also connecte
Hi all,
i have noticed a really strange effect here. On my "home control
project" i actually have 4 devices with Free RTOS and LwIP 1.31 running.
They are communicating together over a Ethernet Switch, which is also
connected to my home network. The system is running 24/7 in a test here
on my
36 matches
Mail list logo