lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #39651] FreeRTOS http server memory allocation problem


From: Svensen
Subject: [lwip-devel] [bug #39651] FreeRTOS http server memory allocation problem
Date: Fri, 02 Aug 2013 13:29:13 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?39651>

                 Summary: FreeRTOS http server memory allocation problem
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: svensen
            Submitted on: Птн 02 Авг 2013 13:29:12
                Category: sockets/netconn
                Severity: 3 - Normal
              Item Group: Crash Error
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: 1.4.0

    _______________________________________________________

Details:

Hi,

I try to develop http server.

I'm using Xilinx Zinq 7000 + FreeRTOS. Building Xilinx_bsp, i've configured
lwIP to use SOCKET_IP.

I've created http_server project according to this example
http://git.savannah.gnu.org/cgit/lwip/lwip-contrib.git/tree/apps/httpserver

Project compiled OK, but at runtime I've got an exeption at netconn_new(TCP) -
> netconn_alloc(t, callback) -> memp_malloc(MEMP_NETCONN). It cannot allocate
memory...

So I guess it's problem with my project or bsp configuration, not with source
code. But how to configure it's right ? Maybe someone could help me ?

Thanks.

P.S. the main function of my project:
int main( void )
{
        prvInitializeExceptions();

        http_server_netconn_init();
        
        vTaskStartScheduler();
        for( ;; );
}




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?39651>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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