Skip to contentSkip to conversation

User-space raw access of flash?

DISCUSSION Derek Ross 1 participant 1 message May 1, 2002 Memory technology devices (MTD)

lore
Share & tools
lore

Derek Ross

author
#0 lore raw

Hello,

Is is possible to directly access the flash memory from a user space application, by using writel and readl functions, or their userspace equivalents? (writel and readl don't appear to be available outside of kernel space).

Would mmap be a solution, or does that do caching on the data reads and writes?

My problem is that I need to do some real-time logging into a circular buffer in flash. This will require non-blocking erases, which are not possible with any of the MTD drivers.

Load-leveling will not be a problem here.

Thanks,

Derek Ross.