[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Problem with lwip 1.3.2
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] Problem with lwip 1.3.2 |
Date: |
Tue, 13 Sep 2011 08:22:02 +0200 |
Magnus S <address@hidden> wrote:
> I use Atmel AVR32 Studio version 2.6.0
OK, got it.
> In our case, we started with an lwip 1.3.0 sample. When 1.3.2 was
> released,
> we upgraded manually, instead of using the Atmel 1.3.2 example.
Well, there seems to be a problem in the 1.3.0 driver (C:\Program
Files\Atmel\AVR Tools\AVR32
Studio\plugins\com.atmel.avr32.sf.uc3_1.7.0.201009140900\framework\1.7.0-AT32UC3\SERVICES\LWIP\lwip-port-1.3.0\AT32UC3A\netif\ethernetif.c)
that has been fixed in the 1.3.2 driver:
ethernetif_input() should call "netif->input(p)" (which correctly obeys lwIP
threading requirements) instead of calling "ethernet_intput(p)" (which violates
threading requirements when called in multithreading configurations).
Also, you should pass "tcpip_input" as last parameter to "netif_add()" when
using multithreading (NO_SYS defined to 0) and "ethernet_input" if NO_SYS is
defined to 1.
Hope that helps.
> Can you send a link to the possible fix? I did not find the right
> information when i searched.
No, there was no link on the page I found.
Simon
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
- [lwip-users] Problem with lwip 1.3.2, Magnus S, 2011/09/12
- Re: [lwip-users] Problem with lwip 1.3.2, FreeRTOS Info, 2011/09/12
- Re: [lwip-users] Problem with lwip 1.3.2, Magnus S, 2011/09/12
- Re: [lwip-users] Problem with lwip 1.3.2, Simon Goldschmidt, 2011/09/12
- Re: [lwip-users] Problem with lwip 1.3.2, Magnus S, 2011/09/12
- Re: [lwip-users] Problem with lwip 1.3.2,
Simon Goldschmidt <=
- Re: [lwip-users] Problem with lwip 1.3.2, Magnus S, 2011/09/26
- Re: [lwip-users] Problem with lwip 1.3.2, Kieran Mansley, 2011/09/26
- Re: [lwip-users] Problem with lwip 1.3.2, address@hidden, 2011/09/26