Y
Yodai
Hi all,
I am programming an embbeded software on C and I need to allocate a certain
pointer to a memory position.... So far my program gets it's variables from
a certain memory position, say 0x200. At a certain moment an interrupt at
processor level inserts the variables into the memory where I will read...
So far so good. The problem is that my own program overwrites this data
sometimes by writting it's own enviroment variables. I would need a method
to either allocate memory staticly or "reserve" certain memory positions
from my ram so that my program cannot mess up with them on a dynamic memory
allocation....
Someone can give some light upon this?
Cheers!
I am programming an embbeded software on C and I need to allocate a certain
pointer to a memory position.... So far my program gets it's variables from
a certain memory position, say 0x200. At a certain moment an interrupt at
processor level inserts the variables into the memory where I will read...
So far so good. The problem is that my own program overwrites this data
sometimes by writting it's own enviroment variables. I would need a method
to either allocate memory staticly or "reserve" certain memory positions
from my ram so that my program cannot mess up with them on a dynamic memory
allocation....
Someone can give some light upon this?
Cheers!