[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Porting/memory/connect issues
From: |
Hampus Thorell |
Subject: |
[lwip-users] Porting/memory/connect issues |
Date: |
Wed, 21 Jun 2006 11:40:40 +0200 |
User-agent: |
Thunderbird 1.5 (Windows/20051201) |
Hello!
I am trying to port LwIP to a Xilinx v2p system with an external mac and
no external memory. I have basically used the echoserver on Xilinx homepage.
I have managed to get the server up and running and I can ping it.
However I can't seem to get an echo client to connect to it. When using
the LwIP debug switch I get the following errors during startup:
"sys_sem_new: Error -- Out of semaphore resources" - This error message
repeats itself three times
Then I get the following error message:
"memp_malloc: out of memory in pool 10"
This message also appears when trying to connect with the echo-client.
It then looks like this:
******************************************************************************
tcpip_thread: IP packet
ip_input: iphdr->dest 0x96E320F1 netif->ip_addr 0x96E320F1 (0x96E30000,
0x96E30000, 0x20F1)
ip_input: packet accepted on interface e0
ip_input:
IP header:
+-------------------------------+
| 4 | 5 | 0x00 | | (v, hl, tos, len)
+-------------------------------+
| || | (id, flags, offset)
+-------------------------------+
| | | 0x0080 | (ttl, proto, chksum)
+-------------------------------+
| 150 | 227 | 32 | 187 | (src)
+-------------------------------+
| 150 | 227 | 32 | 241 | (dest)
+-------------------------------+
ip_input: p->len 48 p->tot_len 48
TCP header:
+-------------------------------+
| | | (src port, dest port)
+-------------------------------+
| | (seq no)
+-------------------------------+
| | (ack no)
+-------------------------------+
| | || | (hdrlen, flags (SYNpbuf_alloc(length=) ), win)
+-------------------------------+
| 0xFC3F | | (chksum, urgp)
+-------------------------------
pbuf_alloc: allocated pbuf
pbuf_alloc(length=) ==
pbuf_header: old new (-106608)
+
pbuf_header: old new (-111250)
pbuf_header: old new (-111230)
tcp_input: packed for LISTENing connection.
TCP connection request -> .
memp_malloc: out of memory in pool 10
******************************************************************************
Does anyone know if this is the reason I can't connect with the client
and possibly how it can be solved?
Best regards,
Hampus
- [lwip-users] Porting/memory/connect issues,
Hampus Thorell <=