[En-Nut-Discussion] Problem to create an UDP socket

Harald Kipp harald.kipp at egnite.de
Mon Jul 4 11:51:36 CEST 2005


Julien,

You can do two things:

1. Check available memory with NutHeapAvailable()
2. Look into the map file

If you're using ICC, make sure to enable external
memory. Follow
http://www.ethernut.de/pdf/enswm23e.pdf

Harald

At 11:25 04.07.2005 +0200, you wrote:
>Hi everybody,
>
>When i create an UDP socket (using NutUdpCreateSocket() ), the return data 
>gives me a 0. It means  there is not enough memory left. Nevertheless, the 
>initiazation part, with those 
>functions(NutRegisterDevice(),NutRegisterDevice(),NutNetIfConfig()), is ok.
>Does anyone have an idea?
>Thank you.
>
>
>--




More information about the En-Nut-Discussion mailing list