[En-Nut-Discussion] Ethernut 3.0 limits
Javier Longares
supertxaby at gmail.com
Mon Jan 25 10:10:41 CET 2010
Hello Ole,
Thanks for your feedback. Of course, as you said the problem is the RAM
overflow problem if a lot of PCs are looking for connections, but I think it
should be possible to check memory and accept new connection only if there
is available memory. So it could be interesting data about how much RAM
uses a TCP client connected to the board.
With respect to the ethernut my problem is that I've not found any
instructions about how it could be used to put my code in the non volatile
memory. Could anybody help or led me?
Best regards.
2010/1/21 Ole Reinhardt <ole.reinhardt at embedded-it.de>
> Hello,
>
> > I'm asking about the ethernut 3.0 limits and I don't know if you have
> tested
> > something about. For instance, how many PCs could be connected
> > simultaneously to sockets created by an ethernut? And more, how could be
> > possible to implement a solution for accept simultaneously connection
> > request of different PCs?
>
> I don't know if there were made such statistics, but perhaps you could
> tell us more about your application and we'll see if it could be
> possible with NutOS. At least NutOS is most limited by the amount of
> available ram space.
>
> To support multiple sockets created to the same port number you have to
> create multiple threads listening on the same port number. The easiest
> way ist to always create a new thread if another connection was yet
> established. But always keep in mind the amount of still available ram.
>
> I lately saw, that Harald implemented a connection backlog for listening
> tcp sockets. This could help a lot to not miss any connection request. I
> did not test is yet.
>
> > Moreover I've a problem because I don't how to use the turtlelizer and I
> > only can place my code in RAM, instead of ROM. I've read the tutorial but
> I
> > saw that there is nothing to place the code in ROM avoiding the use of
> the
> > Moonloader each time.
>
> You could either write your own bootloader which might get triggered
> from your application or any other way. At least you should try to use
> the turtelizer as it will help you a lot and even gives the possebility
> to debug in system over JTAG
>
> Regards,
>
> Ole
>
> --
>
> Thermotemp GmbH, Embedded-IT
>
> Embedded Hard-/ Software and Open Source Development,
> Integration and Consulting
>
> Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen -
> tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97
>
> Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
> Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
> Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
> Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>
More information about the En-Nut-Discussion
mailing list