Skip to main content

Module writer

Module writer 

Structsยง

Writer
Writer over the good blocks of an MTD device.

Constantsยง

VERIFY_CHUNK ๐Ÿ”’
Bytes that the writer reads back at once to verify a block. Tests use several chunks per block.

Functionsยง

erase_from ๐Ÿ”’
Erases all good blocks from physical block start on.
program ๐Ÿ”’
Writes data to the first good block at or after next.
write_verified ๐Ÿ”’