lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwip memory on a xilinx ml403 dev board


From: Bertrik Sikken
Subject: Re: [lwip-users] lwip memory on a xilinx ml403 dev board
Date: Tue, 04 Oct 2005 20:54:29 +0200
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

kyle treleaven wrote:
> Hi all,
> 
> I'm trying to use the Xilinx-provided port of lwIP on a PPC405
> (embedded) running the "standalone" OS-- ie. no OS.  I'm using the raw
> API, and I've simply compiled a bit of tutorial code (a small echo
> server) provided in an appnote by Xilinx-- I'm sure a lot of people
> have run the same drill.  But for some reason my compiles keep running
> up in the 800K range, which is way way way too big for my poor little
> fpga.  Plus it seems ridiculous when compared to the "tens of
> kilobytes" that everybody else claims on other platforms.  My mem/memp
> settings are (the defaults):
> 
> MEM_SIZE: 8192
> MEMP_NUM_PBUF: 16
> MEMP_NUM_UDP_PCB: 5
> MEMP_NUM_TCP_PCB: 5
> MEMP_NUM_TCP_PCB_LISTEN: 5
> MEMP_NUM_TCP_SEG: 255
> 
> I'm under the impression that these are the only settings that matter
> for raw api use.
> 
> Has anybody else had this problem? Anybody know what's going on?

What kind of executable are you compiling?
(is it an executable? or is it some kind of ROM image, or FPGA image?)

If possible, try to convince the linker to create a map file for you.
The map file should tell you exactly where the memory is going.

All the best,
Bertrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDQs/lETD6mlrWxPURAle1AJ4ney8Nqo2f5FBZjr1dxqnBchVKIwCeOrzC
px/QzvbpxQtTN5ANMMplLA4=
=C/sf
-----END PGP SIGNATURE-----




reply via email to

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