AnsweredAssumed Answered

lwip and SDRAM memory

Question asked by matilda on Feb 16, 2012
Latest reply on Feb 22, 2012 by CraigG


Im using BF548 with visual dsp 5.0 update 9.

I use the lwip and when I allocate a static buffer in the sdram bank0 I get fatal exception. (till now I didn't use the sdram)

When this buffer is allocated in the internal memory everything is ok.

I see that the memp allocation returns addresses in the sdram bank0 (for example 0xb68 is received when calling tcp_new())

and so my buffer overwrites the memory pool.

My question: I can I know exactly which memory area is used by the lwip and I can I "mark" the application not to use this memory?

Thanks a lot