From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1761 invoked by alias); 28 May 2012 08:29:55 -0000 Received: (qmail 1713 invoked by uid 22791); 28 May 2012 08:29:54 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_HOSTKARMA_YE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 May 2012 08:29:41 +0000 Received: from telerig.nabble.com ([192.168.236.162]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SYvKe-0003ss-Uz for ecos-discuss@ecos.sourceware.org; Mon, 28 May 2012 01:29:40 -0700 Message-ID: <33918491.post@talk.nabble.com> Date: Mon, 28 May 2012 08:29:00 -0000 From: Fred39 To: ecos-discuss@ecos.sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Using Lwip 1.3.2 port of Ecos 3.0 on Ecos 2.0 X-SW-Source: 2012-05/txt/msg00022.txt.bz2 Hello everyone we are using Ecos 2.0 on a At91rm9200 Chip. The only reason we use Ecos 2.0 is that the template what we have for this controller only works with the 2.0 version of Ecos. So we are trying to get the lwip port of ecos 3.0 work on the ecos 2.0. The lwip stack for the ecos 2.0 is version 0.7 I guess and its very old. We can ping to our device which is a great accomplishment :) But we want to use the new lwip stack 1.3.2 but there is only a port for ecos 3.0. I tried to use the newer LWIP 1.3.2 stack with the port for ecos 3.0 on Ecos 2.0 but it doesn=E2=80=99t work. What happens is that the function tcpip_in= it_done never returns and the lwip stack does not initialize. With the old LWIP stack i tried the tcpecho example but i get a connection error "not possible to connect to port 23"=20 Examples which are using the raw api are working fine, but examples which are using the netconn or socket api are not running. I guess it=E2=80=99s b= ecause the stack is a very old one. Thats one of the main reasons why we want to use the newer lwip stack 1.3.2 and also this newer version supports more network protocols. So my Question is how can i use the Ecos 3.0 port of the LWIP stack 1.3.2 on our Ecos 2.0 version. Just replacing the old lwip stack with the newer one and replacing the eth_drv.c of ecos 2.0 with the eth_drv.c of the ecos 3.0 ?=20 Where can i start to change the code to use the newer port on ecos 2.0 ? What have to be considered? Is it even possible to do that? Would be really thankful of any advice Regards --=20 View this message in context: http://old.nabble.com/Using-Lwip-1.3.2-port-o= f-Ecos-3.0-on-Ecos-2.0-tp33918491p33918491.html Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss