Device Erase Commands#
Erase Chip#
Executes a mass erase for devices where it is supported. On EFM32G and EFM32TG, all pages are erased instead, which is significantly slower.
Command Line Syntax
$ commander device masseraseCommand Line Usage Output
Erasing chip...
DONEErase Region#
Erases a named region. For more information on the --region option, see Flash Verification Command.
Command Line Syntax
$ commander device pageerase --region <@region>Command Line Input Example
$ commander device pageerase --region @userdataCommand Line Output Example
Erasing range 0x0fe00000 - 0x0fe00800
DONEErase Pages in Address Range#
Erases all flash pages affected by the given memory range. If the given range doesn't match page boundaries, it will be extended to always erase entire pages.
Command Line Syntax
$ commander device pageerase --range <startaddress>:<endaddress>Command Line Input Example
$ commander device pageerase --range 0x200:0x6000Erases all flash pages 0 to 11 or 0x0000 to 0x5FFF (assuming a page size of 2 kB).
Command Line Output Example
Erasing range 0x00000000 - 0x00006000
DONE