lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Please Help Stack problem


From: NGB
Subject: [lwip-users] Please Help Stack problem
Date: Tue, 11 Mar 2003 12:13:27 +1100
User-agent: Internet Messaging Program (IMP) 3.1

Hi 

I am using the stack with a RTL8019AS chip, the driver was ported from another 
application so I know it works.
I try to ping the stack and it works but after a few pings it dies. Sometimes I 
can get it to work again but I often have to reset the board for it to work.
I am using V0.6 RC1 of the stack

This is my init code:

        sys_init();
        mem_init();
        memp_init();
        pbuf_init(); 
        netif_init();

        IP4_ADDR(&gw, 10,10,10,1);
        IP4_ADDR(&ipaddr, 10,10,10,18);
        IP4_ADDR(&netmask, 255,255,255,0);

        netif = netif_add(&ipaddr, &netmask, &gw, rtl8019if_init, ip_input);

        netif_set_default(netif);

        tcpip_init(0,0);


In my loop I call this every 30 ms

 rtl8019_wait(); // polls NIC for data RX IRQ
 tcp_tmr();


Thanks

Nic

-------------------------------------------------





reply via email to

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