Content originally posted in LPCWare by SeleneSW on Mon Jun 25 01:33:58 MST 2012
Hi,
good news, the demo program is still running after the week-end!
tamirmichael,
I'm using the tcpecho_freertos demo integrated in my own project and running on a proprietary board.
I started from the new sources posted by Kevin (http://sw.lpcware.com/?p=lwip_lpc.git&a=summary)
and modified them as indicated.
lwipopts.h:
#define PBUF_POOL_SIZE 256
#define MEM_SIZE (4096*1024)
lpc_emac_config.h:
#define LPC_NUM_BUFF_RXDESCS 128
#define LPC_NUM_BUFF_TXDESCS 128
Then I created a new DRAM section called LWIP_RAM modifying my linker script file.
Last, I modified some variable declarations in LwIP to force their allocation in the
new section (see attachments).
After that the program started to function correctly, but now I am a little bit confused:
if over 4MB of memory are needed to perform a simple echo function, can we call it
"Light Weight IP" ?