On Tue, 19 Nov 2019 11:44:17 -0800 (PST), in
gmane.comp.hardware.beagleboard.user
[email protected] wrote:
>
>In this case, I would opt to use an SD card to accomplish this. Would mmap
>or msync still be the best methods to do this?
>
Presuming a formatted file system... mmap (and periodic msync to force
memory to device -- how much "loss" can you absorb on a restart?) should be
somewhat simpler than regular file I/O operations. The mmap'd file will be
addressed as RAM storage -- so you can readily update single values in the
"array" of memory. File I/O requires tedious seek and write operations.
--
Dennis L Bieber
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/3dq8te5mk3gn3u6uraun09tuvigdd0nodt%404ax.com.