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
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 <p>" 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