Erase the flash memory behind the device. It depends on the device given, what area will be erased. If the device represents the whole flash memory the whole memory will be erased. If the device represents a partition on a main flash memory, only this partition part will be erased.
Refer addpart, delpart and devinfo for partition handling.
1.5.6