I have this version. I get the sources last week.

I think the problem is not lwIP but the i82559 driver for i386 target.

Does anyone has tried lwIP with i386 target and i82559 ethernet driver?

Each time the driver receives a packet, it crashes with:

ASSERT FAIL: <5>if_i82559.c [2008]PacketRxReady() No prev EL

or

ASSERT FAIL: <5>if_i82559.c[2370]i82559_can_send() send: Excess send
recursions


Michael


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Uwe Kindler
Sent: April 5, 2006 5:53 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [ECOS] RE: Trouble using lwIP (driver crash...)

You use an older version of the lwip eCos stack. The changelog of the 
actual lwip version contains more actual entries:

2006-03-26  Uwe Kindler <[EMAIL PROTECTED]>

        * Updated the complete lwIP source to the latest lwIP
        CVS version 1.1.1
        * src/ecos/init.c Added call to netif_set_up(netif) in
        function lwip_set_addr() - this is required since lwIP
        version 1.0.0
        * cdl/lwip_net.cdl Minor modifications for UDP configuration
        options. Renamed CYGNUM_LWIP_TCPIP_THREAD_PRIORITY to
        CYGNUM_LWIP_NETWORK_THREAD_PRIORITY and moved option outside
        CYGPKG_LWIP_TCPIP component because the network thread needs to
        run in all configurations.
        * tests/nc_slave.c
        * tests/tcpecho.c
        * tests/udpecho.c
        * tests/sockets.c
        * tests/httpd.c Added eCos test infrastructure to tests and
        made tests applicable depending on lwip configuration.

2006-03-15  Andrew Lunn  <[EMAIL PROTECTED]>

        * tests/nc_test_slave.c (nc_slave): Fix some of the compiler
        warnings.

2006-03-13  Uwe Kindler <[EMAIL PROTECTED]>

        * cdl/lwip_net.cdl Changed default value of
        CYGNUM_LWIP_MEMP_NUM_SYS_TIMEOUT (required for DHCP).
        Replaced CYGPKG_LWIP_DHCP_OPTIONS with CYGPKG_LWIP_DHCP
        and add CYGOPT_LWIP_DHCP_MANAGEMENT for automatic DHCP
        management.
        * include/lwip/ip_addr.h Add macro ip_addr_netcmp()
        (copied from lwIP CVS).
        * include/netif/etharp.h Updated file to version of
        lwIP CVS.
        * src/ecos/init.c Add include <pkgconf/net_lwip.h>
        Add lwip_dhcp_fine_tmr() and lwip_dhcp_coarse_tmr()
        for DHCP processing.
        Change tcpip_init_done() to start DHCP timers and
        ARP timer.
        Changed lwip_set_addr() to properly setup IP adress
        if DHCP is used.
        Added lwip_dhcp_init() for start of DHCP client.
        Removed start of ARP timer from ecosclue_init().
        * src/netif/etharp.c Updated file to version of
        lwIP CVS.
        
2006-03-02  Andrew Lunn  <[EMAIL PROTECTED]>

        * cdl/lwip_net.cdl: Add the interfaces CYGPKG_NET_STACK,
        CYGPKG_NET_STACK_INET and CYGPKG_NET_STACK_INET6 and say that we
        implement a network stack and an IPv4 stack. Without these
interfaces
        some of the Ethernet device drivers won't be compiled.

2006-02-24  Uwe Kindler <[EMAIL PROTECTED]>

        * cdl/lwip_net.cdl: Changed names of configuration options
        according to eCos configuration option naming convention in
        component writers guide.
        * include/lwipopts.h: Changed mapping of eCos configuration
        parameters to lwip configuration parameters. The mapping
        was wrong because it expected a disabled eCos configuration
        option is defined as 0 but a disabled eCos configuration option
        is not defined.
        * include/lwip/api.h Enumeration values of netconn_type are
        defined conditional now to avoid compiler warnings if these
        values are not evaluated in a switch statement.
        * src/api/api_lib.c Compilation of code in several switch
        statements is now conditional depending on configured
        functionality.
        * src/api/sockets.c Compilation of some code is now conditional
        depending on configured functionality.
        * src/ecos/init.c Changed initialisation values to match the
        new configuration option names.

 > compare your file  eCos\packages\net\lwip_tcpip\current\ChangeLog
 > with my changeLog. I advise you to update the ecos sources (LWIP
 > packages) if your changelog is different to mine.


Uwe Kindler
Software Engineering

--

cetoni GmbH
Am Wiesenring 6
D-07554 Korbussen

Tel.: +49 (0) 36602 338 28
Fax:  +49 (0) 36602 338 11
[EMAIL PROTECTED]
www.cetoni.de

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to