No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
erase

erase

Function

The erase command is used to erase specified blocks in the flash memory.

Format

erase

Parameters

None

Modes

serial port mode

Usage Guidelines

  • The "erase start end" command is used to erase the flash memory from the start address to the end address.
  • The "erase start +len" command is used to erase a length of flash memory from the start address.
  • The "erase N:SF[-SL]" command is used to erase blocks based on the bank ID and sector ID. "N" indicates the flash memory bank ID, "SF" indicates the ID of the start sector to be erased, and "SL" indicates the ID of the end sector to be erased.
  • The "erase bank N" command is used to erase a certain flash bank. "N" indicates the flash memory bank ID.
  • The "erase <part-id>" command is used to erase a certain flash part. "id" indicates the flash memory partiton ID.
  • The "erase all" command is used to erase all flash banks.

Example

Erase the specified blocks in the flash memory.

Hi1710_UBOOT> erase 46200000 47ffffff                                                                                                

.................................................................................................................................... 
............................................................................................................ done                    
Erased 240 sectors

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181602

Views: 661183

Downloads: 56

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next