flashdisk erase before registering driver

Matthew J Fletcher amimjf at gmail.com
Thu Mar 14 13:49:01 UTC 2013


Hi,

When you rtems_io_register_driver() the flashdisk if the
BLANK_CHECK_BEFORE_WRITE flag is set it will check that the blocks are
0xff, which is sensible.

But if the flash is not all erased how can rtems erase it before the
flashdisk driver is registered ? i see there is an ioctrl() to erase the
disk but i guess that wont work prior to the flashdisk being registered.

-- 

regards
---
Matthew J Fletcher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130314/42d4abd3/attachment.html>


More information about the users mailing list