[En-Nut-Discussion] RAM usage for NUT/OS (Re-sending)
Ole Reinhardt
ole.reinhardt at embedded-it.de
Mon May 19 09:49:53 CEST 2008
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