[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] How can I use "lwip" to build up a tcp-client?
From: |
Sathya Thammanur |
Subject: |
Re: [lwip-users] How can I use "lwip" to build up a tcp-client? |
Date: |
Mon, 22 Aug 2005 14:00:12 -0700 |
Hi Daniel,
If you look at ppc405_0/libsrc/lwip_v2_00_a/src/logs file this will
tell you the exact error. This looks more like an issue with
compilation. Send me the error that you see in this file and I can
tell you what is going on.
Sathya
On 8/22/05, Daniel Klingler <address@hidden> wrote:
>
>
> Hi Alberto!
>
>
>
> Thank you for your answer!
>
>
>
> I used the version 1.0, but now I changed it to 2.0 then the compiler gives
> me an error (see below). Perhaps you will know which reason it produces.
> Still now I don't know how can I handle this.
>
>
>
>
>
>
>
> ********************************
>
> Building lwIP library
>
> ********************************
>
>
>
> Processor: ppc405_0
>
> ERROR:MDT - ERROR FROM TCL:- lwip () - child process exited abnormally
>
> while executing
>
> "exec bash -c "cd src;make all >& logs""
>
> (procedure "::sw_lwip_v2_00_a::execs_generate" line
> 42)
>
> invoked from within
>
> "::sw_lwip_v2_00_a::execs_generate 39388956"
>
> ERROR:MDT - Error while running "execs_generate" for processor ppc405_0...
>
> make: *** [ppc405_0/lib/libxil.a] Error 2
>
> Done.
>
>
>
>
>
> Regards
>
> Daniel
>
>
> ---------------------------------
> TES Electronic Engineering GmbH
> Daniel Klingler, Dipl.-Ing.
> Consultant Digital Design
>
> Zettachring 8
> 70567 Stuttgart
> Tel.: 0711/7287 7450
> Fax: 0711/7287 7451
> address@hidden
> www.tesbv.com
> ---------------------------------
>
>
> -----Ursprüngliche Nachricht-----
> Von:
> address@hidden
> [mailto:address@hidden
> Im Auftrag von Alberto Martin-Ortega
> Gesendet: Montag, 22. August 2005 10:10
> An: Mailing list for lwIP users
> Betreff: Re: AW: [lwip-users] How can I use "lwip" to build up a tcp-client?
>
>
>
>
> Hi Daniel,
> The echo server you are using works with the raw api and not with the
> socket one. Therefore you are probably on a standalone environment, without
> any operative system. You can find info about the raw api on your project
> directory, it will be something like this:
> ..\ppc405_0\libsrc\lwip_v2_00_a\src\lwip\doc -> rawapi.txt
> Here you can find some good info about what functions you are going to need
> to build your tcp client application.
> The truth is that I have not implemented any tcp-client app, however I have
> two tcp-servers and a udp-client running altogether in one PPC inside a
> Virtex2p7.
> By the way, are you using lwip 2.0 or 1.0? If you are using lwip 1.0 I
> strongly recommend you to use lwip 2.0 if you can. It has a lot of errors
> corrected.
> You could check this and read rawapi.txt if you havent already, and then we
> could see how to build this tcp-client app. Can you send what you are doing
> in the one it is not working? Maybe we can figure out what is wrong on it.
> Good luck Daniel..
>
> Alberto.
>
>
> ----------------------------------------
> Alberto Martin-Ortega
> Hardware Engineer
> IFARA TECNOLOGIAS S.L.
> Tls: +34 914.904.060 -- +34 687.807.159
> Fax: +34 916.614.515
> Email: address@hidden
> ----------------------------------------
>
>
>
>
> Daniel Klingler wrote:
>
> Hi Alberto, thank you for your quick answer!
>
>
>
> We use tcp. We had set up all the others with tcp and now we won't change it
> to udp.
>
>
>
> I thing we are using Socktes. For the server we used the example from
> Xilinx, like below:
>
>
>
> - bind server to a specified port:
>
> pcb = tcp_new();
>
> tcp_bind(pcb, IP_ADDR_ANY, FREQ_CHANGE_PORT);
>
> pcb = tcp_listen(pcb);
>
> tcp_accept(pcb, freq_change_accept);
>
>
>
> - accept a client to communicate:
>
> tcp_recv(pcb, freq_change_recv);
>
> tcp_err(pcb, freq_change_err);
>
> tcp_poll(pcb, freq_change_poll, 1);
>
>
>
> Now I will set up a client in the PPC on the Xilinx FPGA. I will set up on
> the same PPC a client and a server. They shall work independent.
>
> I hope you can help me more.
>
>
>
> Regards
>
> Daniel
>
>
> ---------------------------------
> TES Electronic Engineering GmbH
> Daniel Klingler, Dipl.-Ing.
> Consultant Digital Design
>
> Zettachring 8
> 70567 Stuttgart
> Tel.: 0711/7287 7450
> Fax: 0711/7287 7451
> address@hidden
> www.tesbv.com
> ---------------------------------
>
>
> -----Ursprüngliche Nachricht-----
> Von:
> address@hidden
> [mailto:address@hidden
> Im Auftrag von Alberto Martin-Ortega
> Gesendet: Freitag, 19. August 2005 12:47
> An: Mailing list for lwIP users
> Betreff: Re: [lwip-users] How can I use "lwip" to build up a tcp-client?
>
>
>
> Hi Daniel, there are some things that you have to do before using LwIP on
> PPC405.
> - Are you using the RAW API or the Sockets API? If you are using sockets
> you should know that are going to need the XilKernel up in order to have
> multithreading. However, if you want to use the RAW API, you wont need any
> OS, so you will work standalone system.
> - Do you want a tcp or an udp client? TCP has more needs as, timers and
> some calls to other funtions. UDP is much more easier.
>
> Give me some more feedback about this things and I will help you through
> this tedius (not much) duty.
> Regards
>
> Alberto.----------------------------------------
> Alberto Martin-Ortega
> Hardware Engineer
> IFARA TECNOLOGIAS S.L.
> Tls: +34 914.904.060 -- +34 687.807.159
> Fax: +34 916.614.515
> Email: address@hidden
> ----------------------------------------
>
>
________________________________
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>
>
- [lwip-users] How can I use "lwip" to build up a tcp-client?, Daniel Klingler, 2005/08/19
- Re: [lwip-users] How can I use "lwip" to build up a tcp-client?, Alberto Martin-Ortega, 2005/08/19
- AW: [lwip-users] How can I use "lwip" to build up a tcp-client?, Daniel Klingler, 2005/08/19
- Re: [lwip-users] How can I use "lwip" to build up a tcp-client?,
Sathya Thammanur <=
- AW: [lwip-users] How can I use "lwip" to build up a tcp-client?, Daniel Klingler, 2005/08/23
- [lwip-users] LWIP 1.1.0 stability issue, Kjell-Erik Klevan, 2005/08/23
- Re: [lwip-users] LWIP 1.1.0 stability issue, Jim Gibbons, 2005/08/23
- RE: [lwip-users] LWIP 1.1.0 stability issue, Kjell-Erik Klevan, 2005/08/24
- Re: [lwip-users] LWIP 1.1.0 stability issue, Jim Gibbons, 2005/08/23
- RE: [lwip-users] How can I use "lwip" to build up a tcp-client?, Steve Chinatti, 2005/08/23
- Re: [lwip-users] How can I use "lwip" to build up a tcp-client?, Alberto Martin-Ortega, 2005/08/23
- Re: [lwip-users] How can I use "lwip" to build up a tcp-client?, Sathya Thammanur, 2005/08/23
- AW: [lwip-users] How can I use "lwip" to build up a tcp-client?, Daniel Klingler, 2005/08/24