lwip-users
[Top][All Lists]
Advanced

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

RE: [lwip-users] Reg: data transfer to FTP site with GPRS modem


From: Nandakumar KS
Subject: RE: [lwip-users] Reg: data transfer to FTP site with GPRS modem
Date: Fri, 14 Sep 2007 11:21:48 +0530

Hi,

 

I am allocating 1Mbytes of memory and passing it to init_stack.

The following are the observed values

            ADI_TOOLS_ram_len                 0x00010010

ADI_TOOLS_memp_len              0x00001e10

MEM_SIZE                                (64*1024)

 

 


From: address@hidden [mailto:address@hidden On Behalf Of S. Ali Tokmen
Sent: Thursday, September 13, 2007 10:25 PM
To: address@hidden; Mailing list for lwIP users
Subject: Re: [lwip-users] Reg: data transfer to FTP site with GPRS modem

 

Hello

 

Are you sure lwIP is provided with enough memory? In Ethernet mode I know there are two places where you supply memory:

  • The ADI_ETHER_CMD_SUPPLY_MEM configuration call
  • init_stack's third parameter

Normally a junk value indicates that some buffer got overflowed. Perhaps you can also check if VDK has enough semaphores allocated.

 

I think it's an overflow issue.


S. Ali Tokmen
http://ali.tokmen.com

 

GSM (fr): +33 66 43 00 555 [Bouygues Telecom]
GSM (tr): +90 555 266 52 73 [Avea]

 

My AIM, ICQ, MSN Messenger, and Yahoo IM
contact details are on http://contact.ali.tokmen.com/

 

 

----- Original Message -----

Sent: Thursday, September 13, 2007 12:54 PM

Subject: RE: [lwip-users] Reg: data transfer to FTP site with GPRS modem

 

Hi,

 

This is continuation of my previous post.

 

What I observed is, after 26packtes, lwip_cheksum function is called. Inside this function, pbuf’s next pointer is taken, but this next pointer is pointing to some junk value (either corrupted or not initiliazed), so it goes to exception handler.

 

Can you plz suggest any method, to further debug this issue.

 

Regards

Nandakumar KS


reply via email to

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