[En-Nut-Discussion] RAM usage for NUT/OS (Re-sending)

D T drt80_forum at yahoo.com
Mon May 19 16:28:00 CEST 2008


Thanks for your reply.
I now have a clearer picture.

I have looked at the uip and lwip stacks, I think I might use one of them for now.

But, can you estimate how much will it take to port NUT/OS on AVR32?
I am thinking of working on this port in my free time. It should be a good exercise learning about the RTOS and know some details about the TCP/IP stack imlpementation.

Thanks,
drt



--- On Mon, 5/19/08, Ole Reinhardt <ole.reinhardt at embedded-it.de> wrote:

> From: Ole Reinhardt <ole.reinhardt at embedded-it.de>
> Subject: Re: [En-Nut-Discussion] RAM usage for NUT/OS (Re-sending)
> To: drt80_forum at yahoo.com, "Ethernut User Chat (English)" <en-nut-discussion at egnite.de>
> Date: Monday, May 19, 2008, 7:49 AM
> Hi,
> 
> > I have an upcoming project based on AVR32. The project
> will have TCP/IP stack along with other features.
> 
> AFAIK there currently is no port of NutOS / NutNet for the
> AVR32
> platform available. But feel free to do this task :)
> 
> > I need to incorporate a TCP/IP stack and Nut/Net seems
> to be a good
> >  choice right now. I would be using TCP, UDP and HTTP.
> The code size
> >  will not be an issue (have plenty), but have a
> limited amount of RAM
> >  of 64K. With all the applications in the project the
> around 25K RAM
> >  will be left for TCPIP.
> 
> Yes, 25K should be sufficient for TCP/IP using NutNet. I
> can't give you
> a correct value of what will be needed as this depends much
> on the
> network driver you use (does your network controller has
> it's own packet
> buffer or do you need to use system ram) and the variable
> sizes in your
> system (32 bit I expect?). So all in all it should be
> comparable with
> the ram usage an the arm plattform. I even have no value
> for that
> platform, but I'm shure harald can give you some memory
> usage
> statistics.
> 
> > The project does not require a RTOS. Is it required to
> use NUT/OS to
> >  use the TCPIP stack? Is the stack single threaded?
> 
> If you don't want to use any RTOS at all, you should
> better take a look
> on lwip or uip for example. 
> 
> http://www.sics.se/~adam/uip/index.php/Main_Page
> http://www.sics.se/~adam/lwip/links.html
> 
> NutNet is not single threaded and at least needs a running
> NutOs kernel.
> 
> Regards,
> 
> Ole Reinhardt
> 
> -- 
> 
> _____________________________________________________________
> |                                                          
>   |
> | Embedded-IT          Hard- und Softwarelösungen         
>    |
> |                                                          
>   |
> | Ole Reinhardt        Tel. / Fax:        +49 (0)271 
> 7420433 |
> | Luisenstraße 29      Mobil:             +49 (0)177 
> 7420433 |
> | 57076 Siegen         eMail:   
> ole.reinhardt at embedded-it.de |
> | Germany              Web:        
> http://www.embedded-it.de |
> |                      UstID / VAT:       DE198944716      
>   |
> |_____________________________________________________________|


      




More information about the En-Nut-Discussion mailing list