Thread (44 messages) 44 messages, 12 authors, 2009-11-01

RE: Accessing flash directly from User Space

From: Jonathan Haws <hidden>
Date: 2009-10-27 20:15:17

quoted
How can I get that pointer?  Unfortunately I cannot simply use the
address of the flash.  Is there some magical function call that
gives me access to that portion of the memory space?
quoted
=20
$ man 2 mmap
=20
You want MAP_SHARED and O_SYNC.

To use that I need to have a file descriptor to a device, do I not?  Howeve=
r, I do not have a base flash driver to give me that file descriptor.  Am I=
 missing something with that call?

Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help