Hello.
I am working on an embedded system using the PowerPC architecture.
I am trying to write down some values directly into the flash memory, in
a partition already reserved for that use.
I tried the following piece of code, but withou success... (I checked
the real values with a similar in_be32 piece of code and with BDI200
debug interface)
================
u32 memory_address, memory_value;
...
memory_address = 0xfff00000;
memory_value = memory_address;
out_be32((u32 *)memory_address, memory_value);
================
Does anyone knows how I can write directly into a specific flash memory
address?
Thank you in advance.
--
Sauro Salomoni
Engineer
Ztec
Phone: +55 61 322-2544 FAX:+55 61 224-7171
www.ztec.com.br
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/