Complete reset of a device, with all its contained flashes.
Syntax |
flashDiskClearDevice(string device, uint @nackx, uint gid=0): bol |
---|---|
device |
Name of the device to be zeroed |
nackx |
Reference to any extended NACK code, in case of error |
gid |
Identifier of the graphical percentage element, if any, to be used, which can be created with the addGauge() function |
Result |
Returns logical outcome of operation |
Annotation:
•Zeroing is supported only for compact type flashes and usually subject to explicit enablement.
•Flash erasure also implies the irretrievable loss of all its contents.
•The extended NACK code contains the actual NACK code in loWord(nackx) and any additional information in hiWord(nackx).