Marco,
99.9% of the time when there are problems like this (an issue
that seems to occur only under a heavy network load) it ends up that it is the Ethernet
driver that is at fault. Bottom line, in heavy traffic situations there is a
much greater likelihood that an area of the code that should be protected
against interrupts - but isn’t - actually gets hit with an interrupt within
that vulnerable location.
Hope that helps,
- Jim
From:
address@hidden [mailto:address@hidden
On Behalf Of Marco Jakobs
Sent: Friday, March 19, 2010 1:09 PM
To: Mailing list for lwIP users
Subject: [lwip-users] System crashes with heavy load while connected to
a hub
Hi all,
apart from my business i'm also doing a private project with LwIP at home, also
using a AT91SAM7X512 with FreeRTOS.
To debug my traffic with wireshark, i've connected a hub between my PC and my
network switch, my LwIP device is also connect. Because of this, my device will
get all the packets for my PC, too.
Making huge network traffic like loading big websites, getting files from my
server or something like this, regularily crashes my LwIP device. It got stuck
until my watchdog restarts it.
Does anybody have a hint why this may happen? I'll get no assert on the debug
interface - just a restart. Is it possible that all the traffic occupies the
CPU in a matter that the other tasks won't run for more than 5 seconds
(watchdog reset time)? I thought the "alien traffic" will be
discarded right after receiving it.
Any ideas are highly appreciated ;-)
Marco