Write on a mtd block device
I'm trying to write on a NAND flash memory using MTD block device but I don't understand everything. As I read here mtdblockN is the read only block device N mtdN is the read/write char device N mtdNro is the read only char device N But I'd like to directly write bytes to the partition using a simple write in C and I don't understand how it works (I read somewhre that I first must erase the sectors I want to write on). Which device should I use and how to write on this device? Reading and writing from/to memory technology devices isn't really all that different than any other type of IO, with