[En-Nut-Discussion] protecting memory from NutOS

Harald Kipp harald.kipp at egnite.de
Mon Feb 27 10:05:32 CET 2006


Hello Thorsten,

Nut/OS, or better said, the compilers cannot handle fragmented
RAM by default. So this area is protected automatically.
You can, of course, access it via pointers.

On Ethernut 2 however, this memory is used. So I assume you
are talking about Ethernut 1, right?

Harald


At 06:07 27.02.2006 +0100, you wrote:
>Hi,
>
>I built a memory mapped device which occupies the addresses from 0xb000 to
>0xffff. So it lay "behind" the external memory of the Nut (AVR version).
>This ist no problem because it's a write-only display memory of an LED
>display.
>
>How can I protect that memory from being used by NutOS and how can I define
>an array that lies at that address range or maybe a pointer pointing to it?
>
>Thank you
>bye
>Thorsten




More information about the En-Nut-Discussion mailing list