Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi mtmurphy,
There are a bunch of ways to do this. The easiest would probably be to use mtd and do direct access via the character mode driver (ie -- through the /dev/mtd inode). You would then be able to read/write and use ioctl for erasing. A step up from there would be to add jffs2 and just create-read-modify-write a file -- more kernel config here, but it doesn't get much easier from a programming point-of-view. Regards, --Scott